After docker restart nginx start before mobydock
Opened this issue · 0 comments
jeckep commented
to reproduce:
sudo systemctl restart docker
Because nginx starts first it cannot get access to mobydock volume and therefore cannot server static content. Looks like something wrong in systemd units files. But if we stop mobydock nginx restarted too and after mobydock as expected.
see https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files
https://wiki.archlinux.org/index.php/Systemd_(%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)