smocker fault

This commit is contained in:
2025-10-14 18:06:00 +02:00
parent 41fbd7042e
commit aae433a168

View File

@@ -192,7 +192,10 @@ services:
- PGUSER=${POSTGRAPHILE_DB_USER:-postgraphile}
- PGPASSWORD=${DB_PASSWORD:-!ChangeMe!}
- PGDATABASE=${COMPOSE_PROJECT_NAME}
labels:
caddy: postgraphile.localhost
caddy.reverse_proxy: "{{upstreams 5000}}"
caddy.tls: internal
# ----------------------------------------------------------------------
# Web API
#
@@ -253,12 +256,12 @@ services:
restart: "no"
networks:
- caddy_net
labels:
caddy.mock.localhost: "https://mock.localhost"
caddy.mock.localhost.handle_path./ui/*: "reverse_proxy {{upstreams 8081}}"
caddy.mock.localhost.handle_path./api/*: "reverse_proxy {{upstreams 8080}}"
caddy.mock.localhost.handle_path.: "redir /ui"
caddy.mock.localhost.tls: internal
#labels:
# caddy.mock.localhost: "https://smocker.localhost"
# caddy.mock.localhost.handle_path./ui/*: "reverse_proxy {{upstreams 8081}}"
# caddy.mock.localhost.handle_path./api/*: "reverse_proxy {{upstreams 8080}}"
# caddy.mock.localhost.handle_path.: "redir /ui"
# caddy.mock.localhost.tls: internal
toxiproxy:
image: ghcr.io/shopify/toxiproxy