From 8b2ea8632342cd494e3f13e1fab30bf6092c58ff Mon Sep 17 00:00:00 2001 From: Ben Rometsch Date: Mon, 13 Jul 2020 13:00:48 +0100 Subject: [PATCH] Returned old style DB variables into develop is merged --- docker-compose.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index a2d8613..e21d976 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,9 +16,13 @@ services: environment: DJANGO_ALLOWED_HOSTS: localhost DATABASE_URL: postgresql://postgres:password@db:5432/bullettrain + DJANGO_DB_NAME: bullettrain + DJANGO_DB_USER: postgres + DJANGO_DB_PASSWORD: password + DJANGO_DB_PORT: 5432 REDIS_URL: redis://redis:6379/ ports: - - "8000:80" + - "8000:8000" depends_on: - db - redis