From 092f1d09c084426a414c2239b00529cf70442f1b Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Thu, 1 Jul 2021 20:08:56 +0200 Subject: [PATCH] proper dev environment --- .gitignore | 3 +-- beerchat.js | 21 +++++++++++++++++++++ docker-compose.yml | 9 +++++++++ 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 beerchat.js create mode 100644 docker-compose.yml 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