-
-
Save flamingspaz/9e6150e0a1b02a02d0a3375a29ce737b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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