Switch to docker-compose-plugin

This commit is contained in:
tom.chivert
2023-09-15 11:27:20 +02:00
parent 308d877d8f
commit ae20f44d3f
2 changed files with 5 additions and 12 deletions

View File

@ -7,8 +7,8 @@ After=docker.service
Type=oneshot
RemainAfterExit=true
WorkingDirectory=/opt/docker-compose/{{ service }}
ExecStart=/usr/bin/docker-compose up -d
ExecStop=/usr/bin/docker-compose down
ExecStart=/usr/bin/docker compose up -d
ExecStop=/usr/bin/docker compose down
[Install]
WantedBy=multi-user.target