Monorepo skeleton, Prisma schema, core domain and services with tests

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
zabudko-ruandClaude Opus 5.5 committed 2026-10-17 19:45:51 +04:00
commit 45d7512d2b
64 files changed
+9483

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
name: barev-dev
services:
postgres:
image: postgres:17-alpine
environment:
POSTGRES_USER: barev
POSTGRES_PASSWORD: barev
POSTGRES_DB: barev
TZ: Asia/Yerevan
ports: ["5434:5432"]
volumes: [pgdata:/var/lib/postgresql/data]
healthcheck:
test: ["CMD-SHELL", "pg_isready -U barev"]
interval: 5s
retries: 10
redis:
image: redis:7-alpine
ports: ["6380:6379"]
# S3-совместимое хранилище. Бакет создаёт API при старте.
s3:
image: chrislusf/seaweedfs:latest
command: server -dir=/data -s3 -s3.port=9000 -s3.config=/etc/seaweed/s3.json -master.volumeSizeLimitMB=256
ports: ["9000:9000"]
volumes:
- s3data:/data
- ./seaweed-s3.json:/etc/seaweed/s3.json:ro
volumes:
pgdata:
s3data:
+9
View File
@@ -0,0 +1,9 @@
{
"identities": [
{
"name": "barev",
"credentials": [{ "accessKey": "barev", "secretKey": "barev-secret" }],
"actions": ["Admin", "Read", "Write", "List", "Tagging"]
}
]
}