feat: add Cockpit web UI service to nas-samba app

This commit is contained in:
2026-03-09 18:21:09 +00:00
parent a16b5a232e
commit 2351ad84bc
2 changed files with 36 additions and 5 deletions

View File

@@ -5,7 +5,7 @@
{
"name": "nas-samba",
"image": "servercontainers/samba:latest",
"isMain": true,
"isMain": false,
"hostname": "nas",
"addPorts": [
{
@@ -41,6 +41,36 @@
"value": "[data]; path=/nas; valid users=alexz; browsable=yes; writable=yes; create mask=0664; directory mask=0775"
}
]
},
{
"name": "nas-cockpit",
"image": "cockpit/ws:latest",
"isMain": true,
"internalPort": 9090,
"privileged": true,
"volumes": [
{
"hostPath": "/run/systemd/private",
"containerPath": "/run/systemd/private",
"readOnly": false
},
{
"hostPath": "/run/dbus",
"containerPath": "/run/dbus",
"readOnly": false
},
{
"hostPath": "/",
"containerPath": "/host",
"readOnly": false
}
],
"environment": [
{
"key": "COCKPIT_KUBE_INSECURE",
"value": "true"
}
]
}
]
}