{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b87500c0-f0d4-46d0-b086-769a83d0485b",
    "slug": "navidrome-server",
    "name": "Navidrome",
    "description": "Music server that streams your own audio files to any device",
    "url": "https://railway.com/deploy/navidrome-server",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/navidrome-railway"
    }
  },
  "services": [
    {
      "name": "proxy",
      "source": {
        "repo": "https://github.com/gridalpha/navidrome-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "navidrome",
      "source": {
        "repo": "https://github.com/gridalpha/navidrome-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "proxy",
      "description": "Public listening port for Caddy",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "NAVIDROME_UPSTREAM",
      "service": "proxy",
      "description": "Private address of the music server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PORT",
      "service": "navidrome",
      "description": "HTTP port the music server listens on",
      "secret": false,
      "strategy": "default",
      "default": "4533"
    },
    {
      "key": "ND_BACKUP_COUNT",
      "service": "navidrome",
      "description": "Backups retained on the volume",
      "secret": false,
      "strategy": "default",
      "default": "7"
    },
    {
      "key": "ND_BACKUP_SCHEDULE",
      "service": "navidrome",
      "description": "Database backup schedule",
      "secret": false,
      "strategy": "default",
      "default": "@daily"
    },
    {
      "key": "ND_SCANNER_SCHEDULE",
      "service": "navidrome",
      "description": "Periodic library rescan",
      "secret": false,
      "strategy": "default",
      "default": "@every 1h"
    },
    {
      "key": "NAVIDROME_DEMO_MUSIC",
      "service": "navidrome",
      "description": "Seed sample tracks while library is empty",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "NAVIDROME_ADMIN_PASSWORD",
      "service": "navidrome",
      "description": "Password for that administrator",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "NAVIDROME_ADMIN_USERNAME",
      "service": "navidrome",
      "description": "First administrator created on boot",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "ND_PASSWORDENCRYPTIONKEY",
      "service": "navidrome",
      "description": "Encrypts stored credentials, never rotate",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "ND_ENABLEINSIGHTSCOLLECTOR",
      "service": "navidrome",
      "description": "Anonymous upstream usage report",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "navidrome-server"
      }
    },
    "cli": "railway deploy --template navidrome-server",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b87500c0-f0d4-46d0-b086-769a83d0485b",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "61088f91-16ba-4621-9dec-e5943a31b9d5": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/caddy.svg",
                  "name": "proxy",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/navidrome-railway",
                    "rootDirectory": "proxy"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Public listening port for Caddy",
                      "defaultValue": "8080"
                    },
                    "NAVIDROME_UPSTREAM": {
                      "isOptional": false,
                      "description": "Private address of the music server",
                      "defaultValue": "${{navidrome.RAILWAY_PRIVATE_DOMAIN}}:4533"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "81f1615f-b0e2-4c6a-9454-f1233ff12055": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/navidrome.svg",
                  "name": "navidrome",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/navidrome-railway",
                    "rootDirectory": "navidrome"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port the music server listens on",
                      "defaultValue": "4533"
                    },
                    "ND_BACKUP_COUNT": {
                      "description": "Backups retained on the volume",
                      "defaultValue": "7"
                    },
                    "ND_BACKUP_SCHEDULE": {
                      "description": "Database backup schedule",
                      "defaultValue": "@daily"
                    },
                    "ND_SCANNER_SCHEDULE": {
                      "description": "Periodic library rescan",
                      "defaultValue": "@every 1h"
                    },
                    "NAVIDROME_DEMO_MUSIC": {
                      "isOptional": false,
                      "description": "Seed sample tracks while library is empty",
                      "defaultValue": "true"
                    },
                    "NAVIDROME_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for that administrator",
                      "defaultValue": "{{NAVIDROME_ADMIN_PASSWORD}}"
                    },
                    "NAVIDROME_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "First administrator created on boot",
                      "defaultValue": "admin"
                    },
                    "ND_PASSWORDENCRYPTIONKEY": {
                      "isOptional": false,
                      "description": "Encrypts stored credentials, never rotate",
                      "defaultValue": "{{ND_PASSWORDENCRYPTIONKEY}}"
                    },
                    "ND_ENABLEINSIGHTSCOLLECTOR": {
                      "description": "Anonymous upstream usage report",
                      "defaultValue": "true"
                    }
                  },
                  "volumeMounts": {
                    "81f1615f-b0e2-4c6a-9454-f1233ff12055": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T16:16:28.529Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_30bfd08485fc43e8be1f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 94,
    "typical_build_seconds": 10,
    "typical_start_seconds": 10,
    "slowest_service": "proxy"
  }
}
