[优化] 修复 docker

This commit is contained in:
ryan
2026-06-01 12:03:09 +08:00
parent 9a2616dc0e
commit 5af13d0709
3 changed files with 28 additions and 7 deletions
+14
View File
@@ -33,5 +33,19 @@ services:
OPENFLARE_SERVER_URL: http://host.docker.internal:3000
OPENFLARE_DISCOVERY_TOKEN: 85464eeb72c49abc430569d6b9c77f78
LOG_LEVEL: "debug"
extra_hosts:
- "host.docker.internal:host-gateway"
openflared:
build:
context: .
dockerfile: openflared/Dockerfile
container_name: openflared
network_mode: host
restart: unless-stopped
environment:
OPENFLARE_SERVER_URL: http://host.docker.internal:3000
OPENFLARE_TUNNEL_TOKEN: 85464eeb72c49abc430569d6b9c77f78
LOG_LEVEL: "debug"
extra_hosts:
- "host.docker.internal:host-gateway"