{
  "manifest_version": "1.0.0",
  "template": {
    "id": "2070e3f1-2b30-4bf2-a901-4b8cb8556a82",
    "slug": "eopPyH",
    "name": "Hollo",
    "description": "Hollo's official Railway template",
    "url": "https://railway.com/deploy/eopPyH",
    "upstream": {
      "image": "ghcr.io/fedify-dev/hollo:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "tcp_ports": [
        5432
      ],
      "http": false
    },
    {
      "name": "Hollo",
      "source": {
        "image": "ghcr.io/fedify-dev/hollo:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Location where the database will be initialized",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Railway TCP Proxy Domain",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Required variable for the data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created when image is started.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "URL to connect to Postgres database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPRIVATEHOST",
      "service": "Postgres",
      "description": "Railway Private Domain",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "User to connect to Postgres DB",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days.",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Password to connect to DB",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PRIVATE_URL",
      "service": "Postgres",
      "description": "URL to connect to Postgres database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "LOG_LEVEL",
      "service": "Hollo",
      "description": "The lowest level of logging messages to see",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "LOG_QUERY",
      "service": "Hollo",
      "description": "Whether to log SQL queries.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "S3_BUCKET",
      "service": "Hollo",
      "description": "The bucket name of the S3-compatible object storage",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DRIVE_DISK",
      "service": "Hollo",
      "description": "The disk driver used by Hollo to store blobs such as avatars, custom emojis, and other media. Valid values are `fs` (local filesystem) and `s3` (S3-compatible object storage).",
      "secret": false,
      "strategy": "default",
      "default": "s3"
    },
    {
      "key": "SECRET_KEY",
      "service": "Hollo",
      "description": "A secret key used for secure cookies",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "BEHIND_PROXY",
      "service": "Hollo",
      "description": "Provide a value for BEHIND_PROXY.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DATABASE_URL",
      "service": "Hollo",
      "description": "The database URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ASSET_URL_BASE",
      "service": "Hollo",
      "description": "The public URL base of the S3-compatible object storage",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "S3_ENDPOINT_URL",
      "service": "Hollo",
      "description": "The endpoint URL for S3-compatible object storage",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "Hollo",
      "description": "The access key for S3-compatible object storage",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "Hollo",
      "description": "The secret key for S3-compatible object storage",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "eopPyH"
      }
    },
    "cli": "railway deploy --template eopPyH",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "2070e3f1-2b30-4bf2-a901-4b8cb8556a82",
            "serializedConfig": {
              "services": {
                "6391589d-c8a5-4dbc-bd07-0e3066cc19ed": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:latest"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Railway TCP Proxy Domain",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Required variable for the data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database created when image is started.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Postgres database",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "PGPRIVATEHOST": {
                      "isOptional": false,
                      "description": "Railway Private Domain",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "User to connect to Postgres DB",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": true,
                      "description": "SSL certificate expiry in days.",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Password to connect to DB",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PRIVATE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Postgres database",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "6391589d-c8a5-4dbc-bd07-0e3066cc19ed": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  },
                  "haTemplateCode": "postgres-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxy",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "Routes traffic to the primary",
                      "defaultValue": 3
                    },
                    "replica": {
                      "label": "Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5,
                        6,
                        7
                      ],
                      "nodeLabel": "Postgres",
                      "description": "Streaming replicas for automatic failover",
                      "defaultValue": 2
                    },
                    "internal": {
                      "label": "Coordinator Nodes",
                      "options": [
                        3,
                        5,
                        7,
                        9
                      ],
                      "nodeLabel": "etcd",
                      "defaultValue": 3
                    },
                    "description": "This will convert your Postgres database to an HA cluster with Patroni failover and etcd consensus."
                  }
                },
                "cec631b8-4080-4ace-af00-78f2600210e3": {
                  "icon": "https://rawcdn.githack.com/fedify-dev/hollo/d15e4062456b99ad793c0b3ddcc27bbe05bfcd5d/logo-white.svg",
                  "name": "Hollo",
                  "deploy": {
                    "healthcheckPath": "/nodeinfo/2.1"
                  },
                  "source": {
                    "image": "ghcr.io/fedify-dev/hollo:latest"
                  },
                  "variables": {
                    "LOG_LEVEL": {
                      "isOptional": true,
                      "description": "The lowest level of logging messages to see",
                      "defaultValue": "info"
                    },
                    "LOG_QUERY": {
                      "isOptional": true,
                      "description": "Whether to log SQL queries.",
                      "defaultValue": "false"
                    },
                    "S3_BUCKET": {
                      "isOptional": false,
                      "description": "The bucket name of the S3-compatible object storage",
                      "defaultValue": "{{S3_BUCKET}}"
                    },
                    "DRIVE_DISK": {
                      "isOptional": true,
                      "description": "The disk driver used by Hollo to store blobs such as avatars, custom emojis, and other media. Valid values are `fs` (local filesystem) and `s3` (S3-compatible object storage).",
                      "defaultValue": "s3"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "A secret key used for secure cookies",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "SENTRY_DSN": {
                      "isOptional": true,
                      "description": "The DSN of the Sentry project to send error reports and traces to.",
                      "defaultValue": ""
                    },
                    "BEHIND_PROXY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "true"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "The database URL",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "ASSET_URL_BASE": {
                      "isOptional": false,
                      "description": "The public URL base of the S3-compatible object storage",
                      "defaultValue": "{{ASSET_URL_BASE}}"
                    },
                    "S3_ENDPOINT_URL": {
                      "isOptional": false,
                      "description": "The endpoint URL for S3-compatible object storage",
                      "defaultValue": "{{S3_ENDPOINT_URL}}"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "The access key for S3-compatible object storage",
                      "defaultValue": "{{AWS_ACCESS_KEY_ID}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "The secret key for S3-compatible object storage",
                      "defaultValue": "{{AWS_SECRET_ACCESS_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Hollo",
      "method": "GET",
      "path": "/nodeinfo/2.1",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0"
}
