services: init-mcpo: image: alpine:3.20 container_name: init-mcpo user: '0' command: > sh -c "cp -fu /sources/mcpo-config.yaml /app/config.yml" volumes: - ./sources:/sources # Chemin des stacks pour Hawser sous Ubuntu - /var/lib/docker/volumes/hawser_stacks/_data/mcpo/sources:/sources # Chemin des stacks pour Hawser sous debian # - /opt/hawser-stacks/zigbee2mqtt/sources:/sources - /var/lib/docker/volumes/zigbee2mqtt/data:/app/data restart: "no" mcpo: image: ghcr.io/modelcontextprotocol/mcpo:latest container_name: mcpo restart: always ports: - "8888:8000" volumes: - /var/lib/docker/volumes/mcpo/mcpo-config.yaml:/app/config.yaml:ro