Docker-Compose Cheatsheet

# Restart single instance and refresh image sudo docker-compose up -d --build backend

Systemd: docker-compose system configuration

Description=iix-notes @ iix.se docker Requires=docker.service After=docker.service [Service] WorkingDirectory=/srv/iix-notes ExecStart=/usr/local/bin/docker-compose up ExecStop=/usr/local/bin/docker-compose down [Install] WantedBy=multi-user.target