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