38 lines
834 B
YAML
38 lines
834 B
YAML
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: |