Update cloudflared network mode (#974)

This commit is contained in:
Anye 2024-02-24 18:48:51 +08:00 committed by GitHub
parent 12ba422c30
commit 990d2c9cb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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