Skip to content

The open alternative to Salesforce, designed for AI.

Update .env.example (#4177)

AutoComputaa7fa3acfa88
diff --git a/packages/twenty-docs/docs/start/local-setup/docker-setup.mdx b/packages/twenty-docs/docs/start/local-setup/docker-setup.mdx
index 41f5020ab07..5a1bdd5d961 100644
--- a/packages/twenty-docs/docs/start/local-setup/docker-setup.mdx
+++ b/packages/twenty-docs/docs/start/local-setup/docker-setup.mdx
@@ -59,6 +59,10 @@ You need to set some environment variables before you can work on the project. L
cd twenty
cp ./packages/twenty-front/.env.example ./packages/twenty-front/.env
cp ./packages/twenty-server/.env.example ./packages/twenty-server/.env
+echo "# ———————— Docker setup ———————— " >> ./packages/twenty-server/.env
+echo "TAG=latest" >> ./packages/twenty-server/.env
+echo "POSTGRES_ADMIN_PASSWORD=twenty" >> ./packages/twenty-server/.env
+echo "LOCAL_SERVER_URL=http://localhost:3001" >> ./packages/twenty-server/.env
```
The default values should work out of the box, except for the postgres URL, which requires a small modification.
diff --git a/packages/twenty-server/.env.example b/packages/twenty-server/.env.example
index dc7e64593d2..b181c331ce4 100644
--- a/packages/twenty-server/.env.example
+++ b/packages/twenty-server/.env.example
@@ -4,6 +4,7 @@ PG_DATABASE_URL=postgres://twenty:twenty@localhost:5432/default
# PG_DATABASE_URL=postgres://twenty:twenty@postgres:5432/default
FRONT_BASE_URL=http://localhost:3001
+
ACCESS_TOKEN_SECRET=replace_me_with_a_random_string_access
LOGIN_TOKEN_SECRET=replace_me_with_a_random_string_login
REFRESH_TOKEN_SECRET=replace_me_with_a_random_string_refresh