tree: 9bbf4667da9db942a1c66a1c2ce3a209c5c3664c [path history] [tgz]
  1. discord-irc.json
  2. Dockerfile
  3. README.md
  4. start.py
  5. supervisord.conf
infra/discord-irc-bridge/README.md

IRC <> Discord bridge

This directory contains the docker image for the discord<>IRC bot. The docker container is built and pushed running:

docker build -t gcr.io/perfetto-irc/discord-irc-bridge .
docker push gcr.io/perfetto-irc/discord-irc-bridge

The docker container requires two environment variables to be set (see below). These are set at the GCE project level (project: perfetto-irc). There is a VM template in the GCE project which has the right env vars set. If a VM restart is required use the template, don't create the VM from scratch.

NICKNAME: This must be set to perfetto_discord:password. The password can be obtained on the usual internal website for passwords. Look for the account “perfetto_discord@freenode”.

DISCORD_TOKEN: This must be set to the Discord token for the bot. Look for the account “perfetto-discord-bot-token” in the internal password website.