feat: add Cockpit web UI service to nas-samba app
This commit is contained in:
@@ -3,14 +3,15 @@
|
|||||||
"name": "NAS Samba",
|
"name": "NAS Samba",
|
||||||
"id": "nas-samba",
|
"id": "nas-samba",
|
||||||
"available": true,
|
"available": true,
|
||||||
"exposable": false,
|
"port": 9090,
|
||||||
|
"exposable": true,
|
||||||
"dynamic_config": true,
|
"dynamic_config": true,
|
||||||
"no_gui": true,
|
"no_gui": false,
|
||||||
"tipi_version": 1,
|
"tipi_version": 1,
|
||||||
"version": "latest",
|
"version": "latest",
|
||||||
"categories": ["network", "utilities"],
|
"categories": ["network", "utilities"],
|
||||||
"description": "Samba SMB/CIFS file share for the /nas drive. Connect at \\\\192.168.0.15\\data with username alexz.",
|
"description": "Samba SMB/CIFS file share for the /nas drive with Cockpit web UI for server management. Connect via SMB at \\\\192.168.0.15\\data with username alexz.",
|
||||||
"short_desc": "SMB file share for the NAS drive",
|
"short_desc": "NAS file share with Cockpit management UI",
|
||||||
"author": "servercontainers",
|
"author": "servercontainers",
|
||||||
"source": "https://github.com/ServerContainers/samba",
|
"source": "https://github.com/ServerContainers/samba",
|
||||||
"form_fields": [
|
"form_fields": [
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{
|
{
|
||||||
"name": "nas-samba",
|
"name": "nas-samba",
|
||||||
"image": "servercontainers/samba:latest",
|
"image": "servercontainers/samba:latest",
|
||||||
"isMain": true,
|
"isMain": false,
|
||||||
"hostname": "nas",
|
"hostname": "nas",
|
||||||
"addPorts": [
|
"addPorts": [
|
||||||
{
|
{
|
||||||
@@ -41,6 +41,36 @@
|
|||||||
"value": "[data]; path=/nas; valid users=alexz; browsable=yes; writable=yes; create mask=0664; directory mask=0775"
|
"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"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user