13 lines
380 B
SYSTEMD
13 lines
380 B
SYSTEMD
|
[Unit]
|
||
|
Description=Container running saucy
|
||
|
Wants=network.target
|
||
|
After=network-online.target container-postgres.service
|
||
|
|
||
|
[Service]
|
||
|
Restart=on-failure
|
||
|
TimeoutStopSec=70
|
||
|
ExecStart=/usr/bin/docker run --pull=always --rm -it --name saucy --env-file /srv/saucy/env -v /srv/saucy/data:/data -p80:3000 git.ansol.org/ansol/saucy:latest
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target default.target
|