Skip to content

Commit

Permalink
Continuation of #1641 (#1793)
Browse files Browse the repository at this point in the history
Added env variables for Postgres DB and user names
  • Loading branch information
412b authored Jun 23, 2020
1 parent f646589 commit 5d2f313
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 5d2f313

Please sign in to comment.