mirror of
https://github.com/standardnotes/server
synced 2026-07-14 00:01:54 -04:00
* fix: allow self hosted to use new model of items * fix: env sample * fix: binding
34 lines
823 B
Bash
34 lines
823 B
Bash
MODE=microservice # microservice | home-server | self-hosted
|
|
LOG_LEVEL=debug
|
|
NODE_ENV=development
|
|
VERSION=development
|
|
|
|
PORT=3000
|
|
|
|
SYNCING_SERVER_JS_URL=http://syncing_server_js:3000
|
|
AUTH_SERVER_URL=http://auth:3000
|
|
WEB_SOCKET_SERVER_URL=http://websockets:3000
|
|
PAYMENTS_SERVER_URL=http://payments:3000
|
|
FILES_SERVER_URL=http://files:3000
|
|
REVISIONS_SERVER_URL=http://revisions:3000
|
|
EMAIL_SERVER_URL=http://email:3000
|
|
|
|
HTTP_CALL_TIMEOUT=60000
|
|
|
|
AUTH_JWT_SECRET=auth_jwt_secret
|
|
|
|
# (Optional) New Relic Setup
|
|
NEW_RELIC_ENABLED=false
|
|
NEW_RELIC_APP_NAME=API Gateway
|
|
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
|
|
|
|
CACHE_TYPE=redis
|
|
REDIS_URL=redis://cache
|
|
|
|
# (Optional) Caching Cross Service Tokens
|
|
CROSS_SERVICE_TOKEN_CACHE_TTL=
|