2021-09-02 18:01:03 +02:00

18 lines
471 B
YAML

---
version: "3.5"
services:
samba:
image: elswork/samba:${tag_samba}
container_name: samba
hostname: samba
network_mode: bridge
restart: ${Reset_Mode}
environment:
- TZ=${TZ}
volumes:
- ${folder_to_share}:/share
ports:
- 445:445
labels:
- com.centurylinklabs.watchtower.enable=${watchtower_autoupdate}
command: '-u "${PUID}:${PGID}:${USERNAME}:${USERNAME}:${PASSWORD}" -s "HomeLAB:/share:rw:${USERNAME}"'