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
|
image: cloudflare/cloudflared:2026.1.2
|
||||||
container_name: ${CONTAINER_NAME}
|
container_name: ${CONTAINER_NAME}
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
network_mode: host
|
||||||
- 1panel-network
|
|
||||||
command: tunnel --no-autoupdate run --token ${CFD_TOKEN}
|
command: tunnel --no-autoupdate run --token ${CFD_TOKEN}
|
||||||
labels:
|
labels:
|
||||||
createdBy: "Apps"
|
createdBy: "Apps"
|
||||||
|
|
||||||
networks:
|
|
||||||
1panel-network:
|
|
||||||
external: true
|
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,7 @@ services:
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
container_name: ${CONTAINER_NAME}
|
container_name: ${CONTAINER_NAME}
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
network_mode: host
|
||||||
- 1panel-network
|
|
||||||
command: tunnel --no-autoupdate run --token ${CFD_TOKEN}
|
command: tunnel --no-autoupdate run --token ${CFD_TOKEN}
|
||||||
labels:
|
labels:
|
||||||
createdBy: "Apps"
|
createdBy: "Apps"
|
||||||
|
|
||||||
networks:
|
|
||||||
1panel-network:
|
|
||||||
external: true
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue