Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vollborn/samba-docker
A samba docker container
https://github.com/vollborn/samba-docker
Last synced: about 4 hours 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 (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T15:08:57.000Z (about 2 months ago)
- Last Synced: 2024-09-17T18:58:15.708Z (about 2 months ago)
- Language: Shell
- Size: 2.93 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
```