From efbc346b484968483a6ba61fd896af1113632339 Mon Sep 17 00:00:00 2001 From: Corentin Date: Wed, 2 Aug 2023 04:40:17 +0200 Subject: [PATCH] [server] set local setup as default in .env.example (#1045) --- server/.env.example | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/server/.env.example b/server/.env.example index 91fbaa649..9a775959d 100644 --- a/server/.env.example +++ b/server/.env.example @@ -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