1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- version: '3.7'
- services:
- wekandb-dev:
- image: mongo:4.0.11
- container_name: wekan-dev-db
- restart: unless-stopped
- command: mongod --smallfiles --oplogSize 128
- networks:
- - wekan-dev-tier
- expose:
- - 27017
- volumes:
- - wekan-dev-db:/data/db
- - wekan-dev-db-dump:/dump
- wekan-dev:
- container_name: wekan-dev-app
- restart: always
- networks:
- - wekan-dev-tier
- build:
- context: .
- dockerfile: Dockerfile
- ports:
- - 3000:3000
- - 9229:9229
- environment:
- - MONGO_URL=mongodb://wekandb-dev:27017/wekan
- - ROOT_URL=http://localhost:3000
- #- MAIL_URL=smtp://user:pass@mailserver.example.com:25/
- - MAIL_URL=smtp://<mail_url>:25/?ignoreTLS=true&tls={rejectUnauthorized:false}
- - MAIL_FROM=Wekan Notifications <noreply.wekan@mydomain.com>
- - WITH_API=true
- - RICHER_CARD_COMMENT_EDITOR=true
- - BROWSER_POLICY_ENABLED=true
- depends_on:
- - wekandb-dev
- volumes:
- - ..:/app
- command:
- sleep infinity
- volumes:
- wekan-dev-db:
- driver: local
- wekan-dev-db-dump:
- driver: local
- networks:
- wekan-dev-tier:
- driver: bridge
|