feat(deployments): anlık durum ve log izleme özelliği ekle
- Socket.IO tabanlı gerçek zamanlı deployment log ve durum bildirimleri ekle - deployment:subscribe ve deployment:unsubscribe soket olaylarını destekle - DeploymentService'e anlık durum ve log yayınlama özelliği ekle - Deployment silinirken docker kaynaklarını temizle - Ortam değişkenlerini tek bir .env.example dosyasında birleştir - Docker compose yapılandırmasını güncelle (PWD ve DEPLOYMENTS_ROOT kullan) - Repo URL'sinden proje adını otomatik öner - Güvensiz bağlamlar için clipboard kopya fallback mekanizması ekle - Socket.IO path'ini /api/socket.io olarak ayarla
This commit is contained in:
@@ -3,10 +3,12 @@ services:
|
||||
build: ./backend
|
||||
command: npm run build && npm start
|
||||
volumes:
|
||||
- ${DEPLOYMENTS_ROOT_HOST}:/workspace
|
||||
- ${PWD}:${PWD}
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
env_file:
|
||||
- ./backend/.env
|
||||
- ./.env
|
||||
environment:
|
||||
DEPLOYMENTS_ROOT: ${PWD}/deployments
|
||||
ports:
|
||||
- "4000:4000"
|
||||
|
||||
@@ -17,7 +19,7 @@ services:
|
||||
- ./frontend:/app
|
||||
- /app/node_modules
|
||||
env_file:
|
||||
- ./frontend/.env
|
||||
- ./.env
|
||||
environment:
|
||||
ALLOWED_HOSTS: ${ALLOWED_HOSTS}
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user