forked from Umami-Creative-GmbH/altcha-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env
More file actions
27 lines (21 loc) · 635 Bytes
/
.env
File metadata and controls
27 lines (21 loc) · 635 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
# Example environment configuration for altcha
# Copy to .env and adjust values as needed
# REQUIRED: change this to a long random string, do NOT use the default
SECRET=change-me-to-a-long-random-string
# Optional settings
PORT=3000
EXPIREMINUTES=10
COMPLEXITY=1000000
MAXRECORDS=1000
# STORE=memory
STORE=redis
REDIS_URL=redis://10.254.1.51:6379
# Enable a demo page on http://localhost:8000 when true
DEMO=true
DEMO_PORT=8000
# Analytics & Dashboard
POSTGRES_URL=postgres://altcha:altcha@10.254.1.51:5432/altcha?sslmode=disable
AUTH_PROVIDER=basic
AUTH_USERNAME=admin
AUTH_PASSWORD=admin
GEOIP_DB=database/GeoLite2-Country.mmdb