Adding readme
This commit is contained in:
parent
a54c3f7367
commit
c5bf738291
1 changed files with 27 additions and 0 deletions
27
Readme.md
Normal file
27
Readme.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# samba-server
|
||||||
|
|
||||||
|
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 password in the environment vars
|
||||||
|
|
||||||
|
To do so with a docker-compose file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
version: "2"
|
||||||
|
|
||||||
|
services:
|
||||||
|
samba:
|
||||||
|
image: amdavidson/samba-server
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
SMBPW: "Hunter22"
|
||||||
|
ports:
|
||||||
|
- "139:139"
|
||||||
|
- "445:445"
|
||||||
|
- "138:138/udp"
|
||||||
|
- "137:137/udp"
|
||||||
|
volumes:
|
||||||
|
- "/host/share/folder:/share"
|
||||||
|
```
|
Loading…
Reference in a new issue