proper dev environment

This commit is contained in:
BuckarooBanzay 2021-07-01 20:08:56 +02:00
parent 2504b264b1
commit 092f1d09c0
3 changed files with 31 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,3 +1,2 @@
node_modules
beerchat.js
beerchat
docker-compose.override.yml

21
beerchat.js Normal file
View File

@ -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"
}
}]
};

9
docker-compose.yml Normal file
View File

@ -0,0 +1,9 @@
version: '2'
services:
beerchat:
build: .
volumes:
- "./beerchat.js:/data/beerchat.js"
ports:
- "8080:8080"