chore(gelistirme): frontend servisini docker compose yapisina ekle

This commit is contained in:
2026-03-01 01:12:49 +03:00
parent 48fb0c9487
commit 96d8a66a97
3 changed files with 26 additions and 2 deletions

View File

@@ -48,6 +48,25 @@ services:
networks:
- netflix-scraper-network
frontend:
image: node:20-alpine
container_name: netflix-scraper-frontend-dev
restart: unless-stopped
working_dir: /app
ports:
- "5173:5173"
environment:
- VITE_API_PROXY_TARGET=http://app:3000
command: sh -c "npm install && npm run dev -- --host 0.0.0.0 --port 5173"
volumes:
- ./frontend:/app:delegated
- frontend_node_modules_data:/app/node_modules
depends_on:
app:
condition: service_healthy
networks:
- netflix-scraper-network
postgres:
image: postgres:16-alpine
container_name: netflix-scraper-postgres-dev
@@ -89,6 +108,7 @@ volumes:
postgres_data_dev:
redis_data_dev:
node_modules_data:
frontend_node_modules_data:
networks:
netflix-scraper-network: