Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
85 lines (84 sloc) 2.14 KB
{
"Job": {
"Datacenters": [
"dc1"
],
"Priority": 50,
"Type": "service",
"ID": "selenium-chrome",
"Name": "selenium-chrome",
"Region": "global",
"TaskGroups": [
{
"Meta": null,
"Tasks": [
{
"LogConfig": {
"MaxFileSizeMB": 10,
"MaxFiles": 10
},
"KillTimeout": 5000000000,
"Name": "selenium-chrome",
"Driver": "docker",
"Config": {
"image": "selenium/node-chrome",
"port_map": [
{
"chrome": 5555
}
]
},
"Env": {
"HUB_PORT_4444_TCP_ADDR": "selenium-hub.service.consul",
"HUB_PORT_4444_TCP_PORT": "4444"
},
"Services": [
{
"Checks": [
{
"Timeout": 2000000000,
"Interval": 10000000000,
"Type": "tcp",
"Name": "alive"
}
],
"PortLabel": "chrome",
"Name": "selenium-chrome"
}
],
"Resources": {
"Networks": [
{
"Mbits": 10,
"DynamicPorts": [
{
"Value": 0,
"Label": "chrome"
}
]
}
],
"IOPS": 0,
"DiskMB": 300,
"MemoryMB": 384,
"CPU": 384
}
}
],
"RestartPolicy": {
"Mode": "delay",
"Delay": 25000000000,
"Interval": 300000000000,
"Attempts": 10
},
"Constraints": null,
"Count": 1,
"Name": "selenium-chrome"
}
],
"Update": {
"MaxParallel": 1,
"Stagger": 10000000000
}
}
}