mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
version: '3.7'
|
|
|
|
services:
|
|
|
|
wekandb-dev:
|
|
image: mongo:6
|
|
container_name: wekan-dev-db
|
|
restart: unless-stopped
|
|
command: mongod --oplogSize 128
|
|
networks:
|
|
- wekan-dev-tier
|
|
expose:
|
|
- 27017
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- ./volumes/wekan-db:/data/db
|
|
- ./volumes/wekan-db-dump:/dump
|
|
|
|
wekan-dev:
|
|
container_name: wekan-dev-app
|
|
restart: always
|
|
networks:
|
|
- wekan-dev-tier
|
|
build:
|
|
context: ..
|
|
dockerfile: .devcontainer/Dockerfile
|
|
ports:
|
|
- 3000:3000
|
|
- 9229:9229
|
|
environment:
|
|
- MONGO_URL=mongodb://wekandb-dev:27017/wekan
|
|
- ROOT_URL=http://localhost:3000
|
|
- WITH_API=true
|
|
- RICHER_CARD_COMMENT_EDITOR=true
|
|
- BROWSER_POLICY_ENABLED=true
|
|
- WRITABLE_PATH=/data
|
|
depends_on:
|
|
- wekandb-dev
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- ./volumes/data:/data
|
|
- ../client:/home/wekan/app/client
|
|
- ../models:/home/wekan/app/models
|
|
- ../config:/home/wekan/app/config
|
|
- ../imports:/home/wekan/app/imports
|
|
- ../server:/home/wekan/app/server
|
|
- ../public:/home/wekan/app/public
|
|
|
|
networks:
|
|
wekan-dev-tier:
|
|
driver: bridge
|