blob: 7ff72e7de86447ed475e4db92a4da960293bac28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"
|