Add traefik labels to nginx container.

This commit is contained in:
Kavin 2023-09-13 15:33:07 +01:00 committed by GitHub
parent 90e6b80c7c
commit 49b98cbeb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -41,6 +41,11 @@ services:
- piped
- piped-proxy
- pipedfrontend
labels:
- "traefik.enable=true"
- "traefik.http.routers.piped.rule=Host(`FRONTEND_HOSTNAME`, `BACKEND_HOSTNAME`, `PROXY_HOSTNAME`)"
- "traefik.http.routers.piped.entrypoints=websecure"
- "traefik.http.services.piped.loadbalancer.server.port=8080"
postgres:
image: postgres:15
restart: unless-stopped