Files
realZ/docker/compose.yaml

27 lines
775 B
YAML
Raw Normal View History

2025-09-16 11:55:33 +02:00
services:
api:
image: postgrest/postgrest
ports:
- "3300:3000"
environment:
PGRST_DB_URI: postgres://${PGRST_AUTHUSER}:${PGRST_PASSWORD}@postgis:5432
PGRST_DB_SCHEMAS: raf20lambert93
PGRST_DB_ANON_ROLE: web_anon
PGRST_OPENAPI_SERVER_PROXY_URI: http://127.0.0.1:3000
2025-09-16 11:55:33 +02:00
postgis:
image: realz
container_name: postgis_initialized
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB} # Base de données pour l'administration, pas celle de l'app
- PGRST_AUTHUSER=${PGRST_AUTHUSER}
- PGRST_PASSWORD=${PGRST_PASSWORD}
2025-09-16 11:55:33 +02:00
ports:
- "5433:5432"
volumes:
- postgis_data:/var/lib/postgresql/data
volumes:
postgis_data: