This commit is contained in:
Egor Matveev 2022-03-24 22:19:52 +03:00
parent 02889a8e7d
commit d0413d3db0
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql_psycopg2",
"NAME": "sprint",
"USER": "postgres",
"USER": "sprint",
"PASSWORD": os.getenv("DB_PASSWORD"),
"HOST": os.getenv("DB_HOST"),
"PORT": 5432,

View File

@ -6,7 +6,7 @@ services:
postgres:
image: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_USER: sprint
POSTGRES_PASSWORD: $DB_PASSWORD
POSTGRES_DB: sprint
volumes: