leanote:
image: axboy/leanote
container_name: leanote
ports:
- "19000:9000" volumes:
- ./leanote/data:/var/leanote
- ./leanote/log/:/var/log:rw
- ./leanote/app.conf:/usr/local/leanote/conf/app.conf
environment:
- MONGO_HOST=mongo-db
- SITE_URL="http://10.100.193.212:19000"
depends_on:
- mongo-db
mongo-db:
image: mongo:latest
container_name: mongo-db
volumes:
- ./mongo/data:/data/db
# 挂载本地配置文件 - ./mongo/mongod.conf:/etc/mongo/mongod.conf:rw