{
  "manifest_version": "1.0.0",
  "template": {
    "id": "bb1f43b8-55a1-46d7-8f93-65c9fc809345",
    "slug": "UfZbjv",
    "name": "Your Spotify",
    "description": "A self-hosted Spotify tracking dashboard",
    "url": "https://railway.com/deploy/UfZbjv",
    "upstream": {
      "image": "yooooomi/your_spotify_server"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "MongoDB",
      "source": {
        "image": "mongo"
      },
      "needs_volume": true,
      "volume_mount_path": "/data/db",
      "tcp_ports": [
        27017
      ],
      "http": false
    },
    {
      "name": "Backend",
      "source": {
        "image": "yooooomi/your_spotify_server"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Frontend",
      "source": {
        "image": "yooooomi/your_spotify_client"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MONGOHOST",
      "service": "MongoDB",
      "description": "Railway TCP Proxy Domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGOPORT",
      "service": "MongoDB",
      "description": "Mongodb TCP Proxy port.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGOUSER",
      "service": "MongoDB",
      "description": "Mongodb user, used for the Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGO_URL",
      "service": "MongoDB",
      "description": "URL to connect to MongoDB, used for Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGOPASSWORD",
      "service": "MongoDB",
      "description": "Root password, used for Data panel.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MONGO_PRIVATE_URL",
      "service": "MongoDB",
      "description": "URL to connect to MongoDB, used for Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MONGO_INITDB_ROOT_PASSWORD",
      "service": "MongoDB",
      "description": "Root user password, set during initialization.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MONGO_INITDB_ROOT_USERNAME",
      "service": "MongoDB",
      "description": "User created during initialization, given the root role.",
      "secret": false,
      "strategy": "default",
      "default": "mongo"
    },
    {
      "key": "PORT",
      "service": "Backend",
      "description": "The port on which the Your Spotify server will listen. Must be 8080.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "TIMEZONE",
      "service": "Backend",
      "description": "The default time zone in which statistics will be displayed. You should leave this at its default setting of Etc/UTC. After deployment, you can set a time zone for your own account in the Your Spotify UI by going to Settings > Statistics > Timezone.",
      "secret": false,
      "strategy": "default",
      "default": "Etc/UTC"
    },
    {
      "key": "API_ENDPOINT",
      "service": "Backend",
      "description": "The URL at which the Your Spotify server will be found. By default, this is the public domain of the server's Railway service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MONGO_ENDPOINT",
      "service": "Backend",
      "description": "The URL at which Your Spotify's MongoDB database will be found. By default, this is the private URL of the database's Railway service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SPOTIFY_PUBLIC",
      "service": "Backend",
      "description": "Your Spotify app's client ID.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SPOTIFY_SECRET",
      "service": "Backend",
      "description": "Your Spotify app's client secret.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CLIENT_ENDPOINT",
      "service": "Backend",
      "description": "The URL at which the Your Spotify client will be found. By default, this is the public domain of the client's Railway service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PORT",
      "service": "Frontend",
      "description": "The port on which the Your Spotify client will listen. Must be 3000.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "API_ENDPOINT",
      "service": "Frontend",
      "description": "The URL at which the Your Spotify server will be found. By default, this is the public domain of the server's Railway service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "UfZbjv"
      }
    },
    "cli": "railway deploy --template UfZbjv",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "bb1f43b8-55a1-46d7-8f93-65c9fc809345",
            "serializedConfig": {
              "services": {
                "10c55e57-3945-436f-a54a-473684bf0208": {
                  "icon": "https://devicons.railway.app/i/mongodb.svg",
                  "name": "MongoDB",
                  "build": {},
                  "deploy": {
                    "startCommand": "docker-entrypoint.sh mongod --ipv6 --bind_ip ::,0.0.0.0"
                  },
                  "source": {
                    "image": "mongo"
                  },
                  "variables": {
                    "MONGOHOST": {
                      "isOptional": false,
                      "description": "Railway TCP Proxy Domain.",
                      "defaultValue": "${{ RAILWAY_TCP_PROXY_DOMAIN }}"
                    },
                    "MONGOPORT": {
                      "isOptional": false,
                      "description": "Mongodb TCP Proxy port.",
                      "defaultValue": "${{ RAILWAY_TCP_PROXY_PORT }}"
                    },
                    "MONGOUSER": {
                      "isOptional": false,
                      "description": "Mongodb user, used for the Data panel.",
                      "defaultValue": "${{ MONGO_INITDB_ROOT_USERNAME }}"
                    },
                    "MONGO_URL": {
                      "isOptional": false,
                      "description": "URL to connect to MongoDB, used for Data panel.",
                      "defaultValue": "mongodb://${{MONGO_INITDB_ROOT_USERNAME}}:${{MONGO_INITDB_ROOT_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "MONGOPASSWORD": {
                      "isOptional": false,
                      "description": "Root password, used for Data panel.",
                      "defaultValue": "${{ MONGO_INITDB_ROOT_PASSWORD }}"
                    },
                    "MONGO_PRIVATE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to MongoDB, used for Data panel.",
                      "defaultValue": "mongodb://${{MONGO_INITDB_ROOT_USERNAME}}:${{MONGO_INITDB_ROOT_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:27017"
                    },
                    "MONGO_INITDB_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Root user password, set during initialization.",
                      "defaultValue": "{{MONGO_INITDB_ROOT_PASSWORD}}"
                    },
                    "MONGO_INITDB_ROOT_USERNAME": {
                      "isOptional": false,
                      "description": "User created during initialization, given the root role.",
                      "defaultValue": "mongo"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "27017": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "10c55e57-3945-436f-a54a-473684bf0208": {
                      "mountPath": "/data/db"
                    }
                  }
                },
                "3c996caf-97fa-4da1-9732-25341fd51ed7": {
                  "icon": null,
                  "name": "Backend",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "yooooomi/your_spotify_server"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port on which the Your Spotify server will listen. Must be 8080.",
                      "defaultValue": "8080"
                    },
                    "TIMEZONE": {
                      "isOptional": false,
                      "description": "The default time zone in which statistics will be displayed. You should leave this at its default setting of Etc/UTC. After deployment, you can set a time zone for your own account in the Your Spotify UI by going to Settings > Statistics > Timezone.",
                      "defaultValue": "Etc/UTC"
                    },
                    "API_ENDPOINT": {
                      "isOptional": false,
                      "description": "The URL at which the Your Spotify server will be found. By default, this is the public domain of the server's Railway service.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MONGO_ENDPOINT": {
                      "isOptional": false,
                      "description": "The URL at which Your Spotify's MongoDB database will be found. By default, this is the private URL of the database's Railway service.",
                      "defaultValue": "${{MongoDB.MONGO_PRIVATE_URL}}"
                    },
                    "SPOTIFY_PUBLIC": {
                      "isOptional": false,
                      "description": "Your Spotify app's client ID.",
                      "defaultValue": "{{SPOTIFY_PUBLIC}}"
                    },
                    "SPOTIFY_SECRET": {
                      "isOptional": false,
                      "description": "Your Spotify app's client secret.",
                      "defaultValue": "{{SPOTIFY_SECRET}}"
                    },
                    "CLIENT_ENDPOINT": {
                      "isOptional": false,
                      "description": "The URL at which the Your Spotify client will be found. By default, this is the public domain of the client's Railway service.",
                      "defaultValue": "https://${{Frontend.RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "e90e7526-07f2-4149-ba3e-78c16de97d8f": {
                  "icon": null,
                  "name": "Frontend",
                  "deploy": {
                    "startCommand": "",
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "yooooomi/your_spotify_client"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port on which the Your Spotify client will listen. Must be 3000.",
                      "defaultValue": "3000"
                    },
                    "API_ENDPOINT": {
                      "isOptional": false,
                      "description": "The URL at which the Your Spotify server will be found. By default, this is the public domain of the server's Railway service.",
                      "defaultValue": "https://${{BACKEND.RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
