[server] set local setup as default in .env.example (#1045)

This commit is contained in:
Corentin
2023-08-02 04:40:17 +02:00
committed by GitHub
parent 813fd5a067
commit efbc346b48

View File

@ -1,5 +1,9 @@
PG_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/default?connection_limit=1
FRONT_BASE_URL=http://localhost:3000
# Use this for local setup
PG_DATABASE_URL=postgres://postgres:postgrespassword@localhost:5432/default?connection_limit=1
# Use this for docker setup
# PG_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/default?connection_limit=1
FRONT_BASE_URL=http://localhost:3001
ACCESS_TOKEN_SECRET=replace_me_with_a_random_string
LOGIN_TOKEN_SECRET=replace_me_with_a_random_string
REFRESH_TOKEN_SECRET=replace_me_with_a_random_string