Our great sponsors
-
deploy
Ansible role to deploy scripting applications like PHP, Python, Ruby, etc. in a capistrano style
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I don't think there's a writeup out there, but mrsk just uses docker under the hood. So, if you have a CMD in your Dockerfile, it will use that.
If you have an image that can run multiple things, like a rails app that can run the app process for web traffic by default, but it can also run job workers with the right command, you can provide the cmd in the mrsk config. You can see this in the jobs role in the example: https://github.com/mrsked/mrsk#using-different-roles-for-ser....
Interestingly there has been a resurgence of the Capistrano approach in the PHP community with ansistrano: https://github.com/ansistrano/deploy
That’s Capistrano v2 implemented in Ansible. Honestly been tempted just to try it on a side project for fun.
I wrote something to do just that:
https://gitlab.com/stavros/harbormaster
SSH into the server, run the Docker container, give it a config file with the images you want to run, and it handles everything else automatically.
Have you checked out Dokku [0] or others like it?
If so, what do you perceive as the gaps between Dokku and Platform.sh? I ask as an employee of a PaaS (not Platform.sh). So I'm curious for discovery and learning.