Created
March 31, 2016 10:36
-
-
Save sttts/36f6320fffa919962add88bfd8f7386f to your computer and use it in GitHub Desktop.
Marathon app for https://github.com/CWSpear/local-persist
This file contains hidden or 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": "/local-persist", | |
| "instances": 2, | |
| "cpus": 1, | |
| "mem": 128, | |
| "container": { | |
| "type": "DOCKER", | |
| "docker": { | |
| "image": "cwspear/docker-local-persist-volume-plugin", | |
| "network": "HOST", | |
| "forcePullImage": true | |
| }, | |
| "volumes": [ | |
| { | |
| "containerPath": "/run/docker/plugins", | |
| "hostPath": "/run/docker/plugins", | |
| "mode": "RW" | |
| }, | |
| { | |
| "containerPath": "/data", | |
| "hostPath": "/data", | |
| "mode": "RW" | |
| } | |
| ] | |
| }, | |
| "constraints": [["hostname", "UNIQUE"]], | |
| "upgradeStrategy": { | |
| "minimumHealthCapacity": 0, | |
| "maximumOverCapacity": 0 | |
| }, | |
| "acceptedResourceRoles": [ "slave_public", "*" ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment