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

View file

@ -41,6 +41,11 @@ services:
- piped - piped
- piped-proxy - piped-proxy
- pipedfrontend - 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: postgres:
image: postgres:15 image: postgres:15
restart: unless-stopped restart: unless-stopped