services: backend: build: context: ./backend dockerfile: Dockerfile container_name: osa-backend ports: - "5001:5001" volumes: - ./backend:/app - /app/.venv environment: - FLASK_ENV=development - DATABASE_URL=sqlite:////app/osa.db restart: unless-stopped frontend: build: context: ./frontend dockerfile: Dockerfile args: - NODE_IMAGE=node:22-slim container_name: osa-frontend ports: - "8080:5173" volumes: - ./frontend:/app - /app/node_modules environment: - VITE_API_URL=/api depends_on: - backend restart: unless-stopped extra_hosts: - "host.docker.internal:host-gateway" volumes: backend_data: frontend_data: