Fix all network bridge

This commit is contained in:
ChenKaiLiuG
2025-12-24 16:04:09 +08:00
parent a43a6bf51e
commit 2f01362e68
4 changed files with 53 additions and 5 deletions

View File

@@ -5,7 +5,9 @@ services:
image: cloudflare/cloudflared:latest
container_name: cloudflared
restart: unless-stopped
command: tunnel --no-autoupdate run --token eyJhIjoiYTNmZGEzMTE5ZWY3NWQ0ZDFmODMzMjhiMTdiNjQwZjAiLCJ0IjoiNWUxNDkxMjItZjZkOC00ZTdiLTk4Y2EtOWMyZGJmZGVlZjYxIiwicyI6IlptWTJNREF4Wm1RdE5Ua3dNaTAwTURBM0xUazVNemt0TkRreE1tRXlaRFV5TlRaayJ9
command: tunnel --no-autoupdate run --token ${CLOUDFLARE_TOKEN}
networks:
- cloudflare_network
volumes:
- /opt/cloudflare/cloudflared:/etc/cloudflared
@@ -17,6 +19,9 @@ services:
- "80:80"
- "81:81"
- "443:443"
networks:
- cloudflare_network
- webproxy
volumes:
- /opt/cloudflare/npm/data:/data
- /opt/cloudflare/npm/letsencrypt:/etc/letsencrypt
@@ -26,6 +31,14 @@ services:
container_name: filebrowser
restart: unless-stopped
ports:
- "8080:80"
- "18080:80"
networks:
- cloudflare_network
volumes:
- /opt/cloudflare/files:/srv 31,17 底端
- /opt/cloudflare/files:/srv
networks:
cloudflare_network:
driver: bridge
webproxy:
external: true