fix: Docker compose configuration
This commit is contained in:
@ -1,28 +1,37 @@
|
||||
#
|
||||
# Docker
|
||||
#
|
||||
|
||||
#COMPOSE_FILE=docker-compose.yml:docker-compose.traefik.yml
|
||||
COMPOSE_FILE=docker-compose.yml:docker-compose.local.yml
|
||||
OPENDATA_NETWORK_NAME=opendata
|
||||
|
||||
|
||||
#
|
||||
# PostgreSQL
|
||||
#
|
||||
|
||||
POSTGRES_CONTAINER_NAME=postgres
|
||||
POSTGRES_IMAGE=postgres:latest
|
||||
POSTGRES_IMAGE=postgres:16.1
|
||||
POSTGRES_VOLUME_NAME=postgres
|
||||
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=postgres
|
||||
POSTGRES_PASSWORD=utiliser-la-commande-pour-generer-un-mot-de-passe # tr -cd '[:alnum:]' < /dev/urandom | fold -w "64" | head -n 1 | tr -d '\n' ; echo
|
||||
POSTGRES_DB=postgres
|
||||
|
||||
DB_ANON_ROLE=anon
|
||||
DB_SCHEMA=public
|
||||
|
||||
PGADMIN_USER=postgres@postgres.org
|
||||
PGADMIN_PASSWORD=postgres
|
||||
|
||||
|
||||
#
|
||||
# PostgREST
|
||||
#
|
||||
|
||||
POSTGREST_URL=https://opendata.example.org/
|
||||
POSTGREST_DOMAIN=localhost
|
||||
POSTGREST_CONTAINER_NAME=postgrest
|
||||
POSTGREST_IMAGE=postgrest/postgrest:v12.0.2
|
||||
|
||||
POSTGREST_URL=http://${POSTGREST_DOMAIN}:3000/
|
||||
PGRST_DB_MAX_ROWS=100
|
||||
|
||||
|
||||
@ -30,6 +39,14 @@ PGRST_DB_MAX_ROWS=100
|
||||
# Swagger UI
|
||||
#
|
||||
|
||||
SWAGGER_URL=https://ui.opendata.example.org/
|
||||
SWAGGER_DOMAIN=ui.opendata.example.org
|
||||
SWAGGER_CONTAINER_NAME=swagger
|
||||
SWAGGER_IMAGE=swaggerapi/swagger-ui:v5.11.0
|
||||
|
||||
#
|
||||
# Traefik
|
||||
#
|
||||
|
||||
TRAEFIK_NETWORK_NAME=traefik
|
||||
TRAEFIK_ROUTER_NAME=opendata
|
||||
TRAEFIK_ENTRYPOINTS=websecure
|
||||
|
Reference in New Issue
Block a user