fix: update Traefik labels for frontend service in compose.yaml
All checks were successful
Auto-Deploy Changed Stacks / deploy (push) Successful in 12s
All checks were successful
Auto-Deploy Changed Stacks / deploy (push) Successful in 12s
This commit is contained in:
parent
8646a7e2c0
commit
6c96d84860
@ -64,22 +64,18 @@ services:
|
|||||||
frontend:
|
frontend:
|
||||||
image: ghcr.io/teamcastaldi/jobsquatch-frontend:${IMAGE_TAG:-latest}
|
image: ghcr.io/teamcastaldi/jobsquatch-frontend:${IMAGE_TAG:-latest}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
depends_on:
|
depends_on:
|
||||||
app:
|
app:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
labels:
|
labels:
|
||||||
# When a container is on multiple networks, Traefik picks one arbitrarily.
|
traefik.enable: "true"
|
||||||
# Pin it to proxy-net so Traefik never tries to route via jobsquatch-internal.
|
|
||||||
traefik.docker.network: proxy-net
|
traefik.docker.network: proxy-net
|
||||||
- "traefik.enable=true"
|
traefik.http.routers.jobsquatch.rule: "Host(`jobsquatch-alpha.castaldifamily.com`)"
|
||||||
- "traefik.http.routers.jobsquatch.rule=Host(`jobsquatch-alpha.castaldifamily.com`)"
|
traefik.http.routers.jobsquatch.entrypoints: websecure
|
||||||
- "traefik.http.routers.jobsquatch.entrypoints=websecure"
|
traefik.http.routers.jobsquatch.tls: "true"
|
||||||
- "traefik.http.routers.jobsquatch.tls=true"
|
traefik.http.routers.jobsquatch.tls.certresolver: cloudflare
|
||||||
- "traefik.http.routers.jobsquatch.tls.certresolver=cloudflare"
|
traefik.http.routers.jobsquatch.middlewares: security-headers@file
|
||||||
- "traefik.http.routers.jobsquatch.middlewares=security-headers@file"
|
traefik.http.services.jobsquatch.loadbalancer.server.port: "80"
|
||||||
- "traefik.http.services.jobsquatch.loadbalancer.server.port=80"
|
|
||||||
networks:
|
networks:
|
||||||
- jobsquatch-internal
|
- jobsquatch-internal
|
||||||
- proxy-net
|
- proxy-net
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user