add architecture skeleton

This commit is contained in:
2026-04-19 13:12:04 +03:00
parent 312708531f
commit 2738f31f26
84 changed files with 2710 additions and 70 deletions
+45 -1
View File
@@ -1,7 +1,51 @@
services:
services:
postgres:
image: postgres:17
environment:
POSTGRES_DB: gymlogai
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
gymlogai.api:
image: gymlogai.api
build:
context: .
dockerfile: GymLogAI.API/Dockerfile
depends_on:
- postgres
environment:
ASPNETCORE_ENVIRONMENT: Development
ConnectionStrings__Postgres: Host=postgres;Port=5432;Database=gymlogai;Username=postgres;Password=postgres
ports:
- "5202:8080"
- "7225:8081"
gymlogai.telegrambot:
image: gymlogai.telegrambot
build:
context: .
dockerfile: GymLogAI.TelegramBot/Dockerfile
depends_on:
- postgres
environment:
DOTNET_ENVIRONMENT: Development
ConnectionStrings__Postgres: Host=postgres;Port=5432;Database=gymlogai;Username=postgres;Password=postgres
TelegramBot__BotToken: ""
gymlogai.worker:
image: gymlogai.worker
build:
context: .
dockerfile: GymLogAI.Worker/Dockerfile
depends_on:
- postgres
environment:
DOTNET_ENVIRONMENT: Development
ConnectionStrings__Postgres: Host=postgres;Port=5432;Database=gymlogai;Username=postgres;Password=postgres
volumes:
postgres_data: