项目作者: PHLAK

项目描述 :
Docker image for Hangoutsbot client.
高级语言: Dockerfile
项目地址: git://github.com/PHLAK/docker-hangoutsbot.git
创建时间: 2016-02-06T00:25:57Z
项目社区:https://github.com/PHLAK/docker-hangoutsbot

开源协议:MIT License

下载


docker-hangoutsbot



Join our
Become a Sponsor
Become a Patron
One-time Donation


Docker image for Hangoutsbot client.


Running the Container

First create a named data volume to hold the persistent config data:

  1. 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:

  1. 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:

  1. 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.

Troubleshooting

For general help and support join our Slack Workspace.

Please report bugs to the GitHub Issue Tracker.

This project is licensed under the MIT License.