services: playlink: build: . image: playlink:latest container_name: playlink # Run as the user that owns your music (Unraid: nobody:users = 99:100). user: "99:100" ports: - "7480:7480" environment: - TZ=America/Los_Angeles - PLAYLINK_ALLOWED_ROOTS=/data # Set to true when serving over HTTPS (e.g. behind a reverse proxy). - PLAYLINK_SECURE_COOKIES=false volumes: - /mnt/user/Aqua/playlink:/config # IMPORTANT: mount ONE folder that contains BOTH libraries. Hardlinks # cannot cross Docker bind mounts, even on the same disk. # host (Albums) -> /data/Music/Albums # slave (Singles) -> /data/Music/Instances/cdnutter/Singles - /mnt/user/Sapphire:/data restart: unless-stopped networks: - chromanet networks: chromanet: external: true