# openGym - self-hosted gym & body-weight tracker # https://github.com/DuarteSantos8/openGym # Passkeys are bound to the exact hostname and require HTTPS (localhost excepted). # Point your reverse proxy at WEB_PORT and set these to the public domain. RP_ID=gym.yourdomain.com ORIGIN=https://gym.yourdomain.com RP_NAME=openGym # Host port for the web UI WEB_PORT=8095 # Host path for app data (users, passkeys, session secret, uploads) DATA_PATH=./data # First profile created becomes admin (1/0) FIRST_USER_ADMIN=1 # Comma-separated user IDs to grant admin (optional) ADMIN_UIDS= # Signup / login options (1/0) INVITE_ONLY=0 ALLOW_GUEST=0 PASSWORD_LOGIN=0 # Trust X-Forwarded-For from the web container (leave at 1) TRUST_PROXY=1 # Cloudflare Tunnel users: set to '$http_cf_connecting_ip' (single quotes included) CF_CONNECTING_IP= # Push notification contact (optional), e.g. mailto:you@example.com VAPID_SUBJECT=