Skip to content
Snippets Groups Projects
Commit 91c5102a authored by Elian Loraux's avatar Elian Loraux
Browse files

remove expose and set loadbalacner

parent 36e8aa02
Branches
No related tags found
1 merge request!4Sysadmin 154 healthcheck
......@@ -5,8 +5,6 @@ services:
networks:
- default
- traefik
expose:
- 8080
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
......@@ -14,7 +12,8 @@ services:
- "traefik.http.routers.${NAME}.tls.certresolver=myresolver"
- "traefik.http.routers.${NAME}.entrypoints=web,websecure"
- "traefik.http.routers.${NAME}.middlewares=hardening@docker"
- "traefik.http.routers.${NAME}.service=${NAME}"
- "traefik.http.services.${NAME}.loadbalancer.server.port=8080"
networks:
traefik:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment