Skip to content

Commit

Permalink
Continuation of cvat-ai#1641
Browse files Browse the repository at this point in the history
Added env variables for Postgres DB and user names
  • Loading branch information
412b committed Jun 23, 2020
1 parent f646589 commit 921170f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cvat/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
'default': {
'ENGINE': 'django.db.backends.postgresql',
'HOST': os.getenv('CVAT_POSTGRES_HOST', 'cvat_db'),
'NAME': 'cvat',
'USER': 'root',
'NAME': os.getenv('CVAT_POSTGRES_DBNAME', 'cvat'),
'USER': os.getenv('CVAT_POSTGRES_USER', 'root'),
'PASSWORD': os.getenv('CVAT_POSTGRES_PASSWORD', ''),
}
}

0 comments on commit 921170f

Please sign in to comment.