{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8305cf0d-55e7-42e4-b286-a738cd10c6a8",
    "slug": "listmonk-3",
    "name": "Listmonk",
    "description": "Self-hosted newsletter & mailing list manager",
    "url": "https://railway.com/deploy/listmonk-3",
    "upstream": {
      "repo_url": "https://github.com/mc9max/listmonk-lite"
    }
  },
  "services": [
    {
      "name": "listmonk",
      "source": {
        "repo": "https://github.com/mc9max/listmonk-lite"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "postgres",
      "source": {
        "repo": "https://github.com/mc9max/listmonk-lite"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "LISTMONK_db__host",
      "service": "listmonk",
      "description": "Provide a value for LISTMONK_db__host.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "LISTMONK_db__password",
      "service": "listmonk",
      "description": "Provide a value for LISTMONK_db__password.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "listmonk-3"
      }
    },
    "cli": "railway deploy --template listmonk-3",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8305cf0d-55e7-42e4-b286-a738cd10c6a8",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "4aa3387f-b26e-43bb-b0fa-df291165a728": {
                  "icon": null,
                  "name": "listmonk",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/mc9max/listmonk-lite",
                    "rootDirectory": null
                  },
                  "variables": {
                    "LISTMONK_db__host": {
                      "isOptional": false,
                      "defaultValue": "${{postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "LISTMONK_db__password": {
                      "isOptional": false,
                      "defaultValue": "${{postgres.POSTGRES_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "4aa3387f-b26e-43bb-b0fa-df291165a728": {
                      "mountPath": "/data"
                    }
                  }
                },
                "9561433b-13d6-4783-aa3e-bc26a0c1f2bf": {
                  "icon": null,
                  "name": "postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/mc9max/listmonk-lite",
                    "rootDirectory": "postgres"
                  },
                  "variables": {
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "9561433b-13d6-4783-aa3e-bc26a0c1f2bf": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-18T16:14:44.681Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-18T15:31:08.731Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_21d66666b80447b28708",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 67,
    "typical_build_seconds": 20,
    "typical_start_seconds": 10,
    "slowest_service": "listmonk"
  }
}
