From 3efa609b7521e149dacd9a98f033e50927d50b86 Mon Sep 17 00:00:00 2001 From: Joe Biellik Date: Sun, 3 Dec 2017 18:24:10 +0000 Subject: [PATCH] Cleanup --- .editorconfig | 2 +- README.md | 10 ++++++++-- example/smb.conf | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index a44f301..3a5a5e3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,6 +8,6 @@ end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true -[{README.md,docker-compose.yml}] +[*.{md,yml}] indent_style = space indent_size = 2 diff --git a/README.md b/README.md index 243237e..dd0a3fc 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,19 @@ -# Samba server +# Samba Server Container + [![Docker Pulls](https://img.shields.io/docker/pulls/joebiellik/samba-server.svg)](https://hub.docker.com/r/joebiellik/samba-server/) +[![Docker Stars](https://img.shields.io/docker/stars/joebiellik/samba-server.svg)](https://hub.docker.com/r/joebiellik/samba-server/) +[![Docker Build](https://img.shields.io/docker/automated/joebiellik/samba-server.svg)](https://hub.docker.com/r/joebiellik/samba-server/) +[![Docker Build Status](https://img.shields.io/docker/build/joebiellik/samba-server.svg)](https://hub.docker.com/r/joebiellik/samba-server/) [Samba 4](https://www.samba.org/) server running under [s6 overlay](https://github.com/just-containers/s6-overlay) on [Alpine Linux](https://hub.docker.com/_/alpine/). Runs both `smbd` and `nmbd` services. ## Configuration + See [example directory](https://github.com/jcbiellikltd/docker-samba-server/tree/master/example) for sample config file. ## Quickstart -``` + +```yml samba: image: joebiellik/samba-server diff --git a/example/smb.conf b/example/smb.conf index cf36159..7d63df3 100644 --- a/example/smb.conf +++ b/example/smb.conf @@ -3,8 +3,8 @@ netbios name = Docker server string = Samba Server Version %v - # Uncomment to map SMB user joe to system user root - #admin users = joe + # Uncomment to map SMB user to system user root + # admin users = joe map to guest = Bad User security = user