diff --git a/.gitignore b/.gitignore index 9592af0..5c22944 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ config.json -node_modules/ \ No newline at end of file +node_modules/ +bot.tar +api.tar +web.tar \ No newline at end of file diff --git a/bot/commands/est.js b/bot/commands/est.js new file mode 100644 index 0000000..382e112 --- /dev/null +++ b/bot/commands/est.js @@ -0,0 +1,8 @@ +exports.name = "est"; +exports.description = ":money_with_wings: Alias for estimate."; +exports.usage = "alias"; +exports.example = "alias"; +exports.hidden = true; +exports.run = async (client, message, args) => { + require("./estimate").run(client, message, args); +}; diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..6993be0 --- /dev/null +++ b/build.bat @@ -0,0 +1,7 @@ +docker build -t dd-multitool-bot:latest ./bot +docker build -t dd-multitool-api:latest ./api +docker build -t dd-multitool-web:latest ./web + +docker save -o bot.tar dd-multitool-bot:latest +docker save -o api.tar dd-multitool-api:latest +docker save -o web.tar dd-multitool-web:latest \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index fe22c0f..ccb6700 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,16 +2,14 @@ name: dd-multitool services: api: restart: unless-stopped - image: shiro2:latest + image: dd-multitool-api:latest networks: - dundef-tool environment: - PORT=2000 # web: # restart: unless-stopped - # build: - # context: ./web - # dockerfile: Dockerfile + # image: dd-multitool-web:latest # networks: # - dundef-tool # depends_on: @@ -24,7 +22,7 @@ services: - TOKEN=${TOKEN} - PREFIX=${PREFIX} - SHARED_ENDPOINT=http://api:2000/ - image: shiro:latest + image: dd-multitool-bot:latest networks: - dundef-tool depends_on: