[hw-8] add: repo layer

This commit is contained in:
3ybactuk
2025-07-25 23:04:31 +03:00
committed by 3ybacTuK
parent c1e8934646
commit 6420eaf3d7
25 changed files with 4194 additions and 6 deletions

View File

@@ -75,6 +75,28 @@ services:
ports:
- "5434:5432"
postgres-comments-shard-1:
image: gitlab-registry.ozon.dev/go/classroom-18/students/base/postgres:16
environment:
POSTGRES_DB: comments_db
POSTGRES_USER: comments-user-1
POSTGRES_PASSWORD: comments-password-1
ports:
- "5432:5432"
volumes:
- shard1-data:/var/lib/postgresql/data
postgres-comments-shard-2:
image: gitlab-registry.ozon.dev/go/classroom-18/students/base/postgres:16
environment:
POSTGRES_DB: comments_db
POSTGRES_USER: comments-user-2
POSTGRES_PASSWORD: comments-password-2
ports:
- "5432:5432"
volumes:
- shard2-data:/var/lib/postgresql/data
kafka-ui:
container_name: kafka-ui
image: provectuslabs/kafka-ui:latest