summaryrefslogtreecommitdiff
path: root/rushs/eplace/server/.env
diff options
context:
space:
mode:
authorMartial Simon <msimon_fr@hotmail.com>2025-09-15 01:08:27 +0200
committerMartial Simon <msimon_fr@hotmail.com>2025-09-15 01:08:27 +0200
commitc9b6b9a5ca082fe7c1b6f58d7713f785a9eb6a5c (patch)
tree3e4f42f93c7ae89a364e4d51fff6e5cec4e55fa9 /rushs/eplace/server/.env
add: graphs et rushs
Diffstat (limited to 'rushs/eplace/server/.env')
-rw-r--r--rushs/eplace/server/.env36
1 files changed, 36 insertions, 0 deletions
diff --git a/rushs/eplace/server/.env b/rushs/eplace/server/.env
new file mode 100644
index 0000000..7ff72e7
--- /dev/null
+++ b/rushs/eplace/server/.env
@@ -0,0 +1,36 @@
+# Environment variables declared in this file are automatically made available to Prisma.
+# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
+
+# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
+# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
+
+SERVER_PORT=3333
+WSS_PORT=3334
+
+POSTGRES_USER="postgres"
+POSTGRES_PASSWORD="postgres"
+POSTGRES_HOST="postgres"
+POSTGRES_PORT=5432
+POSTGRES_DB="eplace"
+POSTGRES_SCHEMA="public"
+DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?schema=${POSTGRES_SCHEMA}"
+
+
+REDIS_HOST="redis"
+REDIS_PORT=6379
+
+PUBLIC_API_URL="http://localhost:3333/api"
+JWKS_URI="https://cri.epita.fr/jwks"
+# DO NOT ERASE THIS UID, IT IS USE AS DEFAULT USER TO SETUP ROOMs, PIXELS
+# CHECK README FOR MORE DETAILS
+# You can add more admin uids by separating them with a comma
+# Example: 9361,9362,9363
+ADMIN_UID_LIST="9361"
+
+
+RATE_LIMITS_CONFIG_PATH="./config/rate-limits.config.json"
+ROOMS_CONFIG_PATH="./config/rooms.config.json"
+
+DISABLE_ADMIN_PREVILEGES="true"
+DISABLE_AUTH="false"
+DISABLE_RATE_LIMITING="false"