mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Merge pull request #6162 from nextcloud/enh/noid/add-smb-server
community-containers: add smb-server
This commit is contained in:
commit
04224e8745
2 changed files with 75 additions and 0 deletions
15
community-containers/smbserver/readme.md
Normal file
15
community-containers/smbserver/readme.md
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
## SMB-server
|
||||||
|
This container bundles an SMB-server and allows to configure it via a graphical shell script.
|
||||||
|
|
||||||
|
### Notes
|
||||||
|
- This container should only be run in home networks
|
||||||
|
- This container currently only works on amd64. See https://github.com/szaimen/aio-smbserver/issues/3
|
||||||
|
- After adding and starting the container, you need to visit `https://internal.ip.of.server:5803` in order to log in with the `smbserver` user and the password that you can see next to the container in the AIO interface. (The web page uses a self-signed certificate, so you need to accept the warning). Then type in bash /smbserver.sh and you will see a graphical UI for configuring the smb-server interactively.
|
||||||
|
- The config data of SMB-server will be automatically included in AIOs backup solution!
|
||||||
|
- See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack
|
||||||
|
|
||||||
|
### Repository
|
||||||
|
https://github.com/szaimen/aio-smbserver/
|
||||||
|
|
||||||
|
### Maintainer
|
||||||
|
https://github.com/szaimen
|
||||||
60
community-containers/smbserver/smbserver.json
Normal file
60
community-containers/smbserver/smbserver.json
Normal file
|
|
@ -0,0 +1,60 @@
|
||||||
|
{
|
||||||
|
"aio_services_v1": [
|
||||||
|
{
|
||||||
|
"container_name": "nextcloud-aio-smbserver",
|
||||||
|
"display_name": "SMB-server",
|
||||||
|
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/smbserver",
|
||||||
|
"image": "szaimen/aio-smbserver",
|
||||||
|
"image_tag": "v1",
|
||||||
|
"internal_port": "5803",
|
||||||
|
"restart": "unless-stopped",
|
||||||
|
"ports": [
|
||||||
|
{
|
||||||
|
"ip_binding": "",
|
||||||
|
"port_number": "5803",
|
||||||
|
"protocol": "tcp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ip_binding": "",
|
||||||
|
"port_number": "445",
|
||||||
|
"protocol": "tcp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ip_binding": "",
|
||||||
|
"port_number": "139",
|
||||||
|
"protocol": "tcp"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"volumes": [
|
||||||
|
{
|
||||||
|
"source": "nextcloud_aio_smbserver",
|
||||||
|
"destination": "/smbserver",
|
||||||
|
"writeable": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "%NEXTCLOUD_DATADIR%",
|
||||||
|
"destination": "/mnt/ncdata",
|
||||||
|
"writeable": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "%NEXTCLOUD_MOUNT%",
|
||||||
|
"destination": "/mnt",
|
||||||
|
"writeable": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"environment": [
|
||||||
|
"TZ=%TIMEZONE%",
|
||||||
|
"WEB_AUTHENTICATION_USERNAME=smbserver",
|
||||||
|
"WEB_AUTHENTICATION_PASSWORD=%SMBSERVER_PASSWORD%",
|
||||||
|
"WEB_LISTENING_PORT=5803"
|
||||||
|
],
|
||||||
|
"secrets": [
|
||||||
|
"SMBSERVER_PASSWORD"
|
||||||
|
],
|
||||||
|
"ui_secret": "SMBSERVER_PASSWORD",
|
||||||
|
"backup_volumes": [
|
||||||
|
"nextcloud_aio_smbserver"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue