Skip to content

Commit 031ce5f

Browse files
WeikoAdityaPimpalkar
authored andcommitted
[server] set local setup as default in .env.example (twentyhq#1045)
1 parent ff258a5 commit 031ce5f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

server/.env.example

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
PG_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/default?connection_limit=1
2-
FRONT_BASE_URL=http://localhost:3000
1+
# Use this for local setup
2+
PG_DATABASE_URL=postgres://postgres:postgrespassword@localhost:5432/default?connection_limit=1
3+
# Use this for docker setup
4+
# PG_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/default?connection_limit=1
5+
6+
FRONT_BASE_URL=http://localhost:3001
37
ACCESS_TOKEN_SECRET=replace_me_with_a_random_string
48
LOGIN_TOKEN_SECRET=replace_me_with_a_random_string
59
REFRESH_TOKEN_SECRET=replace_me_with_a_random_string

0 commit comments

Comments
 (0)