mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-22 07:56:49 +00:00
Refactor traefik and dozzle service configurations in docker-compose.yml
This commit is contained in:
@@ -56,14 +56,14 @@ services:
|
|||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
labels:
|
# labels:
|
||||||
- "traefik.enable=true"
|
# - "traefik.enable=true"
|
||||||
- "traefik.http.routers.postgres.entrypoints=web-secure"
|
# - "traefik.http.routers.postgres.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.postgres.rule=Host(`db.${DOMAINNAME}`)"
|
# - "traefik.http.routers.postgres.rule=Host(`db.${DOMAINNAME}`)"
|
||||||
- "traefik.http.routers.postgres.middlewares=rate-limit@file, csrf@file"
|
# - "traefik.http.routers.postgres.middlewares=rate-limit@file, csrf@file"
|
||||||
- "traefik.http.routers.postgres.tls.certresolver=letsencrypt"
|
# - "traefik.http.routers.postgres.tls.certresolver=letsencrypt"
|
||||||
- "traefik.http.routers.postgres.service=postgres_service"
|
# - "traefik.http.routers.postgres.service=postgres_service"
|
||||||
- "traefik.http.services.postgres_service.loadbalancer.server.port=5432"
|
# - "traefik.http.services.postgres_service.loadbalancer.server.port=5432"
|
||||||
|
|
||||||
osrm-backend:
|
osrm-backend:
|
||||||
environment:
|
environment:
|
||||||
@@ -207,7 +207,6 @@ services:
|
|||||||
# WhoAmI - For Testing and Troubleshooting
|
# WhoAmI - For Testing and Troubleshooting
|
||||||
whoami:
|
whoami:
|
||||||
image: traefik/whoami
|
image: traefik/whoami
|
||||||
container_name: whoami
|
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -218,6 +217,7 @@ services:
|
|||||||
- "traefik.http.routers.whoami-rtr.entrypoints=web-secure"
|
- "traefik.http.routers.whoami-rtr.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.whoami-rtr.rule=Host(`whoami.$DOMAINNAME`)"
|
- "traefik.http.routers.whoami-rtr.rule=Host(`whoami.$DOMAINNAME`)"
|
||||||
- "traefik.http.routers.whoami-rtr.middlewares=csrf@file"
|
- "traefik.http.routers.whoami-rtr.middlewares=csrf@file"
|
||||||
|
- "traefik.http.routers.whoami-rtr.tls.certresolver=letsencrypt"
|
||||||
- "traefik.http.routers.whoami-rtr.service=whoami-svc"
|
- "traefik.http.routers.whoami-rtr.service=whoami-svc"
|
||||||
- "traefik.http.services.whoami-svc.loadbalancer.server.port=80"
|
- "traefik.http.services.whoami-svc.loadbalancer.server.port=80"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user