diff --git a/.gitignore b/.gitignore index 725ca06..42dc0c9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ node_modules -beerchat.js -beerchat +docker-compose.override.yml \ No newline at end of file diff --git a/beerchat.js b/beerchat.js new file mode 100644 index 0000000..f6236bc --- /dev/null +++ b/beerchat.js @@ -0,0 +1,21 @@ +module.exports = { + "remotes": [{ + "name": "IRC", + "type": "irc", + "host": "irc.libera.chat", + "username": "beerchat-test", + "password": "dummy", + "system_channel": "main", + "channels": { + "main": "pandorabox-test" + } + },{ + "name": "Discord", + "type": "discord", + "token": process.env.BEERCHAT_DISCORD_TEST_TOKEN, + "system_channel": "main", + "channels": { + "main": "pandorabox-test" + } + }] +}; \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..7479713 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +version: '2' + +services: + beerchat: + build: . + volumes: + - "./beerchat.js:/data/beerchat.js" + ports: + - "8080:8080" \ No newline at end of file