Technology newsroom
Transform Your Synology NAS into a Personal Fitness Data Server with Endurain! πββοΈπ¨ Easy Docker Installation
Learn how to easily install Endurain, a privacy-focused self-hosted fitness tracking service, on your Synology NAS using Docker and Portainer to create a simple personal fitness data server.
π Key Highlights:
- Endurain is a new self-hosted fitness tracking service alternative for privacy enthusiasts, similar to Strava, but all data is 100% yours.
- It can be easily installed on a Synology NAS via Docker and Portainer, making management convenient.
- This article summarizes key steps, from system preparation and Reverse Proxy configuration to deployment with a Docker Compose Stack.
For fitness enthusiasts who want to track running, cycling, or other activities but are concerned about data privacy on public platforms, we introduce an interesting solution today: Endurain. This self-hosted fitness tracking service allows you to fully control all your data on your own Synology NAS.
π Preparation Before Installation
Before installing Endurain, you must prepare your Synology NAS system. Essential requirements include the Docker Package installed via Package Center and Portainer for simplified container management. Additionally, to securely access Endurain externally, configure a Wildcard Certificate and Reverse Proxy through the DSM Control Panel to map a domain name (e.g., endurain.yourdomain.synology.me) to the container being installed.
π Creating Folders for Data Storage
The next step is to create folders for Endurain's persistent data via File Station. Create a folder named endurain inside the docker folder. Then, create four subfolders: data, db, logs, and redis. This ensures that your activity data, database, and other files are not lost, even if containers are updated or restarted.
βοΈ Installation via Portainer Stack
The core of the installation involves using Docker Compose via Portainer's Stacks feature. This configures Docker to automatically create and connect all necessary containers, which include Endurain (the main application), Postgres (for the database), and Redis (for caching). You must copy the provided docker-compose.yml code into Portainer's Web Editor. Crucially, you need to modify certain Environment Variables, such as Time Zone (TZ), your configured URL (ENDURAIN_HOST), and various Secret Keys, correctly before clicking 'Deploy the stack'.
β
Access and Initial Configuration
After Portainer successfully completes the installation (status shows 'Success'), you can immediately access Endurain via the URL configured in your Reverse Proxy (e.g., https://endurain.yourdomain.synology.me). The default Username and Password are both 'admin'. The first thing to do after logging in is to go to the Settings page to change your password for security. After that, you can start setting up your profile and adding your fitness activities.
π¬ Are any fitness enthusiasts interested in having their own statistics server? Or do you have other interesting self-hosted apps to share? Feel free to comment!