This commit is contained in:
Alexander Bocken 2023-07-04 12:37:13 +02:00 committed by GitHub
parent ad599eb2d7
commit 9a70969f75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ ExecStop=/usr/bin/docker compose stop
WantedBy=multi-user.target WantedBy=multi-user.target
``` ```
Create directories as necessary and place your `docker-compose.yml` in an appropriately named folder (as an example: "myprogram") in `/etc/docker-compose`. Create directories as necessary and place your `docker-compose.yml` in an appropriately named folder (as an example: "myprogram") in `/etc/docker/compose`.
Ergo: Your docker-compose.yml should be in `/etc/docker/compose/myprogram/docker-compose.yml`. Ergo: Your docker-compose.yml should be in `/etc/docker/compose/myprogram/docker-compose.yml`.
Reload the daemon and start your service: Reload the daemon and start your service: