Docker
Running Butler in Docker
First configure the docker-compose.yml
file as needed, then start the Docker container in interactive mode (with output sent to the screen).
This is useful to ensure everything works as intended when first setting up Butler SOS.
docker-compose up
Once Butler has been verified to work as intended, hit ctrl-c
to stop it.
Then start Butler in deameon (background) mode:
docker-compose up -d
From here on the Docker enviromment will make sure Butler is always running, including restarting it if it for some reason stops.
Tip
There is a sample docker-compose.yaml file available in the Butler repository over at GitHub.