You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
453 B
YAML

version: '3.4'
services:
samba:
image: dperson/samba
environment:
- "TZ:Europe/Paris"
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/data:/mnt:z
command: '-s "Data;/mnt;yes;no;no;${USER}" -u "${USER};${PASSWORD}" -p'