mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-29 19:58:52 +00:00
15 lines
486 B
SYSTEMD
15 lines
486 B
SYSTEMD
![]() |
[Unit]
|
||
|
Description=ui-for-docker
|
||
|
Requires=docker.service
|
||
|
After=docker.service
|
||
|
|
||
|
[Service]
|
||
|
Restart=always
|
||
|
ExecStartPre=-/usr/bin/docker stop ui-for-docker
|
||
|
ExecStartPre=-/usr/bin/docker rm -v ui-for-docker
|
||
|
ExecStart=/usr/bin/docker run --name ui-for-docker --rm=true -v /var/run/docker.sock:/var/run/docker.sock -p 127.0.0.1:64299:9000 dtagdevsec/ui-for-docker:1706 -H unix:///var/run/docker.sock --no-auth
|
||
|
ExecStop=/usr/bin/docker stop ui-for-docker
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|