OpenDataAPI/.env.template

53 lines
939 B
Plaintext
Raw Permalink Normal View History

2024-02-08 14:28:28 +01:00
#
# Docker
#
#COMPOSE_FILE=docker-compose.yml:docker-compose.traefik.yml
COMPOSE_FILE=docker-compose.yml:docker-compose.local.yml
OPENDATA_NETWORK_NAME=opendata
#
# PostgreSQL
#
2024-01-24 16:29:09 +01:00
POSTGRES_CONTAINER_NAME=postgres
2024-02-08 14:28:28 +01:00
POSTGRES_IMAGE=postgres:16.1
2024-01-24 16:29:09 +01:00
POSTGRES_VOLUME_NAME=postgres
POSTGRES_USER=postgres
2024-02-08 14:28:28 +01:00
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
2024-01-24 16:29:09 +01:00
POSTGRES_DB=postgres
2024-02-08 14:28:28 +01:00
2024-01-24 16:29:09 +01:00
DB_ANON_ROLE=anon
DB_SCHEMA=public
#
# PostgREST
#
2024-02-08 14:28:28 +01:00
POSTGREST_DOMAIN=localhost
POSTGREST_CONTAINER_NAME=postgrest
POSTGREST_IMAGE=postgrest/postgrest:v12.0.2
2024-02-08 14:28:28 +01:00
POSTGREST_URL=http://${POSTGREST_DOMAIN}:3000/
PGRST_DB_MAX_ROWS=100
#
# Swagger UI
#
2024-01-24 16:29:09 +01:00
2024-02-08 14:28:28 +01:00
SWAGGER_DOMAIN=ui.opendata.example.org
2024-01-24 16:29:09 +01:00
SWAGGER_CONTAINER_NAME=swagger
SWAGGER_IMAGE=swaggerapi/swagger-ui:v5.11.0
2024-02-08 14:28:28 +01:00
#
# Traefik
#
TRAEFIK_NETWORK_NAME=traefik
TRAEFIK_ROUTER_NAME=opendata
TRAEFIK_ENTRYPOINTS=websecure