samba add-on with option to set the ports

This commit is contained in:
Bogdan Vlaicu
2020-05-14 21:57:05 -04:00
parent 5abfb7049f
commit f888a8150f
15 changed files with 427 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
{
"name": "Samba share",
"version": "9.2.0",
"slug": "samba",
"description": "Expose Home Assistant folders with SMB/CIFS",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/samba",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"startup": "services",
"boot": "auto",
"init": false,
"host_network": true,
"map": ["config:rw", "ssl:rw", "addons:rw", "share:rw", "backup:rw"],
"options": {
"workgroup": "WORKGROUP",
"port1": "445",
"port2": "139",
"username": "homeassistant",
"password": null,
"interface": "",
"allow_hosts": [
"10.0.0.0/8",
"172.16.0.0/12",
"192.168.0.0/16",
"fe80::/10"
],
"veto_files": ["._*", ".DS_Store", "Thumbs.db", "icon?", ".Trashes"],
"compatibility_mode": false
},
"schema": {
"workgroup": "str",
"port1": "str",
"port2": "str",
"username": "str",
"password": "str",
"interface": "str",
"allow_hosts": ["str"],
"veto_files": ["str"],
"compatibility_mode": "bool"
},
"image_": "homeassistant/{arch}-addon-samba"
}