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,10 +73,6 @@ services:
|
|||||||
# When a container is on multiple networks, Traefik picks one arbitrarily.
|
# 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.
|
# Pin it to proxy-net so Traefik never tries to route via jobsquatch-internal.
|
||||||
traefik.docker.network: proxy-net
|
traefik.docker.network: proxy-net
|
||||||
networks:
|
|
||||||
- jobsquatch-internal
|
|
||||||
- proxy-net
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
- "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"
|
||||||
@ -84,6 +80,9 @@ services:
|
|||||||
- "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:
|
||||||
|
- jobsquatch-internal
|
||||||
|
- proxy-net
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user