37 lines
1.3 KiB
Bash
37 lines
1.3 KiB
Bash
# 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
|
|
NODE_ENV="production"
|
|
RECORDER="active"
|
|
|
|
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="true"
|