4 ms·
I may be ignorant but doesn't that scenario you described encapsulate how MRSK functions? From the MRSK readme[1]: Connect to the servers over SSH (using
by jahsome 4y ago
I may be ignorant but doesn't that scenario you described encapsulate how MRSK functions?
From the MRSK readme[1]:
Connect to the servers over SSH (using root by default, authenticated by your ssh key)
Install Docker on any server that might be missing it (using apt-get)
Log into the registry both locally and remotely
Build the image using the standard Dockerfile in the root of the application.
Push the image to the registry.
Pull the image from the registry onto the servers.
Ensure Traefik is running and accepting traffic on port 80.
Ensure your app responds with 200 OK to GET /up.
Start a new container with the version of the app that matches the current git version hash.
Stop the old container running the previous version of the app.
Prune unused images and stopped containers to ensure servers don't fill up.
---
1. https://github.com/mrsked/mrsk#readme https://github.com/mrsked/mrsk#readme