samba-container/Readme.md

28 lines
715 B
Markdown
Raw Normal View History

2023-02-28 21:14:46 +00:00
# samba-container
2020-04-14 12:52:10 +00:00
2023-02-28 21:14:46 +00:00
A basic single user samba server suitable for small scale NAS-like installations where having multi-user security is not important.
2020-04-14 12:52:10 +00:00
## Running Samba Server
2020-04-23 13:06:27 +00:00
No real tricks here, the only essential thing is setting a password in the environment vars, the username is currently hardcoded to `share`.
2020-04-14 12:52:10 +00:00
To do so with a docker-compose file:
```yaml
version: "2"
services:
samba:
2023-02-28 21:14:46 +00:00
image: git.andr3w.net/amd/samba-container:latest
2020-04-14 12:52:10 +00:00
restart: always
environment:
SMBPW: "Hunter22"
ports:
- "139:139"
- "445:445"
- "138:138/udp"
- "137:137/udp"
volumes:
- "/host/share/folder:/share"
```