https://github.com/vollborn/samba-docker
A samba docker container
https://github.com/vollborn/samba-docker
Last synced: 5 months ago
JSON representation
A samba docker container
- Host: GitHub
- URL: https://github.com/vollborn/samba-docker
- Owner: vollborn
- Created: 2024-09-14T22:18:39.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-25T18:53:37.000Z (6 months ago)
- Last Synced: 2024-12-25T19:18:47.534Z (6 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Samba Docker
This container starts a simple Samba server.
## Getting started
Use this docker-compose file to get started:
```yaml
services:
samba:
image: vollborn/samba:latest
ports:
- "139:139"
- "445:445"
volumes:
- "./users.env:/samba/users.env"
- "./smb.conf:/samba/smb.conf"
- "./data:/samba/data"
```You need to mount three volumes:
1. your users.env, containing all samba users and their passwords
2. your smb.conf, containing your samba configuration. Find further instructions [here](https://wiki.ubuntuusers.de/Samba_Server/smb.conf/).
3. your data directory, containing the directories for your samba shares defined in the smb.conf.### users.env
The users.env contains all samba users and their passwords. Each line defines a new user.
The syntax is as follows:```
:
```For example:
```
testadmin:adminpassword
testuser:testpassword
```