Dockerize My Continuous Deployment - dmcd
DMCD is being used to auto deploy apps, it uses a webhook to know when there is a new image ready to pull,
then pulls it and recreats a new container ready for production. This webhook can be used in hub.docker.com
, or what suits the best.
Want to contribute? Great! You can contribute by forking
this repository, then make changes and make a PR
!
If you get confused and doesn't understand something, there is documentation
(being worked on).
Or simple ask on our discord server
.
- A linux server.
- A mongodb database.
- Docker installed.
- Docker-compose installed.
You can simply run this command as root
user. And it will automatically install everything you need.
curl -o install.sh https://raw.githubusercontent.com/Tolfix/dmcd/master/install.sh && bash install.sh
Once done it will be installed in /var/dmcd
!
You can run it however you feel like, but the most effectiv way is using pm2
Run npm run start
and it will run as usual.
- Install pm2:
npm i pm2 -g
- Start by running:
pm2 start npm -- start
Default user is admin
, and password is the password you got prompted to type in setup
or by the installation
script.
OS | Supported |
---|---|
Ubuntu | ✔ |
CentOS | ❌ |
Windows | ❌ |
MacOS | ❌ |
Tolfix is a company
focusing about IT
, Development
and Networking
, we drive to help others with their problems
when it comes to IT
and love contributing to others.
Want to find more information about us you can visit us at https://tolfix.com/
.