fix: streamline Traefik labels for jobsquatch 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
bf3b54baa9
commit
8bdbf36705
@ -73,17 +73,16 @@ services:
|
||||
# When a container is on multiple networks, Traefik picks one arbitrarily.
|
||||
# Pin it to proxy-net so Traefik never tries to route via jobsquatch-internal.
|
||||
traefik.docker.network: proxy-net
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.jobsquatch.rule=Host(`jobsquatch-alpha.castaldifamily.com`)"
|
||||
- "traefik.http.routers.jobsquatch.entrypoints=websecure"
|
||||
- "traefik.http.routers.jobsquatch.tls=true"
|
||||
- "traefik.http.routers.jobsquatch.tls.certresolver=cloudflare"
|
||||
- "traefik.http.routers.jobsquatch.middlewares=security-headers@file"
|
||||
- "traefik.http.services.jobsquatch.loadbalancer.server.port=80"
|
||||
networks:
|
||||
- jobsquatch-internal
|
||||
- proxy-net
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.jobsquatch.rule=Host(`jobsquatch-alpha.castaldifamily.com`)"
|
||||
- "traefik.http.routers.jobsquatch.entrypoints=websecure"
|
||||
- "traefik.http.routers.jobsquatch.tls=true"
|
||||
- "traefik.http.routers.jobsquatch.tls.certresolver=cloudflare"
|
||||
- "traefik.http.routers.jobsquatch.middlewares=security-headers@file"
|
||||
- "traefik.http.services.jobsquatch.loadbalancer.server.port=80"
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user