Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am rsplaul on github.
  • I am techno (https://keybase.io/techno) on keybase.
  • I have a public key whose fingerprint is A22E B1C8 F6D5 0476 7561 C7F1 0108 8582 BAF4 BF59

To claim this, I am signing this object:

@rsplaul
rsplaul / README.md
Created October 6, 2022 14:33 — forked from mosquito/README.md
Add doker-compose as a systemd unit

Docker compose as a systemd unit

Create file /etc/systemd/system/docker-compose@.service. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.

[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service