samba-container/Readme.md
2023-02-28 15:12:21 -08:00

28 lines
713 B
Markdown

# samba-container
A basic single user samba server suitable for small scale NAS-like installations where having multi-user security is not important.
## Running Samba Server
No real tricks here, the only essential thing is setting a username and password in the environment vars.
To do so with a docker-compose file:
```yaml
version: "2"
services:
samba:
image: git.andr3w.net/amd/samba-container:latest
restart: always
environment:
- SMBUSER: "share"
- SMBPW: "Hunter22"
ports:
- "139:139"
- "445:445"
- "138:138/udp"
- "137:137/udp"
volumes:
- "/host/share/folder:/share"
```