refactor(cloudflared): change application's network mode to host (#3782)
This commit is contained in:
parent
6f2bd62dae
commit
caac0cb823
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue