Skip to content

armgit / lyftr

Public Imported from GitHub
0

Self-hosted fitness tracker. Log workouts, track nutrition, and monitor progress. Docker deployment, mobile-friendly.

1.0 KB
Raw Blame
# Required
JWT_SECRET=change-me-to-a-random-32-plus-character-string

# Optional
CORS_ORIGIN=http://localhost
PORT=80

# open | first-user | closed — https://lyftr.app/configuration/#locking-down-registration
REGISTRATION=open

# Seeds [email protected], whose password is public. Leave off on a reachable instance.
DEMO_MODE=false

# Where the exercise catalog is downloaded from (open-exercise-db). Lyftr imports it at
# startup and every 24 hours after, and keeps its own copy. Unset uses the hosted instance;
# set it to use a catalog you host.
# OEDB_BASE_URL=https://oedb-api-o4dqddih5q-uk.a.run.app

# Address the frontend's nginx proxies /api to, over the internal Docker network.
# This MUST be the backend's Docker service name (backend) — NOT your host/LAN IP.
# Only change the port, and only if you set a custom backend PORT, e.g. backend:3008.
# A host IP like 192.168.1.10:3000 gives a 502 Bad Gateway: in the default compose
# the backend's port is only exposed on the Docker network, not published to the host.
BACKEND_ORIGIN=backend:3000