-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env-example
53 lines (37 loc) · 1.25 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
45
46
47
48
49
50
51
52
# !! THIS IS AN EXAMPLE CONFIGURATION FILE !!
# Copy this file to .env and adjust the values to your needs
# GENERAL CONFIGURATION
# =====================
# The port the server will listen on
PORT=8081
# The log level. Possible values: trace, debug, info, warn, error, fatal
LOG_LEVEL=debug
# The frontend and backend urls (Used for redirects)
FRONTEND_URL=http://localhost:8080
BACKEND_URL=http://localhost:8081
# The secret used to sign the session cookie
SESSION_SECRET=secret
# The secret used to encrypt / decrypt data
CRYPTO_SECRET=01234567890123456789012345678901
# DATABASE CONFIGURATION
# ======================
# The database connection string to a mongo db instance
DB_URL=mongodb://localhost:27017/booking-manager
# The name of the database inside the mongo db instance
DB_NAME=booking-manager
# MAIL SERVICE
# ============
# Enable / Disable the mail service
# Possible values: true, false
MAIL_ENABLED=false
# NEXTCLOUD CONFIGURATION
# =======================
# The url of the nextcloud instance
NEXTCLOUD_URL=http://localhost:9500
# The username and password of the nextcloud user used to upload files
NEXTCLOUD_USERNAME=app
NEXTCLOUD_PASSWORD=app-password
# Maximum number of tenants, bookables and events
MAX_TENANTS=1
MAX_BOOKABLES=10
MAX_EVENTS=