
openGym is a free, open-source gym and body-weight tracker that lets you plan weekly routines, run guided workouts with animated demos from a large exercise library, log every set, and monitor body weight plus muscle progress through maps for balance, fatigue, and strength. It keeps all your data under your control with no subscriptions, ads, or telemetry, and works either as a standalone mobile app or as a self-hosted service you run yourself with Docker for syncing across devices via passkey login. After switching from commercial trackers, openGym has been a clear improvement for me. Owning the complete workout history without upsells or data sharing feels liberating, the guided sessions and muscle map make consistency and balanced training straightforward, and the option to self-host means my logs stay private even when syncing between phone and computer. In this step by step guide I will show you how to install openGymĀ on your UGREEN NAS using Docker & Dockhand.
š”Note:
This guide works perfectly with the latest openGym v1.4.4Ā release.
š”Note: Check out my guide on how to Install openGym on Your Synology NAS.
STEP 1
Please Support My work by Making a Donation.
STEP 2
InstallĀ Dockhand using my step by step guide. If you already have Dockhand installed on your UGREEN NAS, skip this STEP. ā ļøAttention: Make sure you have installed the latest Dockhand version.
STEP 3
ā ļøMandatory: Enable HTTPS on your UGREEN NAS.
STEP 4
Create a new hostname on the noip website using your noip account. For example, I have created mariusgymĀ as Host and I use the free ddns.net domain. In the IP Address area, type in your own IPV4 IP address from your ISP, then click Create. Follow the instructions in the image below.

STEP 5
ā ļøMandatory: Add Read & Write Permissions to the Docker Folder.
STEP 6
Go toĀ Files and open the docker folder. Inside the docker folder, create one new folder and name itĀ opengym. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

STEP 7
Now create two new folders inside the opengym folder that you have previously created at STEP 6 and name them coach-authĀ and data. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

STEP 8
Open your browser and type in http://ugreen-ip-address:3866 to connect to your Dockhand container. On the left sidebar, click Stacks then + Create. Follow the instructions in the image below.

STEP 9
In the Stack name field, type in opengym. ā ļøWarning: Type in the name in lowercase letters. The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Follow the instructions in the image below.
Note: Copy Paste the code below in the Dockhand Compose Stack then click Create & Start.
services:
opengym-api:
image: ghcr.io/duartesantos8/opengym-api:latest
container_name: OpenGym-API
hostname: opengym-api
user: 0:0
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:3777/api/health || exit 1"]
interval: 30s
timeout: 10s
retries: 5
start_period: 40s
environment:
PORT: 3777
DATA_DIR: /data
TRUST_PROXY: 1
RP_ID: opengym.ddns.net #or your own NASLOCALIP.
ORIGIN: https://opengym.ddns.net #or your NASLOCALIP with http:// at the beginning and :5445 at the end.
RP_NAME: mariushosting
FIRST_USER_ADMIN: 1
INVITE_ONLY: 0 #switch to 1 instead of 0 after you create your first admin user.
ALLOW_GUEST: 0
SESSION_DAYS: 90
DEFAULT_LANG: en
PASSWORD_LOGIN: 1
AUDIT_LOG: 1
AUDIT_MAX: 5000
AUDIT_DAYS: 90
AUDIT_IP: off
volumes:
- /volume1/docker/opengym/data:/data:rw
- /volume1/docker/opengym/coach-auth:/coach-auth:rw
restart: on-failure:5
opengym-web:
image: ghcr.io/duartesantos8/opengym-web:latest
container_name: OpenGym-WEB
hostname: opengym-web
user: 0:0
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/ || exit 1"]
interval: 30s
timeout: 10s
retries: 5
start_period: 30s
environment:
NGINX_PORT: 80
BACKEND: opengym-api
PORT: 3777
RESOLVER: 127.0.0.11
MEDIA_UPLOAD_MAX: 48m
# Optional ā set if behind Cloudflare or using a subpath
# CF_CONNECTING_IP: "$http_cf_connecting_ip"
# BASE_PATH: /gym
ports:
- 5445:80
depends_on:
opengym-api:
condition: service_started
restart: on-failure:5
Note: Before you paste the code above in the Stack editor area below, change the value for RP_ID and type in your own NO IP DDNS without https:// at the beginning that you have previously created at STEP 4.
Note: Before you paste the code above in the Stack editor area below, change the value for ORIGIN and type in your own NO IP DDNS withĀ https:// at the beginning that you have previously created at STEP 4.
Note: Before you paste the code above in the Stack editor area below, change the value for RP_NAME and type in your own instance name. mariushosting is an example of an instance name. You should use your own name.
Note: Before you paste the code above in the Stack editor area below, change the value for DEFAULT_LANG and add your own default language.

STEP 10
If everything goes right, you will see the following message at the bottom right of your screen: āCreated stack “opengym”ā.

STEP 11
Open your Nginx Proxy Manager container that you have previously installed at STEP 3. Click Add Proxy Host. A new pop up window will open. Add the following details:
Domain Names: Type in your own noip domain name that you have previously created at STEP 4.
Scheme: http
Forward Hostname/IP: Type in the local NAS IP of your UGREEN NAS.
Forward Port: Type in the openGym local Port that is 5445
Check Block Common Exploits
Check Websockets Support
Click the SSL tab. Follow the instructions in the image below.

STEP 12
After you click the SSL tab, add the following details:
SSL Certificate: Request a new SSL Certificate
Check: Force SSL
Check: HSTS Enabled
Check: HTTP/2 Support
Click Save. Follow the instructions in the image below.

STEP 13
In the Proxy Hosts area, if everything goes right, you will see that your hostname has been generated. Click on it. Follow the instructions in the image below.

STEP 14
š¢Please Support My work by Making a Donation. Almost 99,9% of the people that install something using my guidesĀ forget to support my work, or justĀ ignoreĀ STEP 1. Iāve been very honest about this aspect of my work since the beginning: I donāt run any ADS, I donāt require subscriptions, paid or otherwise, I donāt collect IPs, emails, and I donāt have any referral links from Amazon or other merchants. I also donāt have any POP-UPs or COOKIES. I have repeatedly been told over the years how much I have contributed to the community. Itās something I love doing and have been honest about my passion since the beginning. But I also Need The Community to Support me Back to be able to continue doing this work.
STEP 15
Now open your browser and type in your HTTPS/SSL certificate like this https://opengym.ddns.netĀ that you have previously created at STEP 4. In my case it’s https://opengym.ddns.net Click Create new profile. Follow the instructions in the image below.

STEP 16
Click Password. Type in your own details. Click Create Profile. Follow the instructions in the image below.

STEP 17
Click Skip. Follow the instructions in the image below.

STEP 18
At the top of the page, click the Settings icon. Follow the instructions in the image below.

STEP 19
Your settings at a glance! Change them according to your preferences.

STEP 20
Your Stats at a glance!

STEP 21
Your workout Plan at a glance!

STEP 22
Your Exercises at a glance!

Choose a muscle to see exercises that train it.
Enjoy openGym on your UGREEN NAS!
šTROUBLESHOOTING
šNote/Update/Container: How to Update Your Docker Containers on UGREEN NAS Using Dockhand.
š³Note: How to Create Docker Shortcuts on Desktop.
šNote: How to Update Dockhand to the latest version.
šNote: How to Clean Docker with Dockhand.
This post was updated on Sunday / November 8th, 2026 at 10:24 PM