Skip to content

Commit 680f1a8

Browse files
Gabriel MonroyMatthew Fisher
authored andcommitted
chore(router): expose router on 80 and 443, add timeout for image download
1 parent dd065bd commit 680f1a8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

controller/scheduler/coreos.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,9 @@ def attach(self, name):
266266
267267
[Service]
268268
ExecStartPre=/usr/bin/docker pull {image}
269-
ExecStart=-/usr/bin/docker run --name {name} -P -e ETCD=172.17.42.1:4001 {image} {command}
269+
ExecStart=-/usr/bin/docker run --name {name} -p 80:80 -p 443:443 -e ETCD=172.17.42.1:4001 {image} {command}
270270
ExecStop=-/usr/bin/docker rm -f {name}
271+
TimeoutStartSec=10min
271272
"""
272273

273274
LOGGER_TEMPLATE = """

0 commit comments

Comments
 (0)