mirror of
https://gitea.zaclys.com/yannic/selfhosting.git
synced 2026-04-25 08:54:24 +02:00
fix exposition error
This commit is contained in:
parent
b46b368019
commit
6e71b7cb1b
@ -16,7 +16,9 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- 61208
|
- 61208
|
||||||
labels:
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
- traefik.http.routers.glances.rule=Host(${SITE})
|
- traefik.http.routers.glances.rule=Host(${SITE})
|
||||||
|
- traefik.http.routers.glances.entrypoints=web
|
||||||
- traefik.http.services.glances.loadbalancer.server.port=61208
|
- traefik.http.services.glances.loadbalancer.server.port=61208
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@ -5,9 +5,10 @@ services:
|
|||||||
container_name: traefik
|
container_name: traefik
|
||||||
image: traefik:v2.2.1
|
image: traefik:v2.2.1
|
||||||
command:
|
command:
|
||||||
- --entrypoints.web.address=:80
|
|
||||||
- --providers.docker=true
|
- --providers.docker=true
|
||||||
|
- --providers.docker.exposedbydefault=false
|
||||||
- --api.insecure # Don't do that in production
|
- --api.insecure # Don't do that in production
|
||||||
|
- --entrypoints.web.address=:80
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
@ -16,4 +17,3 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
- /srv/hosting/traefik/logs:/logs
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user