Commit 26d94dc0 authored by dheninli's avatar dheninli
Browse files

update docker-compose.yml

Still doesn't work with traefik
parent 042f4887
......@@ -2,39 +2,30 @@ version: '2'
services:
wekandb:
image: mongo:4.0.4
container_name: wekan-db
image: registry.picasoft.net:5000/mongo:3.2.21
restart: always
container_name: wekan-db
command: mongod --smallfiles --oplogSize 128
networks:
- wekan-tier
expose:
- 27017
volumes:
- wekan-db:/data/db
- wekan-db-dump:/dump
- /DATA/docker/wekan-db:/data/db
- /DATA/docker/wekan-db-dump:/dump
wekan:
image: wekanteam/wekan:meteor-1.8
ports:
- 8080:8080
labels:
- "traefik.frontend.rule=Host:wekan.test.picasoft.net"
- "traefik.port=80"
- "traefik.enable=true"
image: registry.picasoft.net:5000/wekan:master
container_name: wekan-app
restart: always
networks:
- wekan-tier
ports:
- 80:8080
links:
- wekandb:wekandb
environment:
- MONGO_URL=mongodb://wekandb:27017/wekan
- ROOT_URL=http://localhost
- ROOT_URL=https://wekan.test.picasoft.net
depends_on:
- wekandb
volumes:
wekan-db:
driver: local
wekan-db-dump:
driver: local
networks:
wekan-tier:
driver: bridge
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment