From b5339522eca858bccd81e3f3d4f4f79eff77d389 Mon Sep 17 00:00:00 2001 From: Simon C Date: Tue, 6 Feb 2024 11:48:46 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20Mise=20=C3=A0=20jour=20du=20fichier=20d?= =?UTF-8?q?e=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env => .env.template | 28 +++++++++++++++++++++------- .gitignore | 1 + 2 files changed, 22 insertions(+), 7 deletions(-) rename .env => .env.template (61%) diff --git a/.env b/.env.template similarity index 61% rename from .env rename to .env.template index f596af4..d9b2c34 100644 --- a/.env +++ b/.env.template @@ -1,9 +1,6 @@ -# postgrest - -POSTGREST_CONTAINER_NAME=postgrest -POSTGREST_IMAGE=postgrest/postgrest:v12.0.2 - -# postgres +# +# PostgreSQL +# POSTGRES_CONTAINER_NAME=postgres POSTGRES_IMAGE=postgres:latest @@ -15,7 +12,24 @@ POSTGRES_DB=postgres DB_ANON_ROLE=anon DB_SCHEMA=public -# swagger +PGADMIN_USER=postgres@postgres.org +PGADMIN_PASSWORD=postgres + +# +# PostgREST +# + +POSTGREST_URL=https://opendata.example.org/ +POSTGREST_CONTAINER_NAME=postgrest +POSTGREST_IMAGE=postgrest/postgrest:v12.0.2 +PGRST_DB_MAX_ROWS=100 + + +# +# Swagger UI +# + +SWAGGER_URL=https://ui.opendata.example.org/ SWAGGER_CONTAINER_NAME=swagger SWAGGER_IMAGE=swaggerapi/swagger-ui:v5.11.0 diff --git a/.gitignore b/.gitignore index 6cb772b..2fb241b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules tmp +.env