2023-08-28 13:34:07 +00:00
|
|
|
MODE=microservice # microservice | home-server | self-hosted
|
2022-06-22 14:16:03 +00:00
|
|
|
LOG_LEVEL=info
|
|
|
|
NODE_ENV=development
|
|
|
|
VERSION=development
|
|
|
|
|
|
|
|
AUTH_JWT_SECRET=auth_jwt_secret
|
|
|
|
|
|
|
|
PORT=3000
|
2023-11-20 10:08:16 +00:00
|
|
|
GRPC_PORT=50052
|
2022-06-22 14:16:03 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
2023-06-30 10:44:27 +00:00
|
|
|
VALET_TOKEN_SECRET=change-me-!
|
|
|
|
VALET_TOKEN_TTL=1000
|
|
|
|
|
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
|
|
|
|
|
2022-11-22 09:11:03 +00:00
|
|
|
# (Optional) Revision Dumps
|
|
|
|
FILE_UPLOAD_PATH=
|
2023-07-19 05:28:03 +00:00
|
|
|
|
|
|
|
VALET_TOKEN_SECRET=change-me-!
|
|
|
|
VALET_TOKEN_TTL=7200
|
2024-01-04 11:13:02 +00:00
|
|
|
|
|
|
|
REDIS_URL=redis://cache
|
|
|
|
CACHE_TYPE=redis
|