mirror of
https://github.com/parkan/go-hauk.git
synced 2026-06-22 19:27:46 +02:00
18 lines
503 B
Plaintext
18 lines
503 B
Plaintext
# copy to .env and fill in, then: docker compose up -d
|
|
|
|
# required: bcrypt hash. generate with:
|
|
# htpasswd -nbBC 10 "" 'your-password' | tr -d ':\n'
|
|
HAUK_PASSWORD_HASH=
|
|
|
|
# public url used in generated share links
|
|
HAUK_PUBLIC_URL=http://localhost:8080/
|
|
|
|
# max share lifetime in seconds (redis key TTL)
|
|
HAUK_MAX_DURATION=86400
|
|
|
|
# trust X-Forwarded-For; set true only when behind a reverse proxy
|
|
HAUK_TRUST_PROXY=false
|
|
|
|
# redis persistence: on => survives restart, off => in-memory only
|
|
REDIS_PERSIST=on
|