version: '3.11' services: backend: build: context: ./backend ports: - "8000:8000" volumes: - ./backend:/app frontend: build: context: ./frontend ports: - "8501:8501" volumes: - ./frontend:/app environment: - API_URL=http://0.0.0.0:8000 depends_on: - backend