feat: added docker build for projects

This commit is contained in:
Lisoveliy
2025-05-01 23:52:08 +03:00
parent 95e1f3bcac
commit ace122dbbd
3 changed files with 46 additions and 1 deletions

View File

@@ -9,4 +9,27 @@ services:
ports:
- "5432:5432"
volumes:
- ./.docker/postgres_data:/var/lib/postgresql/data
- ./.docker/postgres_data:/var/lib/postgresql/data
networks:
- jobot
backend:
build:
context: .
dockerfile: JOBot.Backend/Dockerfile
depends_on:
- postgres
networks:
- jobot
bot:
build:
context: .
dockerfile: JOBot.TClient/Dockerfile
depends_on:
- backend
networks:
- jobot
networks:
jobot: