Files
sambafs/README.md
GianLuca Vagnuzzi 16397d5b49
All checks were successful
Update Docker Hub Description / dockerHubDescription (push) Successful in 14s
Fixed tag version
2026-01-02 17:28:06 +01:00

56 lines
1.2 KiB
Markdown

# SambaFS
Simple Samba file server.
## Quick reference
* Where to file issues:
[Gitea](https://git.gmmg.it/kom23/sambafs/issues)
* Supported architectures: amd64 , armv7 , arm64v8
## Installation
```
cd /opt
git clone https://github.com/rardcode/sambafs.git
cd /opt/sambafs
```
Launch docker the first time: a simple smb.conf will be created in data/ dir.\
Docker is ready for a public samba share in /srv/samba/public.\
Edit data/smb.conf with your desidered shares and compose.yml with group/user to add.
## How to run
### With docker run
You can run it with docker run:
```
docker run -d -p 139:139 -p 445:445 \
-e USER1=userID|username|password \ # optional
-e GROUP1=groupname|user1|user2 \ # optional
-v "/srv/samba:/srv/samba" \
-v "./data:/data" \
rardcode/sambafs \
```
### With docker-compose file
```
services:
sambafs:
image: rardcode/sambafs
container_name: sambafs
restart: unless-stopped
ports:
- 137:137/udp
- 138:138/udp
- 139:139
- 445:445
#environment:
# - USER1=userID|username|pass
# - GROUP1=groupname|user1|user2
volumes:
#- /srv/samba:/srv/samba
- ./data:/data
```
## Changelog
v3232.4226r0 - 02.01.2026
- Fixed tag version
- samba v. 4.22.6-r0