version: "3.8" services: api: build: . ports: - "8000:8000" volumes: - /var/run/docker.sock:/var/run/docker.sock - ./data:/app/data