version: '3.8' services: backend: build: context: . dockerfile: Dockerfile ports: - "8000:8000" environment: - PORT=8000 volumes: - backend_data:/app/backend/data frontend: build: context: ./frontend dockerfile: Dockerfile ports: - "3000:3000" environment: - NEXT_PUBLIC_API_URL=http://localhost:8000 - NEXT_PUBLIC_WS_URL=ws://localhost:8000/ws/feed depends_on: - backend volumes: backend_data: