Aggiungi samba-docker-compose.yaml
This commit is contained in:
parent
06e31adf39
commit
a2dc4fadb9
1 changed files with 28 additions and 0 deletions
28
samba-docker-compose.yaml
Normal file
28
samba-docker-compose.yaml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
## https://fariszr.com/en/docker-smb-network-discovery/
|
||||||
|
version: "3.5"
|
||||||
|
|
||||||
|
services:
|
||||||
|
samba:
|
||||||
|
image: crazymax/samba
|
||||||
|
container_name: samba
|
||||||
|
network_mode: host
|
||||||
|
volumes:
|
||||||
|
- /home/nvme/dockerdata/smb:/data
|
||||||
|
- /home/nvme/plexmediafiles:/plexmediafiles
|
||||||
|
- /home/nvme:/nvme
|
||||||
|
- /home/orangepi:/home
|
||||||
|
environment:
|
||||||
|
- "TZ=Europe/Rome"
|
||||||
|
- "SAMBA_LOG_LEVEL=0"
|
||||||
|
- "WSDD2_ENABLE=1"
|
||||||
|
- "WSDD2_HOSTNAME=OrangePiSMB2"
|
||||||
|
- "WSDD2_NETBIOS_NAME=OrangePiSMB2"
|
||||||
|
restart: unless-stopped
|
||||||
|
avahi:
|
||||||
|
image: ydkn/avahi
|
||||||
|
container_name: avahi
|
||||||
|
hostname: OrangePiSMB1
|
||||||
|
network_mode: host
|
||||||
|
volumes:
|
||||||
|
- /home/nvme/dockerdata/avahi-services:/etc/avahi/services:ro
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in a new issue