[优化] 修复 Docker 启动

This commit is contained in:
ryan
2026-06-01 11:35:15 +08:00
parent fce2e014e5
commit c4e9e94117
3 changed files with 43 additions and 8 deletions
+14
View File
@@ -19,5 +19,19 @@ services:
OPENFLARE_AGENT_TOKEN: "07800f31d3f181e65d18dca1407d821c"
LOG_LEVEL: "debug"
extra_hosts:
- "host.docker.internal:host-gateway"
openflare-relay:
build:
context: .
dockerfile: openflare_relay/Dockerfile
container_name: openflare-relay
network_mode: host
restart: unless-stopped
environment:
OPENFLARE_SERVER_URL: http://host.docker.internal:3000
OPENFLARE_DISCOVERY_TOKEN: 85464eeb72c49abc430569d6b9c77f78
LOG_LEVEL: "debug"
extra_hosts:
- "host.docker.internal:host-gateway"