2018-02-25 17:53:39 +03:00
|
|
|
version: '3.4'
|
|
|
|
|
|
|
|
services:
|
|
|
|
samba:
|
|
|
|
image: dperson/samba
|
|
|
|
environment:
|
|
|
|
TZ: 'EST5EDT'
|
|
|
|
networks:
|
|
|
|
- default
|
2018-11-25 18:00:24 +03:00
|
|
|
ports:
|
|
|
|
- "137:137/udp"
|
|
|
|
- "138:138/udp"
|
|
|
|
- "139:139/tcp"
|
|
|
|
- "445:445/tcp"
|
2018-02-25 17:53:39 +03:00
|
|
|
read_only: true
|
|
|
|
tmpfs:
|
|
|
|
- /tmp
|
|
|
|
restart: unless-stopped
|
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
|
|
|
volumes:
|
|
|
|
- /mnt:/mnt:z
|
2019-07-06 23:39:43 +03:00
|
|
|
- /mnt2:/mnt2:z
|
|
|
|
command: '-s "Mount;/mnt" -s "Bobs Volume;/mnt2;yes;yes;no;bob" -u "bob;bobspasswd"'
|
2018-02-25 17:53:39 +03:00
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|