infra: docker-compose.yml'i repo köküne taşı

Coolify build sırasında --project-directory olarak repo kökünü
kullanıyor; compose dosyası infra/ altındayken build context: ".."
/artifacts/apps yerine /artifacts/../apps'e (repo dışına) çözümleniyor
ve "lstat /artifacts/apps: no such file or directory" hatasıyla
patlıyordu. Dosyayı köke taşıyıp context: "." yaparak hem Coolify hem
de lokal `docker compose up` çağrısı için tutarlı hale getirdik.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-30 14:49:28 +03:00
co-authored by Claude Sonnet 5
parent 8ff0d1d7ef
commit 8419fbd963
2 changed files with 6 additions and 7 deletions
+2 -3
View File
@@ -16,7 +16,6 @@ apps/
worker/ Python — chat-downloader, sinyal analizi, Whisper STT worker/ Python — chat-downloader, sinyal analizi, Whisper STT
packages/ packages/
db/ Prisma schema + client (Node tarafı) db/ Prisma schema + client (Node tarafı)
infra/
docker-compose.yml docker-compose.yml
``` ```
@@ -42,7 +41,7 @@ pnpm install
```bash ```bash
# Redis + Postgres'i ayağa kaldır # Redis + Postgres'i ayağa kaldır
docker compose -f infra/docker-compose.yml up sc_redis sc_postgres docker compose up sc_redis sc_postgres
# Şemayı uygula # Şemayı uygula
pnpm db:migrate pnpm db:migrate
@@ -68,7 +67,7 @@ python -m worker.main
### Docker Compose ile (tüm servisler) ### Docker Compose ile (tüm servisler)
```bash ```bash
docker compose -f infra/docker-compose.yml up --build docker compose up --build
``` ```
Panel: http://localhost:3000 · API daemon health: http://localhost:4001/health Panel: http://localhost:3000 · API daemon health: http://localhost:4001/health
@@ -19,7 +19,7 @@ services:
sc_api_daemon: sc_api_daemon:
build: build:
context: .. context: .
dockerfile: apps/api-daemon/Dockerfile dockerfile: apps/api-daemon/Dockerfile
environment: environment:
REDIS_URL: redis://sc_redis:6379 REDIS_URL: redis://sc_redis:6379
@@ -41,7 +41,7 @@ services:
sc_heavy_worker: sc_heavy_worker:
build: build:
context: .. context: .
dockerfile: apps/worker/Dockerfile dockerfile: apps/worker/Dockerfile
environment: environment:
REDIS_URL: redis://sc_redis:6379 REDIS_URL: redis://sc_redis:6379
@@ -59,7 +59,7 @@ services:
sc_frontend: sc_frontend:
build: build:
context: .. context: .
dockerfile: apps/frontend/Dockerfile dockerfile: apps/frontend/Dockerfile
environment: environment:
DATABASE_URL: postgresql://streamclipper:streamclipper@sc_postgres:5432/streamclipper DATABASE_URL: postgresql://streamclipper:streamclipper@sc_postgres:5432/streamclipper