Last active
February 18, 2023 10:43
-
-
Save petersem/b6bcb7d8fea33b512d2b3e93b36f2326 to your computer and use it in GitHub Desktop.
Using a network share on docker for win
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
volumes: | |
musicshare: #use this if you need to map a cifs network drive | |
name: cifs | |
driver: local | |
driver_opts: | |
type: cifs | |
o:username=username,password=psw,rw,uid=1000,gid=1000 | |
device: "\\\\192.168.1.135\\music" | |
services: | |
navidrome: | |
container_name: navidrome | |
restart: $RESTART_POLICY | |
environment: | |
ND_SCANSCHEDULE: 1h | |
ND_AUTHREQUESTLIMIT: 5 | |
ND_AUTHWINDOWLENGTH: 30s | |
ND_LASTFM_ENABLED: false | |
ND_LISTENBRAINZ_ENABLED: false | |
ND_ENABLEEXTERNALSERVICES: false | |
volumes: | |
- $PERSIST/navidrome:/data | |
- musicshare:/music:ro | |
ports: | |
- 4533:4533 | |
image: 'deluan/navidrome: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment