修复bug
This commit is contained in:
1 parent
0ce03dced7
commit
2e7a3ad2d6
2 files changed
+6
-6
No files matched your search
@@ -13,8 +13,8 @@ services:
|
||||
ports:
|
||||
- "8016:8016"
|
||||
volumes:
|
||||
# Hugo 博客目录(必须)
|
||||
- ${BLOG_ROOT:-../blog}:/blog
|
||||
# Hugo 博客目录(必须)- .. 即为 write-server 的上级目录(博客根目录)
|
||||
- ${BLOG_ROOT:-..}:/blog
|
||||
# 本地回收站目录
|
||||
- ./recycle:/app/recycle
|
||||
# 日志目录
|
||||
@@ -31,11 +31,11 @@ services:
|
||||
networks:
|
||||
- write-network
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8016/api/stats"]
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:8016/api/stats"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
start_period: 60s
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
@@ -57,7 +57,7 @@ services:
|
||||
- ./logs/nginx:/var/log/nginx
|
||||
depends_on:
|
||||
write-server:
|
||||
condition: service_healthy
|
||||
condition: service_started
|
||||
networks:
|
||||
- write-network
|
||||
|
||||
|
||||
Reference in new issue
Block a user