Skip to content

Commit 991ceb4

Browse files
committed
chore: add a note for docker build
1 parent 521d0f9 commit 991ceb4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

apps/api/.env.example

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
# Note: pls don't use values as strings for the below variables, if you wanna run using docker becuase in this case, docker build fails.
2+
# simply use a format like this: name-of-the-variable=variable-value
3+
# for example: PORT=8080
4+
15
# Required
26
CORS_ORIGINS=http://localhost:3000
37
NODE_ENV=development
48
PORT=8080
59

6-
DATABASE_URL="postgresql://USER:PASSWORD@localhost:5432/your_database_name?schema=public"
7-
JWT_SECRET="replace-with-a-strong-random-secret"
10+
DATABASE_URL=postgresql://USER:PASSWORD@localhost:5432/your_database_name?schema=public
11+
JWT_SECRET=replace-with-a-strong-random-secret
812

913
# compulsory for the project search tool
1014
# Get a PAT from here https://github.com/settings/developers

0 commit comments

Comments
 (0)