mindoc/docker-compose.yml

23 lines
591 B
YAML
Raw Normal View History

2018-08-20 14:27:24 +08:00
MinDoc_New:
image: registry.cn-hangzhou.aliyuncs.com/mindoc/mindoc:v0.13
privileged: false
restart: always
ports:
- 8181:8181
volumes:
- /var/www/mindoc/database:/mindoc/database
- /var/www/mindoc/uploads:/mindoc/uploads
environment:
- MINDOC_RUN_MODE=prod
- MINDOC_DB_ADAPTER=sqlite3
- MINDOC_DB_DATABASE=./database/mindoc.db
- MINDOC_CACHE=true
- MINDOC_CACHE_PROVIDER=file
- MINDOC_ENABLE_EXPORT=false
- MINDOC_BASE_URL=
- MINDOC_CDN_IMG_URL=
- MINDOC_CDN_CSS_URL=
- MINDOC_CDN_JS_URL=
dns:
- 223.5.5.5
- 223.6.6.6