{
  "manifest_version": "1.0.0",
  "template": {
    "id": "10de1bdf-dd5f-4917-8e4b-a43f5048c7b4",
    "slug": "errsole",
    "name": "Errsole",
    "description": "Logger For Node.js With Dashboard To View, Filter, And Search Your App Logs",
    "url": "https://railway.com/deploy/errsole",
    "upstream": {
      "repo_url": "https://github.com/OpenSource-Templates/Errsole"
    }
  },
  "services": [
    {
      "name": "postgres",
      "source": {
        "repo": "https://github.com/OpenSource-Templates/Errsole"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql",
      "http": false
    },
    {
      "name": "errsole",
      "source": {
        "repo": "https://github.com/OpenSource-Templates/Errsole"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "postgres",
      "description": "Data directory inside the volume mount.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data"
    },
    {
      "key": "POSTGRES_DB",
      "service": "postgres",
      "description": "Database name. Keep in sync with DATABASE_URL.",
      "secret": false,
      "strategy": "default",
      "default": "errsole"
    },
    {
      "key": "POSTGRES_USER",
      "service": "postgres",
      "description": "Database role. Keep in sync with DATABASE_URL.",
      "secret": false,
      "strategy": "default",
      "default": "errsole"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "Auto-generated database password. Referenced by errsole.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DOMAIN",
      "service": "errsole",
      "description": "Public domain where Betterlytics is accessible. Railway automatically provides this domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "APP_NAME",
      "service": "errsole",
      "description": "Name shown in the dashboard and stored with logs.",
      "secret": false,
      "strategy": "default",
      "default": "errsole"
    },
    {
      "key": "ADMIN_NAME",
      "service": "errsole",
      "description": "Display name for the seeded admin user.",
      "secret": false,
      "strategy": "default",
      "default": "Admin"
    },
    {
      "key": "ADMIN_EMAIL",
      "service": "errsole",
      "description": "First dashboard admin email. Change this before first boot.",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "DATABASE_URL",
      "service": "errsole",
      "description": "Private Postgres URL over IPv6 DNS.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ERRSOLE_PATH",
      "service": "errsole",
      "description": "Dashboard base path.",
      "secret": false,
      "strategy": "default",
      "default": "/"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "errsole",
      "description": "Auto-generated admin password. Copy it from Variables after deploy.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "errsole"
      }
    },
    "cli": "railway deploy --template errsole",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "10de1bdf-dd5f-4917-8e4b-a43f5048c7b4",
            "serializedConfig": {
              "services": {
                "41ef80bb-8a7b-454b-8ead-30df6e522868": {
                  "icon": "https://devicons.railway.com/i/postgresql.svg",
                  "name": "postgres",
                  "source": {
                    "repo": "OpenSource-Templates/Errsole",
                    "rootDirectory": "/postgres"
                  },
                  "variables": {
                    "PGDATA": {
                      "description": "Data directory inside the volume mount.",
                      "defaultValue": "/var/lib/postgresql/data"
                    },
                    "POSTGRES_DB": {
                      "description": "Database name. Keep in sync with DATABASE_URL.",
                      "defaultValue": "errsole"
                    },
                    "POSTGRES_USER": {
                      "description": "Database role. Keep in sync with DATABASE_URL.",
                      "defaultValue": "errsole"
                    },
                    "POSTGRES_PASSWORD": {
                      "description": "Auto-generated database password. Referenced by errsole.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "41ef80bb-8a7b-454b-8ead-30df6e522868": {
                      "mountPath": "/var/lib/postgresql"
                    }
                  }
                },
                "d7d1e81f-52c0-4532-8bb1-688578e7720b": {
                  "icon": "https://www.errsole.com/assets/images/favicon.png",
                  "name": "errsole",
                  "source": {
                    "repo": "OpenSource-Templates/Errsole",
                    "rootDirectory": "/errsole"
                  },
                  "variables": {
                    "DOMAIN": {
                      "description": "Public domain where Betterlytics is accessible. Railway automatically provides this domain.",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "APP_NAME": {
                      "description": "Name shown in the dashboard and stored with logs.",
                      "defaultValue": "errsole"
                    },
                    "ADMIN_NAME": {
                      "description": "Display name for the seeded admin user.",
                      "defaultValue": "Admin"
                    },
                    "ADMIN_EMAIL": {
                      "description": "First dashboard admin email. Change this before first boot.",
                      "defaultValue": "admin@example.com"
                    },
                    "DATABASE_URL": {
                      "description": "Private Postgres URL over IPv6 DNS.",
                      "defaultValue": "postgresql://errsole:${{postgres.POSTGRES_PASSWORD}}@${{postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/errsole"
                    },
                    "ERRSOLE_PATH": {
                      "description": "Dashboard base path.",
                      "defaultValue": "/"
                    },
                    "ADMIN_PASSWORD": {
                      "description": "Auto-generated admin password. Copy it from Variables after deploy.",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T13:48:32.028Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f88563617a2644469ae6",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 89,
    "typical_build_seconds": 45,
    "typical_start_seconds": 10,
    "slowest_service": "errsole"
  }
}
