From c439e3c4cea3b45ddea8ee59cc02efa12d761615 Mon Sep 17 00:00:00 2001 From: kev Date: Sun, 3 Jul 2016 22:48:47 +0800 Subject: [PATCH] update samba --- samba/README.md | 4 +++- samba/arm/docker-compose.yml | 2 +- samba/arm/smb.conf | 1 + samba/docker-compose.yml | 2 +- samba/smb.conf | 1 + 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/samba/README.md b/samba/README.md index 0c551bb..90a9fb6 100644 --- a/samba/README.md +++ b/samba/README.md @@ -12,13 +12,15 @@ Linux and Unix. samba: image: vimagick/samba volumes: - - ./smb.conf:/etc/samba/smb.conf +# - ./smb.conf:/etc/samba/smb.conf - /mnt/usb:/share net: host tty: yes restart: always ``` +> Uncomment to use a customized config file. + ## mnt-usb.mount An USB flash drive is mounted at `/mnt/usb`. diff --git a/samba/arm/docker-compose.yml b/samba/arm/docker-compose.yml index e6ff8a5..7bdf8c7 100644 --- a/samba/arm/docker-compose.yml +++ b/samba/arm/docker-compose.yml @@ -1,7 +1,7 @@ samba: image: easypi/samba-arm volumes: - - ./smb.conf:/etc/samba/smb.conf +# - ./smb.conf:/etc/samba/smb.conf - /mnt/usb:/share net: host tty: yes diff --git a/samba/arm/smb.conf b/samba/arm/smb.conf index d7e0382..f1e68b0 100644 --- a/samba/arm/smb.conf +++ b/samba/arm/smb.conf @@ -25,6 +25,7 @@ browseable = no writable = yes [share] +comment = Public File Sharing path = /share browseable = yes read only = no diff --git a/samba/docker-compose.yml b/samba/docker-compose.yml index 9fa0c19..0d112e6 100644 --- a/samba/docker-compose.yml +++ b/samba/docker-compose.yml @@ -1,7 +1,7 @@ samba: image: vimagick/samba volumes: - - ./smb.conf:/etc/samba/smb.conf +# - ./smb.conf:/etc/samba/smb.conf - ./share:/share net: host tty: yes diff --git a/samba/smb.conf b/samba/smb.conf index d7e0382..f1e68b0 100644 --- a/samba/smb.conf +++ b/samba/smb.conf @@ -25,6 +25,7 @@ browseable = no writable = yes [share] +comment = Public File Sharing path = /share browseable = yes read only = no