version: '3.4' services: samba: container_name: samba_server image: elswork/samba environment: TZ: 'Asia/Jerusalem' networks: - default ports: - "445:445" restart: unless-stopped volumes: - /Red-Vol:/Red-Vol command: '-u "1001:1001:redvol:redvol:123456" -s "Tui64:/Red-Vol:rw:redvol"' # command: '-u "uid:guid:username:groupname:put-any-password-here" -s "SmbShare:/share/folder:rw:username"' networks: default: external: true name: gerbil_network