Refactor swarm/secondary.yml to add external network for Traefik

This commit is contained in:
2024-06-05 13:52:59 +08:00
parent d789cdcbe3
commit c893b10540
+4
View File
@@ -24,3 +24,7 @@ services:
- traefik.http.routers.librespeed.tls.certresolver=le - traefik.http.routers.librespeed.tls.certresolver=le
- traefik.http.routers.librespeed.service=librespeed_app - traefik.http.routers.librespeed.service=librespeed_app
- traefik.http.services.librespeed_app.loadbalancer.server.port=80 - traefik.http.services.librespeed_app.loadbalancer.server.port=80
networks:
traefik-public:
external: true