修复docker-compose.yml中volumes配置错误

pull/745/head
玖亖伍 2021-10-15 15:02:04 +08:00 committed by GitHub
parent 8ad0084d12
commit e0fb5a67f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -1,12 +1,11 @@
MinDoc_New: MinDoc_New:
image: registry.cn-hangzhou.aliyuncs.com/mindoc/mindoc:v2.0-beta.2 image: registry.cn-hangzhou.aliyuncs.com/mindoc/mindoc:v2.0-beta.5
privileged: false privileged: false
restart: always restart: always
ports: ports:
- 8181:8181 - 8181:8181
volumes: volumes:
- /var/www/mindoc/database:/mindoc/database - /var/www/mindoc://mindoc-sync-host
- /var/www/mindoc/uploads:/mindoc/uploads
environment: environment:
- MINDOC_RUN_MODE=prod - MINDOC_RUN_MODE=prod
- MINDOC_DB_ADAPTER=sqlite3 - MINDOC_DB_ADAPTER=sqlite3