-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
27 lines (22 loc) · 785 Bytes
/
Copy pathenv.example
File metadata and controls
27 lines (22 loc) · 785 Bytes
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
# GoLinks Configuration
# Server Configuration
PORT=8080
BASE_URL=http://localhost:8080
# Database Configuration
DATABASE_PATH=golinks.db
# Environment Configuration
ENVIRONMENT=development
# Logging Configuration
# LOG_LEVEL: debug, info, warn, error (default: info)
LOG_LEVEL=debug
# Authentication Configuration
# SESSION_TTL_HOURS: how long a login session stays valid (default: 720 = 30 days)
SESSION_TTL_HOURS=720
# COOKIE_SECURE: mark the session cookie HTTPS-only. Defaults to true in
# production and false in development so http://localhost works. Set true behind
# HTTPS in production.
# COOKIE_SECURE=true
# BCRYPT_COST: password hashing work factor (default: 12)
# BCRYPT_COST=12
# MIN_PASSWORD_LEN: minimum accepted password length (default: 8)
# MIN_PASSWORD_LEN=8