-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
60 lines (53 loc) · 2.28 KB
/
.env.example
File metadata and controls
60 lines (53 loc) · 2.28 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
# 👁 · Voux Settings
# Copy this file to .env and customize the values.
# More details here : https://voux-docs.vercel.app/docs/configuration/environment-variables
# -----------------------------------------------------------------------------
# Admin account (required on first start)
# -----------------------------------------------------------------------------
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change-this-password
# -----------------------------------------------------------------------------
# Optional instance settings
# -----------------------------------------------------------------------------
# PORT=8787
# PUBLIC_BASE_URL=https://counter.yourdomain.com
# TRUST_PROXY=1
# PRIVATE_MODE=false
# ADMIN_PAGE_SIZE=5
# USERS_PAGE_SIZE=4
# SHOW_PUBLIC_GUIDES=true
# DEFAULT_ALLOWED_MODES=unique,unlimited
# COUNTER_CREATE_LIMIT=5
# COUNTER_CREATE_WINDOW_MS=60000
# INACTIVE_DAYS_THRESHOLD=30
# BRAND_NAME=Voux
# HOME_TITLE=Voux · Simple Free & Open Source Hit Counter
# UNLIMITED_THROTTLE_SECONDS=0
# -----------------------------------------------------------------------------
# Backups
# -----------------------------------------------------------------------------
# BACKUP_DIR=./data/backups
# AUTO_BACKUP_FREQUENCY=off
# AUTO_BACKUP_TIME=03:00
# AUTO_BACKUP_WEEKDAY=0
# AUTO_BACKUP_RETENTION=7
# AUTO_BACKUP_INCLUDE_JSON=false
# -----------------------------------------------------------------------------
# Counter creation tracker (advanced)
# -----------------------------------------------------------------------------
# COUNTER_CREATE_TRACKER_IDLE_TTL_MS=900000
# COUNTER_CREATE_TRACKER_CLEANUP_INTERVAL_MS=60000
# COUNTER_CREATE_TRACKER_MAX_ENTRIES=20000
# COUNTER_CREATE_TRACKER_EVICT_PERCENT=0.1
# -----------------------------------------------------------------------------
# Login rate limiter (advanced)
# -----------------------------------------------------------------------------
# LOGIN_LIMITER_IDLE_TTL_MS=1800000
# LOGIN_LIMITER_CLEANUP_INTERVAL_MS=60000
# LOGIN_LIMITER_MAX_ENTRIES=20000
# LOGIN_LIMITER_EVICT_PERCENT=0.1
# -----------------------------------------------------------------------------
# Development mode
# Enable only when configuring your instance or contributing.
# -----------------------------------------------------------------------------
# DEV_MODE=development