Skip to content

Instantly share code, notes, and snippets.

@flamingspaz
Last active March 13, 2017 22:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flamingspaz/9e6150e0a1b02a02d0a3375a29ce737b to your computer and use it in GitHub Desktop.
Save flamingspaz/9e6150e0a1b02a02d0a3375a29ce737b to your computer and use it in GitHub Desktop.
{
"id":"CHANGEME",
"cpus":0.3,
"mem":256.0,
"container":{
"type":"DOCKER",
"volumes":[
{
"containerPath":"/var/www/html",
"hostPath":"/srv/marathon-efs/CHANGEME",
"mode":"RW"
}
],
"docker":{
"image":"partinfra/partinfra-wordpress:2016.9-2",
"network":"BRIDGE",
"parameters":[
{
"key":"env",
"value":"WORDPRESS_DB_HOST=CHANGEME"
},
{
"key":"env",
"value":"WORDPRESS_DB_USER=CHANGEME"
},
{
"key":"env",
"value":"WORDPRESS_DB_PASSWORD=CHANGEME"
},
{
"key":"env",
"value":"WORDPRESS_DB_NAME=CHANGEME"
}
],
"portMappings":[
{
"containerPort":80,
"hostPort":0
}
]
}
},
"labels": {
"tags": "public,staging", #CHANGEME
"app": "wordpress",
"env": "staging", #CHANGEME
"project": "CHANGEME"
},
"healthChecks":[
{
"path":"/",
"protocol":"TCP",
"portIndex":0,
"gracePeriodSeconds":300,
"intervalSeconds":60,
"timeoutSeconds":20,
"maxConsecutiveFailures":0,
"ignoreHttp1xx":false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment