mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 20:17:16 -04:00
51 lines
1,012 B
YAML
51 lines
1,012 B
YAML
version: '2'
|
|
|
|
services:
|
|
|
|
wekandb:
|
|
image: mongo:3.2.17
|
|
container_name: wekan-db
|
|
restart: always
|
|
command: mongod --smallfiles --oplogSize 128
|
|
networks:
|
|
- wekan-tier
|
|
expose:
|
|
- 27017
|
|
volumes:
|
|
- wekan-db:/data/db
|
|
- wekan-db-dump:/dump
|
|
|
|
wekan:
|
|
image: wekanteam/wekan:latest
|
|
container_name: wekan-app
|
|
restart: always
|
|
networks:
|
|
- wekan-tier
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
- NODE_VERSION=${NODE_VERSION}
|
|
- METEOR_RELEASE=${METEOR_RELEASE}
|
|
- NPM_VERSION=${NPM_VERSION}
|
|
- ARCHITECTURE=${ARCHITECTURE}
|
|
- SRC_PATH=${SRC_PATH}
|
|
- METEOR_EDGE=${METEOR_EDGE}
|
|
- USE_EDGE=${USE_EDGE}
|
|
ports:
|
|
- 80:80
|
|
environment:
|
|
- MONGO_URL=mongodb://wekandb:27017/wekan
|
|
- ROOT_URL=http://localhost
|
|
depends_on:
|
|
- wekandb
|
|
|
|
volumes:
|
|
wekan-db:
|
|
driver: local
|
|
wekan-db-dump:
|
|
driver: local
|
|
|
|
networks:
|
|
wekan-tier:
|
|
driver: bridge
|