diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index dc53e52..9b4a05c 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -75,6 +75,9 @@ jobs: DOCKERHUB_USERNAME_FRONT=${{ secrets.DOCKERHUB_USERNAME_FRONT }} DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }} ALLOWED_HOSTS=${{ secrets.ALLOWED_HOSTS }} + EMAIL_HOST=${{ secrets.EMAIL_HOST }} + EMAIL_HOST_USER=${{ secrets.EMAIL_HOST_USER }} + EMAIL_HOST_PASSWORD=${{ secrets.EMAIL_HOST_PASSWORD }} _EOF_ - name: Copy docker-compose-prod.yaml via ssh uses: appleboy/scp-action@master diff --git a/src/backend/config/settings/base.py b/src/backend/config/settings/base.py index 0eb5932..ca13837 100644 --- a/src/backend/config/settings/base.py +++ b/src/backend/config/settings/base.py @@ -77,10 +77,10 @@ DATABASES = { "default": { "ENGINE": getenv("DB_ENGINE", default="django.db.backends.postgresql"), - "NAME": getenv("POSTGRES_DB", default="db"), - "USER": getenv("POSTGRES_USER", default="admin"), - "PASSWORD": getenv("POSTGRES_PASSWORD", default="admin"), - "HOST": getenv("POSTGRES_HOST", default="db"), + "NAME": getenv("POSTGRES_DB", default="db_test"), + "USER": getenv("POSTGRES_USER", default="admin_test"), + "PASSWORD": getenv("POSTGRES_PASSWORD", default="postgre_admin"), + "HOST": getenv("POSTGRES_HOST", default="db_test"), "PORT": getenv("POSTGRES_PORT", default=5432), } }