From c9b6b9a5ca082fe7c1b6f58d7713f785a9eb6a5c Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Mon, 15 Sep 2025 01:08:27 +0200 Subject: add: graphs et rushs --- rushs/eplace/server/.env | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 rushs/eplace/server/.env (limited to 'rushs/eplace/server/.env') 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" -- cgit v1.2.3