mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update samba
This commit is contained in:
parent
a65f9abcd3
commit
c439e3c4ce
@ -12,13 +12,15 @@ Linux and Unix.
|
|||||||
samba:
|
samba:
|
||||||
image: vimagick/samba
|
image: vimagick/samba
|
||||||
volumes:
|
volumes:
|
||||||
- ./smb.conf:/etc/samba/smb.conf
|
# - ./smb.conf:/etc/samba/smb.conf
|
||||||
- /mnt/usb:/share
|
- /mnt/usb:/share
|
||||||
net: host
|
net: host
|
||||||
tty: yes
|
tty: yes
|
||||||
restart: always
|
restart: always
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> Uncomment to use a customized config file.
|
||||||
|
|
||||||
## mnt-usb.mount
|
## mnt-usb.mount
|
||||||
|
|
||||||
An USB flash drive is mounted at `/mnt/usb`.
|
An USB flash drive is mounted at `/mnt/usb`.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
samba:
|
samba:
|
||||||
image: easypi/samba-arm
|
image: easypi/samba-arm
|
||||||
volumes:
|
volumes:
|
||||||
- ./smb.conf:/etc/samba/smb.conf
|
# - ./smb.conf:/etc/samba/smb.conf
|
||||||
- /mnt/usb:/share
|
- /mnt/usb:/share
|
||||||
net: host
|
net: host
|
||||||
tty: yes
|
tty: yes
|
||||||
|
@ -25,6 +25,7 @@ browseable = no
|
|||||||
writable = yes
|
writable = yes
|
||||||
|
|
||||||
[share]
|
[share]
|
||||||
|
comment = Public File Sharing
|
||||||
path = /share
|
path = /share
|
||||||
browseable = yes
|
browseable = yes
|
||||||
read only = no
|
read only = no
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
samba:
|
samba:
|
||||||
image: vimagick/samba
|
image: vimagick/samba
|
||||||
volumes:
|
volumes:
|
||||||
- ./smb.conf:/etc/samba/smb.conf
|
# - ./smb.conf:/etc/samba/smb.conf
|
||||||
- ./share:/share
|
- ./share:/share
|
||||||
net: host
|
net: host
|
||||||
tty: yes
|
tty: yes
|
||||||
|
@ -25,6 +25,7 @@ browseable = no
|
|||||||
writable = yes
|
writable = yes
|
||||||
|
|
||||||
[share]
|
[share]
|
||||||
|
comment = Public File Sharing
|
||||||
path = /share
|
path = /share
|
||||||
browseable = yes
|
browseable = yes
|
||||||
read only = no
|
read only = no
|
||||||
|
Loading…
Reference in New Issue
Block a user