-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.env.example
More file actions
89 lines (69 loc) · 2.83 KB
/
Copy path.env.example
File metadata and controls
89 lines (69 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# development | production
NODE_ENV=development
# URL to reach the frontend and backend (without trailing slash)
VITE_FRONTEND_URL=http://localhost:5000
VITE_BACKEND_URL=http://localhost:8000
# Cookie Secret (use something like: 'openssl rand -base64 30')
COOKIE_SECRET=secret
# Magic Login (use something like: 'openssl rand -base64 60')
MAGIC_LOGIN_SECRET=secret
# URL of the data base
MONGO_URL=mongodb://db:27017/abrechnung
# URL of redis
REDIS_URL=redis://redis:6379
##### OPTIONAL SETTINGS #####
# Ports
# FRONTEND_PORT=5000
# BACKEND_PORT=8000
# BACKEND_DEBUG_PORT=9229
# INBUCKET_UI_PORT=9000
# MONGO_EXPRESS_PORT=8081
# COOKIE_MAX_AGE_DAYS=30
# Time to live for magic login tokens in seconds
# MAGIC_LOGIN_TTL_SECONDS=86400
# Maximal size allowed of files being uploaded
# VITE_MAX_FILE_SIZE=16000000
# Maximum allowed length of the longest image side in pixels before client side compression is applied
# VITE_IMAGE_COMPRESSION_THRESHOLD_PX=1400
# VAPID keys for WebPush Notifications (generate with: 'docker compose exec backend npx web-push generate-vapid-keys')
# VITE_PUBLIC_VAPID_KEY=
# PRIVATE_VAPID_KEY=
# Backend Log Level ('ERROR' | 'WARN' | 'INFO' | 'DEBUG')
# LOG_LEVEL=INFO
# Timezone - find yours here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# TZ=Etc/UTC
# true | number | string (https://expressjs.com/en/guide/behind-proxies.html) use BACKEND_URL/ip to validate
# TRUST_PROXY=
# Rate limiting POST requests (https://github.com/express-rate-limit/express-rate-limit)
# How long to remember requests for, in milliseconds
# RATE_LIMIT_WINDOW_MS=
# How many requests to allow
# RATE_LIMIT=
# Memory limit for user webhook scripts in MB
# WEBHOOK_SCRIPT_MEMORY_LIMIT_MB=16
# Timeout for compiling user webhook scripts in milliseconds
# WEBHOOK_SCRIPT_COMPILE_TIMEOUT_MS=50
# Timeout for running user webhook scripts in milliseconds
# WEBHOOK_SCRIPT_RUN_TIMEOUT_MS=100
# Timeout webhook HTTP requests in milliseconds
# WEBHOOK_REQUEST_TIMEOUT_MS=5000
# Total number of attempts (including initial) for failed webhook HTTP requests
# WEBHOOK_ATTEMPTS=3
# Delay between webhook retry attempts in milliseconds. BullMQ exponential: 2 ^ (attempts - 1) * delay
# WEBHOOK_RETRY_DELAY=120000
# Concurrency of the integration worker
# WORKER_CONCURRENCY=1
# Maximum age/count of retained failed jobs. Use false for no limit.
# WORKER_JOB_FAILED_TTL_SECONDS=false
# WORKER_JOB_FAILED_MAX_COUNT=100
# Maximum age/count of retained completed jobs. Use false for no limit.
# WORKER_JOB_COMPLETED_TTL_SECONDS=604800
# WORKER_JOB_COMPLETED_MAX_COUNT=400
# REDIS_PREFIX=abrechnung
# PROD_INIT_CONNECTION_SETTINGS=
# PROD_INIT_ADMIN_USER=
# USAGE_API_TOKEN=
# Optional host UID/GID mapping for Linux bind mounts (avoid root-owned files in ./backend ./frontend ./common)
# Set with: HOST_UID=$(id -u) and HOST_GID=$(id -g)
# HOST_UID=1000
# HOST_GID=1000