Basic docker compose deployment for Synology NAS
- Synology 7.1 NAS with Docker installed form the Package Center.
- SSH access enabled (sudo rights)
- A Shared folder created form the Synology Dashboard (e.g: Applications/Nighscout)
- Copy the project files to the Synology shared folder though SSH or file upload.
- Edit/verify .env
- Edit/verify the ns*.env setting files
SSH into the Synology box and make the shared folder loaction the current directory (e.g: cd /volume1/Applications/Nighscout)
- Startup using the start.sh script (you will need sudo richts and are asked for the users password)
- Verify all containers start without errors.
- Open the Synology Dashbaord and validate you see the 3 Docker containers running.
The Nighscroout site will only be locally accessible on IP/port 0.0.0.0:1337 or localhost:1337. To very run the following command from the SSH prompt:
curl localhost:1337
Add configuration for making the site accessible.
If you already have an external MongoDB in use (like on Heroku/Atlas), cheout the scripts under mongo/heroku.