35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# FitTracker configuration
|
|
# Copy this file to .env and edit, OR just run: bash install.sh
|
|
# install.sh auto-generates all secrets for you.
|
|
|
|
# ── Required ──────────────────────────────────────────────────────────────────
|
|
|
|
# Login for the web interface
|
|
ADMIN_USERNAME=admin
|
|
ADMIN_PASSWORD=changeme
|
|
|
|
# Security: generate with: openssl rand -hex 32
|
|
SECRET_KEY=changeme_run_openssl_rand_hex_32
|
|
|
|
# Database password
|
|
DB_PASSWORD=changeme
|
|
DB_USER=fittracker
|
|
|
|
# Redis password
|
|
REDIS_PASSWORD=changeme
|
|
|
|
# ── Optional ──────────────────────────────────────────────────────────────────
|
|
|
|
# Port to expose (default: 80)
|
|
HTTP_PORT=80
|
|
|
|
# Mapbox token for satellite map tiles — free at mapbox.com
|
|
# Leave blank to use OpenStreetMap (CartoDB dark tiles, no key needed)
|
|
VITE_MAPBOX_TOKEN=
|
|
|
|
# PocketID passkey authentication — leave blank to use local auth only
|
|
# See: https://github.com/pocket-id/pocket-id
|
|
POCKETID_ISSUER=
|
|
POCKETID_CLIENT_ID=
|
|
POCKETID_CLIENT_SECRET=
|