add mindoc
This commit is contained in:
38
Docker/mindoc/docker-compose.yml
Normal file
38
Docker/mindoc/docker-compose.yml
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
mindoc:
|
||||||
|
image: registry.cn-hangzhou.aliyuncs.com/mindoc-org/mindoc:v2.1
|
||||||
|
container_name: mindoc
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 8181:8181
|
||||||
|
volumes:
|
||||||
|
- ./mindoc/conf://mindoc/conf
|
||||||
|
- ./mindoc/static://mindoc/static
|
||||||
|
- ./mindoc/views://mindoc/views
|
||||||
|
- ./mindoc/uploads://mindoc/uploads
|
||||||
|
- ./mindoc/runtime://mindoc/runtime
|
||||||
|
- ./mindoc/database://mindoc/database
|
||||||
|
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=true
|
||||||
|
- MINDOC_BASE_URL=https://doc.aweoo.com
|
||||||
|
# - MINDOC_CDN_IMG_URL=
|
||||||
|
# - MINDOC_CDN_CSS_URL=
|
||||||
|
# - MINDOC_CDN_JS_URL=
|
||||||
|
dns:
|
||||||
|
- 223.5.5.5
|
||||||
|
- 223.6.6.6
|
||||||
|
networks:
|
||||||
|
nginx:
|
||||||
|
aliases:
|
||||||
|
- mindoc
|
||||||
|
|
||||||
|
networks:
|
||||||
|
nginx:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user