-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.env.example
44 lines (34 loc) · 1.51 KB
/
.env.example
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
# 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
# Timezone - find yours here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TZ=Etc/UTC
# 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
# VAPID keys for WebPush Notifications (generate with: 'docker compose exec backend npx web-push generate-vapid-keys')
VITE_PUBLIC_VAPID_KEY=
PRIVATE_VAPID_KEY=
# Ports
FRONTEND_PORT=5000
BACKEND_PORT=8000
BACKEND_DEBUG_PORT=9229
INBUCKET_UI_PORT=9000
MONGO_EXPRESS_PORT=8081
# URL of the data base
MONGO_URL=mongodb://db:27017/abrechnung
# Maximal size allowed of files being uploaded
VITE_MAX_FILE_SIZE=16000000
# Rate limiting POST requests (https://github.com/express-rate-limit/express-rate-limit)
# How long to remember requests for, in milliseconds (empty for no limit)
RATE_LIMIT_WINDOW_MS=
# How many requests to allow (empty for no limit)
RATE_LIMIT=
# TRUE | number | string (https://expressjs.com/en/guide/behind-proxies.html) use BACKEND_URL/ip to validate
TRUST_PROXY=
# ⚠️Deprecated⚠️ Use send via mail under connection settings
# If set to 'TRUE', all reports will be saved to `/reports` in the backend container. Uncomment the corresponding backend volume in `docker-compose.yml` to get reports on host maschine
BACKEND_SAVE_REPORTS_ON_DISK=FALSE