traefik takes advantage of docker expose port
This commit is contained in:
parent
4ba71fa5c8
commit
8b759e6e98
11 changed files with 12 additions and 22 deletions
|
|
@ -14,12 +14,13 @@ services:
|
|||
- "465:465"
|
||||
- "993:993"
|
||||
- "25:25"
|
||||
expose:
|
||||
- 80
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.posteio.rule=Host(`${HOST_MAIL}.${DOMAIN}`)
|
||||
- traefik.http.routers.posteio.entrypoints=https
|
||||
- traefik.http.routers.posteio.tls=true
|
||||
- traefik.http.services.posteio.loadbalancer.server.port=80
|
||||
networks:
|
||||
- srv
|
||||
healthcheck:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue