Update docker-compose.yml

修复 docker 镜像路径
pull/757/head
Skiy Chan 2021-12-23 22:55:04 +08:00 committed by GitHub
parent 80c89efc6d
commit e28969ea8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 22 deletions

View File

@ -1,22 +1,25 @@
MinDoc_New: version: "3"
image: registry.cn-hangzhou.aliyuncs.com/mindoc/mindoc:v2.0-beta.5 services:
privileged: false mindoc:
restart: always image: registry.cn-hangzhou.aliyuncs.com/mindoc-org/mindoc:v2.1-beta.5
ports: container_name: mindoc
- 8181:8181 privileged: false
volumes: restart: always
- /var/www/mindoc://mindoc-sync-host ports:
environment: - 8181:8181
- MINDOC_RUN_MODE=prod volumes:
- MINDOC_DB_ADAPTER=sqlite3 - /var/www/mindoc://mindoc-sync-host
- MINDOC_DB_DATABASE=./database/mindoc.db environment:
- MINDOC_CACHE=true - MINDOC_RUN_MODE=prod
- MINDOC_CACHE_PROVIDER=file - MINDOC_DB_ADAPTER=sqlite3
- MINDOC_ENABLE_EXPORT=false - MINDOC_DB_DATABASE=./database/mindoc.db
- MINDOC_BASE_URL= - MINDOC_CACHE=true
- MINDOC_CDN_IMG_URL= - MINDOC_CACHE_PROVIDER=file
- MINDOC_CDN_CSS_URL= - MINDOC_ENABLE_EXPORT=false
- MINDOC_CDN_JS_URL= - MINDOC_BASE_URL=
dns: - MINDOC_CDN_IMG_URL=
- 223.5.5.5 - MINDOC_CDN_CSS_URL=
- 223.6.6.6 - MINDOC_CDN_JS_URL=
dns:
- 223.5.5.5
- 223.6.6.6