samba/docker-compose.yml
2023-03-05 13:17:53 +03:00

27 lines
499 B
YAML

version: '3.4'
services:
samba:
image: upagge/samba
environment:
TZ: 'EST5EDT'
networks:
- default
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
- /mnt2:/mnt2:z
command: '-s "Mount;/mnt" -s "Bobs Volume;/mnt2;yes;no;no;bob" -u "bob;bobspasswd" -p'
networks:
default: