Skip to content

The open alternative to Salesforce, designed for AI.

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

Corentinefbc346b4849
diff --git a/server/.env.example b/server/.env.example
index 91fbaa64909..9a775959d35 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