alpine-dc-service/README.md

445 B

Alpine Docker compose service

Run docker-compose services as openrc services

Copy the script init.d/dc to /etc/init.d/dc.

Each docker-compose based service $SERVICENAME must exist like so:

  • /srv/docker/$SERVICENAME/docker-compose.yml.

Finally create some symbolic link :

  • ln -s /etc/init.d/dockerservice.$SERVICENAME pointing to /etc/init.d/dc.

Services can now be started/stopped via e.g. /etc/init.d/dockerservice.gitea start.