Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #docker-compose.yml
- name: samba
- services:
- samba:
- image: crazymax/samba
- container_name: samba
- volumes:
- - "./samba:/data"
- - "/media/wd_ultra:/share/wd_ultra"
- ...
- networks:
- - sambanet
- environment:
- - "TZ=Europe/Paris"
- - "SAMBA_LOG_LEVEL=0"
- - "SAMBA_FOLLOW_SYMLINKS=no"
- restart: unless-stopped
- ...
- networks:
- sambanet:
- driver: bridge
- #samba/config.yml
- auth:
- - user: user123
- group: group123
- uid: 123
- gid: 123
- password: 123
- global:
- - "force user = user123"
- - "force group = group123"
- - "fruit:advertise_fullsync = true"
- share:
- - name: NasUltra
- comment: Backups
- path: /share/wd_ultra
- browsable: yes
- readonly: no
- guestok: no
- veto: no
- validusers: user123
- writelist: user123
- ...
Advertisement
Add Comment
Please, Sign In to add comment