diff --git a/docker-compose.yml b/docker-compose.yml index 119f0496..96c98db5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,9 @@ services: container_name: "lite-hmrc-intg" env_file: - .env + environment: + - DATABASE_URL=postgres://postgres:password@lite-hmrc-postgres:5432/postgres + - REDIS_BASE_URL=redis://hmrc-redis:6379 build: . platform: linux/amd64 volumes: diff --git a/local.env b/local.env index ca131bc6..7326205f 100644 --- a/local.env +++ b/local.env @@ -1,5 +1,5 @@ DEBUG=True -DATABASE_URL=postgres://postgres:password@lite-hmrc-postgres:5432/postgres +DATABASE_URL=postgres://postgres:password@localhost:5432/postgres DJANGO_SECRET_KEY=DJANGO_SECRET_KEY EMAIL_HOSTNAME=localhost EMAIL_USER=outbox-user