1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

update samba

This commit is contained in:
kev 2016-07-03 22:48:47 +08:00
parent a65f9abcd3
commit c439e3c4ce
5 changed files with 7 additions and 3 deletions

View File

@ -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`.

View File

@ -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

View File

@ -25,6 +25,7 @@ browseable = no
writable = yes
[share]
comment = Public File Sharing
path = /share
browseable = yes
read only = no

View File

@ -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

View File

@ -25,6 +25,7 @@ browseable = no
writable = yes
[share]
comment = Public File Sharing
path = /share
browseable = yes
read only = no