标签:xxxxxx oca image yam int restart 工具 compose img
1. 安装
version: ‘2‘
services:
wekandb:
image: mongo:3.2.11
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: mquandalle/wekan:latest
container_name: wekan-app
restart: always
networks:
- wekan-tier
ports:
- 8080:80
environment:
- MONGO_URL=mongodb://wekandb:27017/wekan
- ROOT_URL=http://XXXXXXX:8080 # 配置地址
depends_on:
- wekandb
volumes:
wekan-db:
driver: local
wekan-db-dump:
driver: local
networks:
wekan-tier:
driver: bridge
标签:xxxxxx oca image yam int restart 工具 compose img
原文地址:http://www.cnblogs.com/rongfengliang/p/6431440.html