hashi-stack/hashi-ui/hashi-ui.service
2020-05-18 21:37:21 -07:00

20 lines
377 B
Desktop File

[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