fix: setup script and compose

This commit is contained in:
yusing
2025-04-29 09:24:22 +08:00
parent 33e400a17e
commit 0029cf69d6
2 changed files with 6 additions and 8 deletions

View File

@@ -9,6 +9,7 @@ services:
- ALLOW_RESTARTS=1
- CONTAINERS=1
- EVENTS=1
- INFO=1
- PING=1
- POST=1
- VERSION=1
@@ -19,12 +20,6 @@ services:
- /run
ports:
- ${SOCKET_PROXY_LISTEN_ADDR:-127.0.0.1:2375}:2375
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:2375"]
interval: 1m30s
timeout: 30s
retries: 5
start_period: 30s
frontend:
image: ghcr.io/yusing/godoxy-frontend:${TAG:-latest}
container_name: godoxy-frontend
@@ -60,6 +55,9 @@ services:
network_mode: host # do not change this
env_file: .env
user: ${GODOXY_UID:-1000}:${GODOXY_GID:-1000}
depends_on:
socket-proxy:
condition: service_started
security_opt:
- no-new-privileges:true
cap_drop: