samba/docker-compose.yml

27 lines
497 B
YAML
Raw Normal View History

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"
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
2019-07-07 00:17:44 +03:00
command: '-s "Mount;/mnt" -s "Bobs Volume;/mnt2;yes;no;no;bob" -u "bob;bobspasswd"'
networks:
default: