docker-hangoutsbot
Forked from PHLAK/docker-hangoutsbot
Docker image for Hangoutsbot client.
Running the Container
First create a named data volume to hold the persistent config data:
docker volume create --name hangoutsbot-data
First run & authentication
The first time you run the bot you have to authenticate it manually. To do this run the bot interactively and follow the instructions given:
docker run -it --rm -v hangoutsbot-data:/etc/hangoutsbot phlak/hangoutsbot
Running the bot
Once authenticated you can use Ctrl + C
to kill the running container and run
a daemonized instance of the bot image:
docker run -dt -v hangoutsbot-data:/etc/hangoutsbot --name hangoutsbot phlak/hangoutsbot
Optional 'docker run' Arguments
-e TZ=America/Phoenix
- Set the timezone for your server. You can find your timezone in this
list of timezones. Use the (case sensitive)
value from the TZ
column. If left unset, timezone will be UTC.
--restart unless-stopped
- Always restart the container regardless of the exit status, but do not
start it on daemon startup if the container has been put to a stopped
state before. See the Docker restart policies
for additional details.
Copyright
This project is licensed under the MIT License.