Skip to content

Commit 1ab63c9

Browse files
committed
Add node-commander local-agent registry declaration
1 parent 77859a7 commit 1ab63c9

1 file changed

Lines changed: 60 additions & 0 deletions

File tree

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"schemaVersion": "sourceos.local-agent.v1",
3+
"name": "node-commander",
4+
"label": "org.socioprophet.node-commander",
5+
"scope": "user",
6+
"runtime": "podman",
7+
"owner": {
8+
"project": "SocioProphet",
9+
"component": "node-commander",
10+
"contact": "platform"
11+
},
12+
"container": {
13+
"name": "node-commander",
14+
"runtimeImage": "localhost/socioprophet/node-commander:dev-boot",
15+
"sourceImage": "us-central1-docker.pkg.dev/socioprophet-web/node-commander/node-commander:dev-boot",
16+
"pullPolicy": "never"
17+
},
18+
"podman": {
19+
"connection": "podman-machine-default",
20+
"requireMachine": true,
21+
"requireLocalImage": true,
22+
"rootless": true
23+
},
24+
"auth": {
25+
"mode": "empty-authfile",
26+
"authfile": "~/.config/containers/empty-auth.json",
27+
"allowAmbientDockerConfig": false,
28+
"allowInteractiveCredentialHelper": false
29+
},
30+
"macos": {
31+
"launchd": {
32+
"plist": "~/Library/LaunchAgents/org.socioprophet.node-commander.plist",
33+
"legacySystemPlist": "/Library/LaunchAgents/org.socioprophet.node-commander.plist",
34+
"runAtLoad": true,
35+
"keepAlive": false
36+
}
37+
},
38+
"linux": {
39+
"systemdUserUnit": "~/.config/systemd/user/org.socioprophet.node-commander.service",
40+
"restart": "on-failure",
41+
"restartSec": 10,
42+
"startLimitIntervalSec": 3600,
43+
"startLimitBurst": 3
44+
},
45+
"logs": {
46+
"directory": "~/Library/Logs/SocioProphet",
47+
"app": "~/Library/Logs/SocioProphet/node-commander.log"
48+
},
49+
"health": {
50+
"type": "podman-container",
51+
"expected": "running"
52+
},
53+
"quarantine": {
54+
"captureServiceDefinition": true,
55+
"captureLogs": true,
56+
"captureRuntimeState": true,
57+
"captureImageMetadata": true,
58+
"captureRedactedAuthConfig": true
59+
}
60+
}

0 commit comments

Comments
 (0)