formatting and comments
This commit is contained in:
+2
-2
@@ -3,7 +3,7 @@ services:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
network_mode: host
|
||||
user: "${APP_UID:-1000}:${APP_GID:-1000}"
|
||||
user: '${APP_UID:-1000}:${APP_GID:-1000}'
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:size=16m,noexec,nosuid,nodev
|
||||
@@ -15,7 +15,7 @@ services:
|
||||
# 复制 config.toml.example 为 config.toml 并填入真实配置后再启动。
|
||||
- ./config.toml:/app/config.toml:ro
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "--fail", "--silent", "http://127.0.0.1:9719/health"]
|
||||
test: ['CMD', 'curl', '--fail', '--silent', 'http://127.0.0.1:9719/health']
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user