{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e671e590-fec4-4beb-8044-37f013a351e9",
    "slug": "zonal-gentleness",
    "name": "absinthe-adapters",
    "description": "Deploy and Host zonal-gentleness with Railway",
    "url": "https://railway.com/deploy/zonal-gentleness"
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        6379
      ],
      "http": false
    },
    {
      "name": "absinthelabs/absinthe-adapters:latest",
      "source": {
        "image": "ghcr.io/absinthelabs/absinthe-adapters:latest"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Provide a value for REDISHOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Provide a value for REDISPORT.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Provide a value for REDISUSER.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Connection string for connecting to redis using the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDISPASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDIS_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Connection string for connecting to redis externally",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RPC_URL",
      "service": "absinthelabs/absinthe-adapters:latest",
      "description": "Provide a value for RPC_URL.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "LOG_LEVEL",
      "service": "absinthelabs/absinthe-adapters:latest",
      "description": "Provide a value for LOG_LEVEL.",
      "secret": false,
      "strategy": "default",
      "default": "debug"
    },
    {
      "key": "REDIS_URL",
      "service": "absinthelabs/absinthe-adapters:latest",
      "description": "Provide a value for REDIS_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "INDEXER_CONFIG",
      "service": "absinthelabs/absinthe-adapters:latest",
      "description": "Provide a value for INDEXER_CONFIG.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ABSINTHE_API_KEY",
      "service": "absinthelabs/absinthe-adapters:latest",
      "description": "Provide a value for ABSINTHE_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ABSINTHE_API_URL",
      "service": "absinthelabs/absinthe-adapters:latest",
      "description": "Provide a value for ABSINTHE_API_URL.",
      "secret": false,
      "strategy": "default",
      "default": "https://v2.adapters.absinthe.network"
    },
    {
      "key": "COINGECKO_API_KEY",
      "service": "absinthelabs/absinthe-adapters:latest",
      "description": "Provide a value for COINGECKO_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "zonal-gentleness"
      }
    },
    "cli": "railway deploy --template zonal-gentleness",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e671e590-fec4-4beb-8044-37f013a351e9",
            "serializedConfig": {
              "services": {
                "0aeb52bd-f8db-43c2-b569-b76baab73d36": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\""
                  },
                  "source": {
                    "image": "redis:8.2.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Connection string for connecting to redis using the private network",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "description": "Connection string for connecting to redis externally",
                      "defaultValue": "redis://default:${{ REDIS_PASSWORD }}@${{ RAILWAY_TCP_PROXY_DOMAIN }}:${{ RAILWAY_TCP_PROXY_PORT }}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    }
                  },
                  "volumeMounts": {
                    "0aeb52bd-f8db-43c2-b569-b76baab73d36": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                },
                "69ebd0cc-0e70-4f62-92ab-65e74123eaf7": {
                  "name": "absinthelabs/absinthe-adapters:latest",
                  "source": {
                    "image": "ghcr.io/absinthelabs/absinthe-adapters:latest"
                  },
                  "variables": {
                    "RPC_URL": {
                      "defaultValue": "{{RPC_URL}}"
                    },
                    "LOG_LEVEL": {
                      "defaultValue": "debug"
                    },
                    "REDIS_URL": {
                      "defaultValue": "${{Redis.REDIS_PUBLIC_URL}}"
                    },
                    "INDEXER_CONFIG": {
                      "defaultValue": "{{INDEXER_CONFIG}}"
                    },
                    "ABSINTHE_API_KEY": {
                      "defaultValue": "{{ABSINTHE_API_KEY}}"
                    },
                    "ABSINTHE_API_URL": {
                      "defaultValue": "https://v2.adapters.absinthe.network"
                    },
                    "COINGECKO_API_KEY": {
                      "defaultValue": "{{COINGECKO_API_KEY}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T04:14:41.730Z",
  "generator_version": "0.1.0"
}
