diff --git a/.github/workflows/dev-deploy.yml b/.github/workflows/dev-deploy.yml index 2780b13..935b1df 100644 --- a/.github/workflows/dev-deploy.yml +++ b/.github/workflows/dev-deploy.yml @@ -69,6 +69,4 @@ jobs: cd ~/deployments/development git reset --hard git pull origin dev - bash ./scripts/map_envs.sh app.env POSTGRES_USER=USERNAME POSTGRES_DB=DB_NAME POSTGRES_PASSWORD=PASSWORD - docker compose down docker compose -f docker-compose.yml up -d diff --git a/docker-compose.yml b/docker-compose.yml index b9db224..8c5ec24 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,10 @@ services: image: postgres:16 env_file: - app.env + environment: + POSTGRES_DB: development_db + POSTGRES_PASSWORD: password + POSTGRES_USER: development_user volumes: - ../pgsql_volumes/golang_dev/:/var/lib/postgresql/data healthcheck: