{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4fafb7d6-ccb4-4e58-9c31-34a76d1985fb",
    "slug": "linkwarden-clone",
    "name": "Linkwarden",
    "description": "Self-hosted bookmark manager with permanent page archives",
    "url": "https://railway.com/deploy/linkwarden-clone",
    "upstream": {
      "repo_url": "https://github.com/mc9max/linkwarden-lite"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "linkwarden",
      "source": {
        "repo": "https://github.com/mc9max/linkwarden-lite"
      },
      "needs_volume": true,
      "volume_mount_path": "/data/data",
      "http": true
    },
    {
      "name": "meilisearch",
      "source": {
        "repo": "https://github.com/mc9max/linkwarden-lite"
      },
      "needs_volume": true,
      "volume_mount_path": "/meili_data",
      "http": false
    },
    {
      "name": "postgres",
      "source": {
        "repo": "https://github.com/mc9max/linkwarden-lite"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PGHOST",
      "service": "linkwarden",
      "description": "Postgres host for Linkwarden (auto-wired to Postgres)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MEILI_HOST",
      "service": "linkwarden",
      "description": "Meilisearch host for Linkwarden (auto-wired to Meilisearch)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPASSWORD",
      "service": "linkwarden",
      "description": "Postgres password for Linkwarden (auto-wired to Postgres)",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXTAUTH_URL",
      "service": "linkwarden",
      "description": "Public URL for Linkwarden authentication",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NEXTAUTH_SECRET",
      "service": "linkwarden",
      "description": "Secret for Linkwarden authentication (auto-generated)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MEILI_MASTER_KEY",
      "service": "linkwarden",
      "description": "Meilisearch master key for Linkwarden (auto-wired to Meilisearch)",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MEILI_MASTER_KEY",
      "service": "meilisearch",
      "description": "Master key for Meilisearch (auto-generated)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "Password for the Postgres database (auto-generated)",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "linkwarden-clone"
      }
    },
    "cli": "railway deploy --template linkwarden-clone",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4fafb7d6-ccb4-4e58-9c31-34a76d1985fb",
            "serializedConfig": {
              "services": {
                "06d2b302-d324-4169-a624-d763a818ffba": {
                  "icon": null,
                  "name": "linkwarden",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/mc9max/linkwarden-lite",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Postgres host for Linkwarden (auto-wired to Postgres)",
                      "defaultValue": "${{postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MEILI_HOST": {
                      "isOptional": false,
                      "description": "Meilisearch host for Linkwarden (auto-wired to Meilisearch)",
                      "defaultValue": "http://${{meilisearch.RAILWAY_PRIVATE_DOMAIN}}:7700"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Postgres password for Linkwarden (auto-wired to Postgres)",
                      "defaultValue": "${{postgres.POSTGRES_PASSWORD}}"
                    },
                    "NEXTAUTH_URL": {
                      "isOptional": false,
                      "description": "Public URL for Linkwarden authentication",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}/api/v1/auth"
                    },
                    "NEXTAUTH_SECRET": {
                      "isOptional": false,
                      "description": "Secret for Linkwarden authentication (auto-generated)",
                      "defaultValue": "{{NEXTAUTH_SECRET}}"
                    },
                    "MEILI_MASTER_KEY": {
                      "isOptional": false,
                      "description": "Meilisearch master key for Linkwarden (auto-wired to Meilisearch)",
                      "defaultValue": "${{meilisearch.MEILI_MASTER_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "06d2b302-d324-4169-a624-d763a818ffba": {
                      "mountPath": "/data/data"
                    }
                  }
                },
                "4b899996-a460-4910-948d-3ef6938a67cd": {
                  "icon": null,
                  "name": "meilisearch",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/mc9max/linkwarden-lite",
                    "rootDirectory": "/meilisearch"
                  },
                  "variables": {
                    "MEILI_MASTER_KEY": {
                      "isOptional": false,
                      "description": "Master key for Meilisearch (auto-generated)",
                      "defaultValue": "{{MEILI_MASTER_KEY}}"
                    }
                  },
                  "volumeMounts": {
                    "4b899996-a460-4910-948d-3ef6938a67cd": {
                      "mountPath": "/meili_data"
                    }
                  }
                },
                "ec43232f-479c-42d7-aad7-86af32a4ba5e": {
                  "icon": null,
                  "name": "postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/mc9max/linkwarden-lite",
                    "rootDirectory": "/postgres"
                  },
                  "variables": {
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the Postgres database (auto-generated)",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "ec43232f-479c-42d7-aad7-86af32a4ba5e": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-11-02T10:15:11.649Z",
  "generator_version": "0.1.0"
}
