hashi-stack/hashi-ui/hashi-ui.service

20 lines
377 B
SYSTEMD
Raw Normal View History

2020-05-19 06:37:21 +02:00
[Unit]
Description=Run Hashi-ui
Requires=nomad.service
After=nomad.service
[Install]
WantedBy=multi-user.target
[Service]
RestartSec=5
Restart=always
ExecStart=/usr/bin/docker run \
-e NOMAD_ENABLE=1 \
-e NOMAD_ADDR=http://SERVERIP:4646 \
-e CONSUL_ADDR=http://SERVERIP:8500 \
-e CONSUL_ENABLE=1 \
-e LOG_LEVEL=error \
--net=host \
jippi/hashi-ui