{ "module": "portainer", "version": "1", "slug": "portain", "capabilities": [ "container-runtime" ], "listens": [ { "port": 9443, "protocol": "tcp", "from": "mesh", "why": "the container dashboard, over its own tls" } ], "resources": [ { "id": "mesh-state", "type": "directory", "path": "/var/lib/mesh/portainer", "mode": "0700" }, { "id": "data", "type": "directory", "path": "/services/portainer/data", "mode": "0700" }, { "id": "server", "type": "container", "name": "portainer", "image": "portainer/portainer-ce@sha256:511f3f06c96fe3b993ebeaafde311c1959cae73a7ef825dba6397d51b450dffa", "ports": [ "9443" ], "volumes": [ "/services/portainer/data:/data", "/var/run/docker.sock:/var/run/docker.sock" ] }, { "id": "runtime-config", "type": "file", "path": "/var/lib/mesh/portainer/config.json", "mode": "0600", "content": "{}\n", "merge": "json" }, { "id": "runtime", "type": "container", "name": "mesh-portainer", "image": "mesh-runtime-portainer@sha256:0000000000000000000000000000000000000000000000000000000000000000", "network": "host", "volumes": [ "/var/lib/mesh/portainer/broker:/run/secrets/broker:ro", "/var/lib/mesh/portainer/config.json:/run/config/config.json:ro" ], "env": { "MESH_BROKER_FILE": "/run/secrets/broker", "MESH_PORTAINER_URL": "https://127.0.0.1:9443", "MESH_PORTAINER_CONFIG_FILE": "/run/config/config.json" }, "restart-on": [ "runtime-config" ] } ], "own-secrets": { "broker": "/var/lib/mesh/portainer/broker" } }