Hugo Peixoto
4c05a03f93
Em vez de usar o comminuty module cenas para docker, usa systemd para gerir os jobs e env files normais. Aproveita e renomeia um dos yaml para yml.
13 lines
380 B
Desktop File
13 lines
380 B
Desktop File
[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
|