/synology-ci-cd-nodejs-demo

Builds and deploys a demo Node.js application to your Synology NAS using Docker and Docker-compose.

Primary LanguageShellMIT LicenseMIT

Synology CI/CD Node Demo

Builds and deploys a Node.js demo application to your Synology NAS using sh, git, docker and docker-compose.

What!?

If you run bash run.sh, it will check if the application is up to date (with Git) and use Docker and Docker Compose to spin up the application. When you visit the IP of the machine on port 3000, it will return the text Hello World! My watch says: {server-time}.

How does it work?

In this blog I show how you can deploy using sh, git, docker and docker-compose to a Synology NAS.