{ "module": "gitea", "version": "1", "requires": ["postgres-database"], "contributes": { "postgres-database": {"name": "gitea"} }, "binds": {"postgres-database": "/var/lib/gitea/database.json"}, "secrets": {"postgres-database": "/var/lib/gitea/database.env"}, "capabilities": ["container-runtime"], "listens": [ {"port": 3000, "protocol": "tcp", "from": "mesh", "why": "the forge, over http"}, {"port": 2222, "protocol": "tcp", "from": "mesh", "why": "git over ssh. Not 22: the machine's own daemon holds that, and a module does not take it"} ], "resources": [ {"id": "state", "type": "directory", "path": "/var/lib/gitea", "mode": "0700"}, {"id": "server", "type": "container", "name": "gitea", "image": "gitea@sha256:0000000000000000000000000000000000000000000000000000000000000000", "env": {"DB_TYPE": "postgres", "USER_UID": "1000", "USER_GID": "1000"}, "env-file": ["/var/lib/gitea/database.env"], "ports": ["3000:3000", "2222:22"], "volumes": ["/services/gitea/gitea:/data"]} ] }