This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,2 +1,5 @@
|
||||
config.json
|
||||
node_modules/
|
||||
node_modules/
|
||||
bot.tar
|
||||
api.tar
|
||||
web.tar
|
8
bot/commands/est.js
Normal file
8
bot/commands/est.js
Normal file
@ -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);
|
||||
};
|
7
build.bat
Normal file
7
build.bat
Normal file
@ -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
|
@ -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:
|
||||
|
Reference in New Issue
Block a user