1
0
Fork 0

refactor(cloudflared): change application's network mode to host (#3782)

This commit is contained in:
gracelsy 2026-01-31 18:13:06 +08:00 committed by pooneyy
parent 6f2bd62dae
commit caac0cb823
No known key found for this signature in database
2 changed files with 2 additions and 12 deletions

View File

@ -3,12 +3,7 @@ services:
image: cloudflare/cloudflared:2026.1.2
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
network_mode: host
command: tunnel --no-autoupdate run --token ${CFD_TOKEN}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -4,12 +4,7 @@ services:
pull_policy: always
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
network_mode: host
command: tunnel --no-autoupdate run --token ${CFD_TOKEN}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true