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
+3 -4
View File
@@ -16,8 +16,7 @@ apps/
worker/ Python — chat-downloader, sinyal analizi, Whisper STT
packages/
db/ Prisma schema + client (Node tarafı)
infra/
docker-compose.yml
docker-compose.yml
```
## Ön Koşullar
@@ -42,7 +41,7 @@ pnpm install
```bash
# 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
pnpm db:migrate
@@ -68,7 +67,7 @@ python -m worker.main
### Docker Compose ile (tüm servisler)
```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