2021-07-04 22:46:56 +02:00
|
|
|
Environment="__YNH_NODE_LOAD_PATH__"
|
|
|
|
PORT="__PORT_SYNCING_SERVER_JS__"
|
|
|
|
|
2021-07-04 21:32:13 +02:00
|
|
|
LOG_LEVEL="info"
|
|
|
|
NODE_ENV="production"
|
|
|
|
|
|
|
|
AUTH_JWT_SECRET=__JWT_SECRET__
|
|
|
|
|
|
|
|
EXPOSED_PORT=__PORT_SYNCING_SERVER_JS__
|
|
|
|
|
|
|
|
DB_HOST=localhost
|
|
|
|
DB_REPLICA_HOST=localhost
|
|
|
|
DB_PORT=3306
|
|
|
|
DB_USERNAME=__DB_USER__
|
|
|
|
DB_PASSWORD=__DB_PWD__
|
|
|
|
DB_DATABASE=__DB_NAME__
|
|
|
|
DB_DEBUG_LEVEL=all # "all" | "query" | "schema" | "error" | "warn" | "info" | "log" | "migration"
|
|
|
|
DB_MIGRATIONS_PATH=dist/migrations/*.js
|
|
|
|
|
|
|
|
REDIS_URL=redis://localhost:6379/__REDIS_DB__
|
|
|
|
|
|
|
|
SNS_TOPIC_ARN=
|
|
|
|
SNS_AWS_REGION=
|
|
|
|
SQS_QUEUE_URL=
|
|
|
|
SQS_AWS_REGION=
|
|
|
|
S3_AWS_REGION=
|
|
|
|
S3_BACKUP_BUCKET_NAME=
|
|
|
|
|
|
|
|
REDIS_EVENTS_CHANNEL=events
|
|
|
|
|
|
|
|
AUTH_SERVER_URL=http://localhost:__PORT_AUTH__
|
|
|
|
|
|
|
|
EMAIL_ATTACHMENT_MAX_BYTE_SIZE=10485760
|
|
|
|
|
|
|
|
REVISIONS_FREQUENCY=300
|
|
|
|
|
|
|
|
# (Optional) New Relic Setup
|
|
|
|
NEW_RELIC_ENABLED=false
|
|
|
|
NEW_RELIC_APP_NAME="Syncing Server JS"
|
|
|
|
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
|