Skip to content

Commit

Permalink
fix: pg user is not really customizable as env var
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal-Delange committed Apr 3, 2024
1 parent 02c1e93 commit 8c745b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ LOGGING_FORMAT=text
# Env variables for the postgresql database
PG_HOSTNAME=db
PG_PORT=54321
PG_USER=postgres
PG_PASSWORD=marble

# configure the document storage backend with optional fake backends
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
image: postgres:15
restart: always
environment:
POSTGRES_USER: ${PG_USER:-postgres}
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ${PG_PASSWORD:-marble}
POSTGRES_DB: marble
PGDATA: /data/postgres
Expand Down Expand Up @@ -41,7 +41,7 @@ services:
PORT: ${API_PORT:-8080}
PG_HOSTNAME: ${PG_HOSTNAME:-db}
PG_PORT: ${PG_PORT:-5432}
PG_USER: ${PG_USER:-postgres}
PG_USER: postgres
PG_PASSWORD: ${PG_PASSWORD:-marble}
AUTHENTICATION_JWT_SIGNING_KEY: ${AUTHENTICATION_JWT_SIGNING_KEY:-}
GCS_INGESTION_BUCKET: ${GCS_INGESTION_BUCKET:-}
Expand Down Expand Up @@ -79,7 +79,7 @@ services:
PORT: ${API_PORT:-8080}
PG_HOSTNAME: ${PG_HOSTNAME:-db}
PG_PORT: ${PG_PORT:-5432}
PG_USER: ${PG_USER:-postgres}
PG_USER: postgres
PG_PASSWORD: ${PG_PASSWORD:-marble}
AUTHENTICATION_JWT_SIGNING_KEY: ${AUTHENTICATION_JWT_SIGNING_KEY:-}
GCS_INGESTION_BUCKET: ${GCS_INGESTION_BUCKET:-}
Expand Down

0 comments on commit 8c745b2

Please sign in to comment.