Skip to content

Instantly share code, notes, and snippets.

View bfs's full-sized avatar

Boris Shimanovsky bfs

View GitHub Profile
@bfs
bfs / ruby-webapp.json
Last active August 29, 2015 14:21
marathon config for ruby web app
{
"id": "my-ruby-webapp",
"container": {
"type": "DOCKER",
"docker": {
"forcePullImage": true,
"image": "boritzio/docker-github-rubyapp",
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 80, "hostPort": 0, "servicePort": 31117, "protocol": "tcp" }
@bfs
bfs / postgresql-postgis.json
Created May 16, 2015 01:00
postgresql with postgis on marathon
{
"id": "my-postgis-app",
"container": {
"type": "DOCKER",
"docker": {
"image": "boritzio/docker-postgis",
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 5432, "hostPort": 0, "servicePort": 31113, "protocol": "tcp" }
],
@bfs
bfs / chronos-marathon.json
Created May 16, 2015 00:57
chronos on marathon config
{
"id": "chronos",
"container": {
"type": "DOCKER",
"docker": {
"image": "boritzio/docker-chronos",
"network": "HOST",
"parameters": [
{ "key": "env", "value": "MESOS_ZK=zk://machine1:2181,machine2:2181,machine3:2181/mesos" },
{ "key": "env", "value": "CHRONOS_ZK=machine1:2181,machine2:2181,machine3:2181" }