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