• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# IRC <> Discord bridge
2
3This directory contains the docker image for the discord<>IRC bot.
4The docker container is built and pushed running:
5
6```bash
7docker build -t gcr.io/perfetto-irc/discord-irc-bridge .
8docker push gcr.io/perfetto-irc/discord-irc-bridge
9```
10
11The docker container requires two environment variables to be set (see below).
12These are set at the GCE project level (project: perfetto-irc).
13There is a VM template in the GCE project which has the right env vars set.
14If a VM restart is required use the template, don't create the VM from scratch.
15
16NICKNAME: This must be set to perfetto_discord:password. The password can be
17  obtained on the usual internal website for passwords. Look for the account
18  "perfetto_discord@freenode".
19
20DISCORD_TOKEN: This must be set to the Discord token for the bot. Look for
21  the account "perfetto-discord-bot-token" in the internal password website.
22