This commit is contained in:
38
docker-compose.yml
Normal file
38
docker-compose.yml
Normal file
@ -0,0 +1,38 @@
|
||||
name: dd-multitool
|
||||
services:
|
||||
api:
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: ./api
|
||||
dockerfile: Dockerfile
|
||||
networks:
|
||||
- dundef-tool
|
||||
environment:
|
||||
- PORT=2000
|
||||
web:
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: ./web
|
||||
dockerfile: Dockerfile
|
||||
networks:
|
||||
- dundef-tool
|
||||
depends_on:
|
||||
- api
|
||||
ports:
|
||||
- "8080:80"
|
||||
bot:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TOKEN=${TOKEN}
|
||||
- PREFIX=${PREFIX}
|
||||
- SHARED_ENDPOINT=http://api:2000/
|
||||
build:
|
||||
context: ./bot
|
||||
dockerfile: Dockerfile
|
||||
networks:
|
||||
- dundef-tool
|
||||
depends_on:
|
||||
- api
|
||||
|
||||
networks:
|
||||
dundef-tool:
|
Reference in New Issue
Block a user