Created
May 23, 2017 13:46
-
-
Save xytis/eca0b97587ed06dd01b727c7ea525328 to your computer and use it in GitHub Desktop.
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
| { | |
| "Job": { | |
| "Region": "global", | |
| "ID": "delivery-ru-service", | |
| "ParentID": "", | |
| "Name": "delivery-ru-service", | |
| "Type": "service", | |
| "Priority": 50, | |
| "AllAtOnce": false, | |
| "Datacenters": [ | |
| "dtl" | |
| ], | |
| "Constraints": [ | |
| { | |
| "LTarget": "${meta.network}", | |
| "RTarget": "default", | |
| "Operand": "=" | |
| } | |
| ], | |
| "TaskGroups": [ | |
| { | |
| "Name": "delivery-ru-app", | |
| "Count": 8, | |
| "Constraints": null, | |
| "Tasks": [ | |
| { | |
| "Name": "delivery-ru-app", | |
| "Driver": "docker", | |
| "User": "", | |
| "Config": { | |
| "image": "REDACTED", | |
| "labels": [ | |
| REDACTED | |
| ], | |
| "network_mode": "nomad", | |
| "port_map": [ | |
| { | |
| "fpm": 9000 | |
| } | |
| ] | |
| }, | |
| "Constraints": null, | |
| "Env": { | |
| REDACTED | |
| }, | |
| "Services": [ | |
| { | |
| "Id": "", | |
| "Name": "delivery-ru-app", | |
| "Tags": [ | |
| REDACTED | |
| ], | |
| "PortLabel": "fpm", | |
| "Checks": [ | |
| { | |
| "Id": "", | |
| "Name": "service: \"delivery-ru-app\" check", | |
| "Type": "tcp", | |
| "Command": "", | |
| "Args": null, | |
| "Path": "", | |
| "Protocol": "", | |
| "PortLabel": "", | |
| "Interval": 10000000000, | |
| "Timeout": 2000000000, | |
| "InitialStatus": "" | |
| } | |
| ] | |
| } | |
| ], | |
| "Resources": { | |
| "CPU": 1000, | |
| "MemoryMB": 4096, | |
| "DiskMB": 0, | |
| "IOPS": 0, | |
| "Networks": [ | |
| { | |
| "Public": false, | |
| "CIDR": "", | |
| "ReservedPorts": null, | |
| "DynamicPorts": [ | |
| { | |
| "Label": "fpm", | |
| "Value": 0 | |
| } | |
| ], | |
| "IP": "", | |
| "MBits": 1 | |
| } | |
| ] | |
| }, | |
| "Meta": null, | |
| "KillTimeout": 5000000000, | |
| "LogConfig": { | |
| "MaxFiles": 2, | |
| "MaxFileSizeMB": 15 | |
| }, | |
| "Artifacts": null, | |
| "Vault": null, | |
| "Templates": null, | |
| "DispatchPayload": null | |
| } | |
| ], | |
| "RestartPolicy": { | |
| "Interval": 300000000000, | |
| "Attempts": 10, | |
| "Delay": 25000000000, | |
| "Mode": "delay" | |
| }, | |
| "EphemeralDisk": { | |
| "Sticky": false, | |
| "Migrate": false, | |
| "SizeMB": 100 | |
| }, | |
| "Meta": null | |
| }, | |
| { | |
| "Name": "delivery-ru-app-newrelic", | |
| "Count": 1, | |
| "Constraints": null, | |
| "Tasks": [ | |
| { | |
| "Name": "delivery-ru-app-newrelic", | |
| "Driver": "docker", | |
| "User": "", | |
| "Config": { | |
| "image": "REDACTED", | |
| "labels": [ | |
| REDACTED | |
| ], | |
| "network_mode": "nomad", | |
| "port_map": [ | |
| { | |
| "fpm": 9000 | |
| } | |
| ] | |
| }, | |
| "Constraints": null, | |
| "Env": { | |
| REDACTED | |
| }, | |
| "Services": [ | |
| { | |
| "Id": "", | |
| "Name": "delivery-ru-app", | |
| "Tags": [ | |
| REDACTED | |
| ], | |
| "PortLabel": "fpm", | |
| "Checks": [ | |
| { | |
| "Id": "", | |
| "Name": "service: \"delivery-ru-app\" check", | |
| "Type": "tcp", | |
| "Command": "", | |
| "Args": null, | |
| "Path": "", | |
| "Protocol": "", | |
| "PortLabel": "", | |
| "Interval": 10000000000, | |
| "Timeout": 2000000000, | |
| "InitialStatus": "" | |
| } | |
| ] | |
| } | |
| ], | |
| "Resources": { | |
| "CPU": 1000, | |
| "MemoryMB": 4096, | |
| "DiskMB": 0, | |
| "IOPS": 0, | |
| "Networks": [ | |
| { | |
| "Public": false, | |
| "CIDR": "", | |
| "ReservedPorts": null, | |
| "DynamicPorts": [ | |
| { | |
| "Label": "fpm", | |
| "Value": 0 | |
| } | |
| ], | |
| "IP": "", | |
| "MBits": 1 | |
| } | |
| ] | |
| }, | |
| "Meta": null, | |
| "KillTimeout": 5000000000, | |
| "LogConfig": { | |
| "MaxFiles": 2, | |
| "MaxFileSizeMB": 15 | |
| }, | |
| "Artifacts": null, | |
| "Vault": null, | |
| "Templates": null, | |
| "DispatchPayload": null | |
| } | |
| ], | |
| "RestartPolicy": { | |
| "Interval": 300000000000, | |
| "Attempts": 10, | |
| "Delay": 25000000000, | |
| "Mode": "delay" | |
| }, | |
| "EphemeralDisk": { | |
| "Sticky": false, | |
| "Migrate": false, | |
| "SizeMB": 100 | |
| }, | |
| "Meta": null | |
| }, | |
| { | |
| "Name": "delivery-ru-nginx", | |
| "Count": 2, | |
| "Constraints": null, | |
| "Tasks": [ | |
| { | |
| "Name": "delivery-ru-nginx", | |
| "Driver": "docker", | |
| "User": "", | |
| "Config": { | |
| "image": "REDACTED", | |
| "labels": [ | |
| REDACTED | |
| ], | |
| "network_mode": "nomad", | |
| "port_map": [ | |
| { | |
| "web": 80 | |
| } | |
| ] | |
| }, | |
| "Constraints": null, | |
| "Env": { | |
| REDACTED | |
| }, | |
| "Services": [ | |
| { | |
| "Id": "", | |
| "Name": "delivery-ru-nginx", | |
| "Tags": [ | |
| REDACTED | |
| ], | |
| "PortLabel": "web", | |
| "Checks": [ | |
| { | |
| "Id": "", | |
| "Name": "service: \"delivery-ru-nginx\" check", | |
| "Type": "http", | |
| "Command": "", | |
| "Args": null, | |
| "Path": "/health", | |
| "Protocol": "", | |
| "PortLabel": "", | |
| "Interval": 10000000000, | |
| "Timeout": 2000000000, | |
| "InitialStatus": "" | |
| } | |
| ] | |
| } | |
| ], | |
| "Resources": { | |
| "CPU": 250, | |
| "MemoryMB": 256, | |
| "DiskMB": 0, | |
| "IOPS": 0, | |
| "Networks": [ | |
| { | |
| "Public": false, | |
| "CIDR": "", | |
| "ReservedPorts": null, | |
| "DynamicPorts": [ | |
| { | |
| "Label": "web", | |
| "Value": 0 | |
| } | |
| ], | |
| "IP": "", | |
| "MBits": 1 | |
| } | |
| ] | |
| }, | |
| "Meta": null, | |
| "KillTimeout": 5000000000, | |
| "LogConfig": { | |
| "MaxFiles": 2, | |
| "MaxFileSizeMB": 15 | |
| }, | |
| "Artifacts": null, | |
| "Vault": null, | |
| "Templates": null, | |
| "DispatchPayload": null | |
| } | |
| ], | |
| "RestartPolicy": { | |
| "Interval": 300000000000, | |
| "Attempts": 10, | |
| "Delay": 25000000000, | |
| "Mode": "delay" | |
| }, | |
| "EphemeralDisk": { | |
| "Sticky": false, | |
| "Migrate": false, | |
| "SizeMB": 100 | |
| }, | |
| "Meta": null | |
| } | |
| ], | |
| "Update": { | |
| "Stagger": 10000000000, | |
| "MaxParallel": 1 | |
| }, | |
| "Periodic": null, | |
| "ParameterizedJob": null, | |
| "Payload": null, | |
| "Meta": null, | |
| "VaultToken": "", | |
| "Status": "running", | |
| "StatusDescription": "", | |
| "CreateIndex": 293934, | |
| "ModifyIndex": 25569268, | |
| "JobModifyIndex": 25569268 | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment