ordre sql

This commit is contained in:
2025-10-14 22:28:15 +02:00
parent 1311068103
commit 94b69bb041
12 changed files with 22 additions and 12 deletions

View File

@@ -183,7 +183,7 @@ services:
condition: service_healthy
command:
[
"--port", "${POSTGRAPHILE_PORT:-5000}",
"--port", "80",
"--schema", "${POSTGRAPHILE_SCHEMA:-public}",
"--enhance-graphiql",
"--cors",
@@ -195,14 +195,14 @@ services:
networks:
- caddy_net
environment:
- PGHOST=${POSTGRAPHILE_HOST:-database}
- PGPORT=${POSTGRAPHILE_DB_PORT:-5432}
- PGUSER=${POSTGRAPHILE_DB_USER:-postgraphile}
- PGHOST=database
- PGPORT=5432
- PGUSER=${POSTGRAPHILE_USER:-postgraphile_user}
- PGPASSWORD=${POSTGRAPHILE_PASSWORD:-9013}
- PGDATABASE=${COMPOSE_PROJECT_NAME}
labels:
caddy: postgraphile.localhost
caddy.reverse_proxy: "{{upstreams 5000}}"
caddy.reverse_proxy: "{{upstreams 80}}"
caddy.tls: internal
# ----------------------------------------------------------------------
@@ -229,6 +229,7 @@ services:
PGRST_JWT_SECRET: ${POSTGREST_JWT_SECRET:-ChangeMeChangeMeChangeMeChangeMe}
PGRST_ADMIN_SERVER_PORT: 3055
PGRST_SERVER_PORT: 80
PGRST_OPENAPI_SERVER_PROXY_URI: https://postgrest.localhost
networks:
- caddy_net
labels: