Initial commit: site monorepo with API, web, and infra.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
влад
2026-07-16 10:11:54 +03:00
co-authored by Cursor
commit 016910ffb7
447 changed files with 73972 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
services:
postgres:
image: postgres:16
environment:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
POSTGRES_DB: compton_test
ports:
- "5433:5432"
redis:
image: redis:7-alpine
ports:
- "6380:6379"
api:
build: ./apps/api
env_file:
- ./apps/api/.env.test
environment:
DATABASE_URL: postgresql+psycopg://test:test@postgres:5432/compton_test
depends_on:
- postgres
- redis
ports:
- "8001:8000"
web:
build: ./apps/web
depends_on:
- api
ports:
- "5175:5173"