fix(docker): upgrade traefik for api compatibility

pull/251/merge
moonrailgun 2 months ago
parent 222e97eb56
commit 1e18775111

@ -91,7 +91,7 @@ services:
# Router # Router
traefik: traefik:
image: traefik:v2.1 image: traefik:v3.7.8
restart: unless-stopped restart: unless-stopped
command: command:
- "--api.insecure=true" # Don't do that in production! - "--api.insecure=true" # Don't do that in production!

@ -57,7 +57,7 @@ services:
# Router # Router
traefik: traefik:
image: traefik:v2.1 image: traefik:v3.7.8
restart: unless-stopped restart: unless-stopped
command: command:
- "--api.insecure=true" # Don't do that in production! - "--api.insecure=true" # Don't do that in production!

@ -29,7 +29,7 @@ spec:
- --api.insecure=true - --api.insecure=true
- --providers.docker=true - --providers.docker=true
- --providers.docker.exposedbydefault=false - --providers.docker.exposedbydefault=false
image: traefik:v2.1 image: traefik:v3.7.8
name: traefik name: traefik
ports: ports:
- containerPort: 80 - containerPort: 80

Loading…
Cancel
Save