From c9f585a7e078733c413a522298824263e8a1e18b Mon Sep 17 00:00:00 2001 From: lukinovec Date: Mon, 22 May 2023 12:40:09 +0200 Subject: [PATCH] Try setting the Postgres password in docker-compose instead of ci.yml --- .github/workflows/ci.yml | 1 - docker-compose.yml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e144d777..5feffd8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,6 @@ jobs: postgres: image: postgres:latest env: - POSTGRES_PASSWORD: 'postgres' POSTGRES_DB: main ports: - 5432/tcp diff --git a/docker-compose.yml b/docker-compose.yml index c1d86d0b..9e0d340a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -68,6 +68,8 @@ services: - '${DB_DATABASE}' - '-U' - '${DB_USERNAME}' + - '-e POSTGRES_PASSWORD=' + - '${POSTGRES_PASSWORD}' retries: 3 timeout: 5s redis: