The Django site uses dj_database_url to provide the database connection
details in a DATABASE_URL environment variable instead of multiple
environment variables for the host, user, password, etc.
Use dj_database_url instead of the old environment variables that are
unused. This fixes a 30 second delay and bogus error message when
starting the api container.
Fixes: 3ed2783896d9b4f5a769154cff71314c008f9b39
Signed-off-by: Stefan Hajnoczi stefanha@gmail.com
The Django site uses dj_database_url to provide the database connection details in a DATABASE_URL environment variable instead of multiple environment variables for the host, user, password, etc.
Use dj_database_url instead of the old environment variables that are unused. This fixes a 30 second delay and bogus error message when starting the api container.
Fixes: 3ed2783896d9b4f5a769154cff71314c008f9b39 Signed-off-by: Stefan Hajnoczi stefanha@gmail.com