Files
discordeno/template/bigbot/docker-compose.yml
Jonathan Ho a8a89d4b16 feat(Bigbot): added docker-compose (#2538)
* chore: fix script extension

* chore: remove extention

* fix: at least it run can now

* chore: fix dev script

* refactor: change to use env file for config

* chore: update readme

* refactor: put dotenv to top

* feat: add docker and influxdb

* chore: disable deno fmt on bigbot node_modules

* style: deno fmt

* style: deno fmt after upgrade deno

* chore: remove dev console.log

* chore: reverse the influxdb env

* chore: limit the influxdb to localhost

* refactor: seperate build process

* chore: add user pass docs

* refactor: route all to handler

* fix: skip if webhook not exist

* fix: change to use runMethod for send response

* chore: gateway don't depend on bot

* fix: skip if webhook not exist

* fix: first command and error reply not sending

* fix: add try catch to error reply

* fix: reverse interactive.reply

* feat: add fetch analytics to bot process
2022-10-22 07:28:33 -05:00

32 lines
478 B
YAML

version: '3.8'
services:
influxdb:
image: "influxdb:2.4.0-alpine"
ports:
- 127.0.0.1:8086:8086
env_file:
- .env
rest:
build:
context: .
target: rest
depends_on:
- influxdb
env_file:
- .env
gateway:
build:
context: .
target: gateway
depends_on:
- rest
env_file:
- .env
bot:
build:
context: .
target: bot
depends_on:
- rest
env_file:
- .env