Skip to content

Instantly share code, notes, and snippets.

@zunsakai
Created August 23, 2020 02:17
Show Gist options
  • Save zunsakai/9664cd2f03576012ef4e00d95c14d3a5 to your computer and use it in GitHub Desktop.
Save zunsakai/9664cd2f03576012ef4e00d95c14d3a5 to your computer and use it in GitHub Desktop.
version: '3.4'
services:
samba:
image: dperson/samba
networks:
- default
tmpfs:
- /tmp
restart: unless-stopped
stdin_open: true
tty: true
ports:
- 139:139
- 445:445
volumes:
- "/path/to/my/local/folder:/mnt/share1:rw"
command: '-w workgroup -u "chris;chris" -s "share1;/mnt/share1;no;no;no;chris;chris"'
networks:
default:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment