diff --git a/.env.default b/.env.default index 8913ad1..97832c2 100644 --- a/.env.default +++ b/.env.default @@ -19,4 +19,7 @@ UPLOAD_LOCATION=./library DB_DATA_LOCATION=./postgres DB_PASSWORD=postgres DB_USERNAME=postgres -DB_DATABASE_NAME=immich \ No newline at end of file +DB_DATABASE_NAME=immich + +# navidrome +SEAFILE_ZIC=/srv/data/seafile \ No newline at end of file diff --git a/09-navidrome/docker-compose.navidrome.yml b/09-navidrome/docker-compose.navidrome.yml new file mode 100644 index 0000000..813fa83 --- /dev/null +++ b/09-navidrome/docker-compose.navidrome.yml @@ -0,0 +1,25 @@ +services: + navidrome: + container_name: navidrome + image: deluan/navidrome:latest + user: 1000:1000 # should be owner of volumes + ports: + - "4533:4533" + restart: unless-stopped + environment: + # Optional: put your config options customization here. Examples: + # ND_LOGLEVEL: debug + volumes: + - navidrome-data:/data + - type: bind + source: ${SEAFILE_ZIC} + target: /music + read_only: true + bind: + propagation: rslave + privileged: true + cap_add: + - SYS_ADMIN + +volumes: + navidrome-data: