Skip to content

Commit 1ee2781

Browse files
committed
electric should use db url env var
1 parent 18a2fd2 commit 1ee2781

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hosting/docker/webapp/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ services:
105105
networks:
106106
- webapp
107107
environment:
108-
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/main?schema=public&sslmode=disable
108+
DATABASE_URL: ${DATABASE_URL:-postgresql://postgres:postgres@postgres:5432/main?schema=public&sslmode=disable}
109109
ELECTRIC_INSECURE: true
110110
ELECTRIC_USAGE_REPORTING: false
111111
healthcheck:

0 commit comments

Comments
 (0)