2023-06-05 09:47:10 +00:00
|
|
|
MODE=microservice # microservice | home-server
|
2022-06-22 14:16:03 +00:00
|
|
|
LOG_LEVEL=info
|
|
|
|
NODE_ENV=development
|
|
|
|
VERSION=development
|
|
|
|
|
|
|
|
AUTH_JWT_SECRET=auth_jwt_secret
|
|
|
|
|
|
|
|
PORT=3000
|
|
|
|
|
|
|
|
DB_HOST=db
|
|
|
|
DB_REPLICA_HOST=db
|
|
|
|
DB_PORT=3306
|
|
|
|
DB_USERNAME=std_notes_user
|
|
|
|
DB_PASSWORD=changeme123
|
|
|
|
DB_DATABASE=standard_notes_db
|
|
|
|
DB_DEBUG_LEVEL=all # "all" | "query" | "schema" | "error" | "warn" | "info" | "log" | "migration"
|
|
|
|
DB_MIGRATIONS_PATH=dist/migrations/*.js
|
2023-06-05 09:47:10 +00:00
|
|
|
DB_TYPE=mysql
|
2022-06-22 14:16:03 +00:00
|
|
|
|
|
|
|
REDIS_URL=redis://cache
|
2023-06-05 09:47:10 +00:00
|
|
|
CACHE_TYPE=redis
|
2022-06-22 14:16:03 +00:00
|
|
|
|
|
|
|
SNS_TOPIC_ARN=
|
|
|
|
SNS_AWS_REGION=
|
|
|
|
SQS_QUEUE_URL=
|
|
|
|
SQS_AWS_REGION=
|
|
|
|
S3_AWS_REGION=
|
|
|
|
S3_BACKUP_BUCKET_NAME=
|
|
|
|
|
|
|
|
INTERNAL_DNS_REROUTE_ENABLED=false
|
|
|
|
EXTENSIONS_SERVER_URL=http://extensions-server:3004
|
|
|
|
AUTH_SERVER_URL=http://auth:3000
|
|
|
|
|
|
|
|
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
|
2022-11-22 09:11:03 +00:00
|
|
|
|
|
|
|
# (Optional) Revision Dumps
|
|
|
|
FILE_UPLOAD_PATH=
|