We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01eb62e commit 8dc2c3fCopy full SHA for 8dc2c3f
.env.development
@@ -11,6 +11,9 @@ NEXTAUTH_URL=http://localhost:3000
11
# A connection string to your Postgres database
12
DATABASE_URL="postgres://postgres:postgres@localhost:5450/rallly"
13
14
+# A connection string to your Postgres database for direct access (used for migrations)
15
+DIRECT_DATABASE_URL="postgres://postgres:postgres@localhost:5450/rallly"
16
+
17
# Required to be able to send emails
18
SUPPORT_EMAIL=[email protected]
19
scripts/docker-start.sh
@@ -1,4 +1,8 @@
1
#!/bin/sh
2
set -e
3
4
+export DIRECT_DATABASE_URL=$DATABASE_URL
5
+export NEXTAUTH_URL=$NEXT_PUBLIC_BASE_URL
6
7
prisma migrate deploy --schema=./prisma/schema.prisma
-NEXTAUTH_URL=$NEXT_PUBLIC_BASE_URL node apps/web/server.js
8
+node apps/web/server.js
0 commit comments