Skip to content

Commit

Permalink
Set distinct URL values in env and docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincarrogan committed Dec 31, 2024
1 parent 84dd42f commit 781baac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion local.env
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 781baac

Please sign in to comment.