2021-07-05 19:08:00 +02:00
|
|
|
__YNH_NODE_LOAD_PATH__
|
2021-07-04 22:46:56 +02:00
|
|
|
|
|
|
|
LOG_LEVEL="info"
|
|
|
|
NODE_ENV="production"
|
2021-08-28 15:52:22 +02:00
|
|
|
VERSION="production"
|
2021-07-04 22:46:56 +02:00
|
|
|
|
|
|
|
JWT_SECRET=__JWT_SECRET__
|
2021-07-05 19:08:00 +02:00
|
|
|
LEGACY_JWT_SECRET=__LEGACY_JWT_SECRET__
|
|
|
|
AUTH_JWT_SECRET=__AUTH_JWT_SECRET__
|
2021-07-06 15:51:24 +02:00
|
|
|
AUTH_JWT_TTL=60000
|
2021-07-04 22:46:56 +02:00
|
|
|
|
2021-07-05 19:08:00 +02:00
|
|
|
# Must be a hex string exactly 32 bytes long
|
|
|
|
# e.g. feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308
|
|
|
|
ENCRYPTION_SERVER_KEY=__ENCRYPTION_SERVER_KEY__
|
2021-07-04 22:46:56 +02:00
|
|
|
|
2021-07-05 19:08:00 +02:00
|
|
|
PORT="__PORT_AUTH_WORKER__"
|
2021-07-04 22:46:56 +02:00
|
|
|
|
2021-07-05 20:50:52 +02:00
|
|
|
DB_HOST=localhost
|
|
|
|
DB_REPLICA_HOST=localhost
|
2021-07-05 19:08:00 +02:00
|
|
|
DB_PORT=3306
|
2021-07-05 20:50:52 +02:00
|
|
|
DB_USERNAME=__DB_USER__
|
|
|
|
DB_PASSWORD=__DB_PWD__
|
|
|
|
DB_DATABASE=__DB_NAME__
|
2021-07-05 19:08:00 +02:00
|
|
|
DB_DEBUG_LEVEL=all # "all" | "query" | "schema" | "error" | "warn" | "info" | "log" | "migration"
|
|
|
|
DB_MIGRATIONS_PATH=dist/migrations/*.js
|
2021-07-04 22:46:56 +02:00
|
|
|
|
2021-07-05 19:08:00 +02:00
|
|
|
REDIS_URL=redis://localhost:6379/__REDIS_DB__
|
|
|
|
|
2022-08-09 09:59:02 +02:00
|
|
|
DISABLE_USER_REGISTRATION=__DISABLE_USER_REGISTRATION__
|
2021-07-04 22:46:56 +02:00
|
|
|
|
|
|
|
ACCESS_TOKEN_AGE=5184000
|
|
|
|
REFRESH_TOKEN_AGE=31556926
|
|
|
|
|
2021-07-05 19:08:00 +02:00
|
|
|
EPHEMERAL_SESSION_AGE=259200
|
|
|
|
|
2021-07-04 22:46:56 +02:00
|
|
|
MAX_LOGIN_ATTEMPTS=6
|
|
|
|
FAILED_LOGIN_LOCKOUT=3600
|
|
|
|
|
2021-07-05 19:08:00 +02:00
|
|
|
PSEUDO_KEY_PARAMS_KEY=__PSEUDO_KEY_PARAMS_KEY__
|
2021-07-04 22:46:56 +02:00
|
|
|
|
2021-07-05 19:08:00 +02:00
|
|
|
SNS_TOPIC_ARN=
|
|
|
|
SNS_AWS_REGION=
|
|
|
|
SQS_QUEUE_URL=
|
|
|
|
SQS_AWS_REGION=
|
|
|
|
|
2022-08-04 17:28:39 +02:00
|
|
|
SYNCING_SERVER_URL=http://localhost:__PORT_SYNCING_SERVER__
|
2021-07-05 19:08:00 +02:00
|
|
|
|
|
|
|
REDIS_EVENTS_CHANNEL=events
|
|
|
|
|
|
|
|
# (Optional) New Relic Setup
|
|
|
|
NEW_RELIC_ENABLED=false
|
|
|
|
NEW_RELIC_APP_NAME=Auth
|
|
|
|
NEW_RELIC_LICENSE_KEY=
|
|
|
|
NEW_RELIC_NO_CONFIG_FILE=true
|
|
|
|
NEW_RELIC_DISTRIBUTED_TRACING_ENABLED=false
|
|
|
|
NEW_RELIC_LOG_ENABLED=false
|
|
|
|
NEW_RELIC_LOG_LEVEL=info
|
2021-08-28 15:52:22 +02:00
|
|
|
|
2021-09-11 22:35:58 +02:00
|
|
|
# (Optional) User Server
|
|
|
|
USER_SERVER_REGISTRATION_URL=
|
|
|
|
USER_SERVER_CHANGE_EMAIL_URL=
|
|
|
|
USER_SERVER_AUTH_KEY=
|
2022-01-11 19:49:32 +01:00
|
|
|
|
|
|
|
# (Optional) Sentry Setup
|
|
|
|
SENTRY_DSN=
|
|
|
|
SENTRY_ENVIRONMENT=
|
2022-06-20 14:37:59 +02:00
|
|
|
|
2022-08-04 17:28:39 +02:00
|
|
|
VALET_TOKEN_SECRET=__VALET_TOKEN_SECRET__
|
|
|
|
VALET_TOKEN_TTL=7200
|
2022-06-20 14:37:59 +02:00
|
|
|
|
|
|
|
# (Optional) Analytics
|
|
|
|
ANALYTICS_ENABLED=false
|