This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
|||||||
config.json
|
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:
|
services:
|
||||||
api:
|
api:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: shiro2:latest
|
image: dd-multitool-api:latest
|
||||||
networks:
|
networks:
|
||||||
- dundef-tool
|
- dundef-tool
|
||||||
environment:
|
environment:
|
||||||
- PORT=2000
|
- PORT=2000
|
||||||
# web:
|
# web:
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
# build:
|
# image: dd-multitool-web:latest
|
||||||
# context: ./web
|
|
||||||
# dockerfile: Dockerfile
|
|
||||||
# networks:
|
# networks:
|
||||||
# - dundef-tool
|
# - dundef-tool
|
||||||
# depends_on:
|
# depends_on:
|
||||||
@ -24,7 +22,7 @@ services:
|
|||||||
- TOKEN=${TOKEN}
|
- TOKEN=${TOKEN}
|
||||||
- PREFIX=${PREFIX}
|
- PREFIX=${PREFIX}
|
||||||
- SHARED_ENDPOINT=http://api:2000/
|
- SHARED_ENDPOINT=http://api:2000/
|
||||||
image: shiro:latest
|
image: dd-multitool-bot:latest
|
||||||
networks:
|
networks:
|
||||||
- dundef-tool
|
- dundef-tool
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Reference in New Issue
Block a user