Skip to content

Commit eccc8e3

Browse files
authored
fix: .env.example file state DIRECT_URL without ref (#4275)
The `DIRECT_URL=${DATABASE_URL}` wasn't working in at least one user of the var.
1 parent d7ec75d commit eccc8e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LOGIN_ORIGIN=http://localhost:3030
66
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres?schema=public
77
# This sets the URL used for direct connections to the database and should only be needed in limited circumstances
88
# See: https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#fields:~:text=the%20shadow%20database.-,directUrl,-No
9-
DIRECT_URL=${DATABASE_URL}
9+
DIRECT_URL=postgresql://postgres:postgres@localhost:5432/postgres?schema=public
1010
# Dedicated run-ops database (@internal/run-ops-database). Only needed to run prisma commands
1111
# against it or to enable the run-ops split; start it with `docker compose --profile runops up`.
1212
RUN_OPS_DATABASE_URL=postgresql://postgres:postgres@localhost:5434/postgres?schema=public
@@ -166,4 +166,4 @@ POSTHOG_PROJECT_KEY=
166166
# Uncomment these to send metrics to the local Prometheus via OTEL Collector:
167167
# INTERNAL_OTEL_METRIC_EXPORTER_ENABLED=1
168168
# INTERNAL_OTEL_METRIC_EXPORTER_URL=http://localhost:4318/v1/metrics
169-
# INTERNAL_OTEL_METRIC_EXPORTER_INTERVAL_MS=15000
169+
# INTERNAL_OTEL_METRIC_EXPORTER_INTERVAL_MS=15000

0 commit comments

Comments
 (0)