{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6c9eca2d-81ee-4f28-a0c9-b6383585540a",
    "slug": "praisedynasty",
    "name": "PraiseDynasty",
    "description": "We host whatsapp for like whatsapp",
    "url": "https://railway.com/deploy/praisedynasty",
    "upstream": {
      "image": "evoapicloud/evolution-api:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "tcp_ports": [
        5432
      ],
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        6379
      ],
      "http": false
    },
    {
      "name": "evolution-api",
      "source": {
        "image": "evoapicloud/evolution-api:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Filesystem path where Postgres stores its data files inside the container.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Internal hostname Railway assigns to this Postgres instance.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Port Postgres listens on (default 5432).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Default Postgres superuser used for internal connections.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "\tName of the default database created for this instance.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Password for the default Postgres user. Auto-generated by Railway.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Name of the database Evolution API and other services should connect to.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "\tFull internal Postgres connection string (used by services running on Railway's private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Username Railway creates for this Postgres instance.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "Validity period (in days) for the auto-generated SSL certificate used for secure Postgres connections.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Password for the Postgres root/admin user. Auto-generated by Railway.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PUBLIC_URL",
      "service": "Postgres",
      "description": "Publicly reachable Postgres connection string, for connecting from outside Railway's network (e.g. local dev tools).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "How long Railway waits for existing connections to drain before stopping the service during a deploy.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "\tInternal hostname Railway assigns to this Redis instance.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Port Redis listens on (default 6379).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "\tUsername for authenticating to Redis (default is usually default).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "\tFull internal Redis connection string used by services on Railway's private network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "\tPassword for the Redis instance. Auto-generated by Railway.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "\tAlias/duplicate of the Redis password, used by services expecting this variable name.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Publicly reachable Redis connection string, for connecting from outside Railway's network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "evolution-api",
      "description": "Port the Evolution API server listens on inside the container.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDIS_URI",
      "service": "evolution-api",
      "description": "\tRedis connection string used by Evolution API for session/state caching.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SERVER_URL",
      "service": "evolution-api",
      "description": "Public URL of this Evolution API deployment. Used to generate correct webhook and QR/connection URLs — set this to your Railway-assigned domain.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CORS_ORIGIN",
      "service": "evolution-api",
      "description": "Allowed origin(s) for cross-origin requests to the API. Use * to allow all, or a specific domain for tighter security.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DEL_INSTANCE",
      "service": "evolution-api",
      "description": "\tTime (or flag) controlling whether a disconnected WhatsApp instance is automatically deleted.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "QRCODE_LIMIT",
      "service": "evolution-api",
      "description": "\tMaximum number of QR code generation attempts allowed per instance before requiring a restart.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDIS_ENABLED",
      "service": "evolution-api",
      "description": "Whether Evolution API uses Redis for general caching (true/false).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CACHE_REDIS_URI",
      "service": "evolution-api",
      "description": "\tRedis connection string specifically used for the caching layer (may differ from the main Redis URI).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DATABASE_ENABLED",
      "service": "evolution-api",
      "description": "\tWhether Evolution API persists data to a database (true/false).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DATABASE_PROVIDER",
      "service": "evolution-api",
      "description": "Which database engine Evolution API should use (e.g. postgresql).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CACHE_REDIS_ENABLED",
      "service": "evolution-api",
      "description": "\tWhether Redis-based caching is turned on for Evolution API (true/false).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AUTHENTICATION_API_KEY",
      "service": "evolution-api",
      "description": "Secret API key required to authenticate all requests to this Evolution API instance. Rotate this before production use.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CACHE_REDIS_PREFIX_KEY",
      "service": "evolution-api",
      "description": "Prefix added to all Redis cache keys created by Evolution API, to avoid collisions if Redis is shared.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_CONNECTION_URI",
      "service": "evolution-api",
      "description": "\tFull connection string Evolution API uses to reach its Postgres database.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CONFIG_SESSION_PHONE_NAME",
      "service": "evolution-api",
      "description": "Display name shown for the linked device/session in WhatsApp's \"Linked Devices\" list.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CACHE_REDIS_SAVE_INSTANCES",
      "service": "evolution-api",
      "description": "Whether WhatsApp instance state is persisted to Redis so instances survive restarts (true/false).",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CONFIG_SESSION_PHONE_CLIENT",
      "service": "evolution-api",
      "description": "\tClient name identifying this app/session to WhatsApp (shown during the linking/QR process).",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "praisedynasty"
      }
    },
    "cli": "railway deploy --template praisedynasty",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6c9eca2d-81ee-4f28-a0c9-b6383585540a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "2cb38164-70bd-4924-a457-c741b63e5c63": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Filesystem path where Postgres stores its data files inside the container.",
                      "defaultValue": "{{PGDATA}}"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Internal hostname Railway assigns to this Postgres instance.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Port Postgres listens on (default 5432).",
                      "defaultValue": "{{PGPORT}}"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Default Postgres superuser used for internal connections.",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "\tName of the default database created for this instance.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Password for the default Postgres user. Auto-generated by Railway.",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Name of the database Evolution API and other services should connect to.",
                      "defaultValue": "{{POSTGRES_DB}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "\tFull internal Postgres connection string (used by services running on Railway's private network).",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Username Railway creates for this Postgres instance.",
                      "defaultValue": "{{POSTGRES_USER}}"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "Validity period (in days) for the auto-generated SSL certificate used for secure Postgres connections.",
                      "defaultValue": "{{SSL_CERT_DAYS}}"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the Postgres root/admin user. Auto-generated by Railway.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Publicly reachable Postgres connection string, for connecting from outside Railway's network (e.g. local dev tools).",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "How long Railway waits for existing connections to drain before stopping the service during a deploy.",
                      "defaultValue": "{{RAILWAY_DEPLOYMENT_DRAINING_SECONDS}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    }
                  },
                  "volumeMounts": {
                    "2cb38164-70bd-4924-a457-c741b63e5c63": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "a892f780-e04f-4060-be1b-b7c62eb94315": {
                  "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\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "\tInternal hostname Railway assigns to this Redis instance.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Port Redis listens on (default 6379).",
                      "defaultValue": "{{REDISPORT}}"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "\tUsername for authenticating to Redis (default is usually default).",
                      "defaultValue": "{{REDISUSER}}"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "\tFull internal Redis connection string used by services on Railway's private network.",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "\tPassword for the Redis instance. Auto-generated by Railway.",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "\tAlias/duplicate of the Redis password, used by services expecting this variable name.",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Publicly reachable Redis connection string, for connecting from outside Railway's network.",
                      "defaultValue": "redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    }
                  },
                  "volumeMounts": {
                    "a892f780-e04f-4060-be1b-b7c62eb94315": {
                      "mountPath": "/data"
                    }
                  }
                },
                "b0a2a61e-a828-4c0b-a253-3dcce0e349d5": {
                  "icon": "https://devicons.railway.app/whatsapp",
                  "name": "evolution-api",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "evoapicloud/evolution-api:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the Evolution API server listens on inside the container.",
                      "defaultValue": "{{PORT}}"
                    },
                    "REDIS_URI": {
                      "isOptional": false,
                      "description": "\tRedis connection string used by Evolution API for session/state caching.",
                      "defaultValue": "{{REDIS_URI}}"
                    },
                    "SERVER_URL": {
                      "isOptional": false,
                      "description": "Public URL of this Evolution API deployment. Used to generate correct webhook and QR/connection URLs — set this to your Railway-assigned domain.",
                      "defaultValue": "{{SERVER_URL}}"
                    },
                    "CORS_ORIGIN": {
                      "isOptional": false,
                      "description": "Allowed origin(s) for cross-origin requests to the API. Use * to allow all, or a specific domain for tighter security.",
                      "defaultValue": "{{CORS_ORIGIN}}"
                    },
                    "DEL_INSTANCE": {
                      "isOptional": false,
                      "description": "\tTime (or flag) controlling whether a disconnected WhatsApp instance is automatically deleted.",
                      "defaultValue": "{{DEL_INSTANCE}}"
                    },
                    "QRCODE_LIMIT": {
                      "isOptional": false,
                      "description": "\tMaximum number of QR code generation attempts allowed per instance before requiring a restart.",
                      "defaultValue": "{{QRCODE_LIMIT}}"
                    },
                    "REDIS_ENABLED": {
                      "isOptional": false,
                      "description": "Whether Evolution API uses Redis for general caching (true/false).",
                      "defaultValue": "{{REDIS_ENABLED}}"
                    },
                    "CACHE_REDIS_URI": {
                      "isOptional": false,
                      "description": "\tRedis connection string specifically used for the caching layer (may differ from the main Redis URI).",
                      "defaultValue": "{{CACHE_REDIS_URI}}"
                    },
                    "DATABASE_ENABLED": {
                      "isOptional": false,
                      "description": "\tWhether Evolution API persists data to a database (true/false).",
                      "defaultValue": "{{DATABASE_ENABLED}}"
                    },
                    "DATABASE_PROVIDER": {
                      "isOptional": false,
                      "description": "Which database engine Evolution API should use (e.g. postgresql).",
                      "defaultValue": "{{DATABASE_PROVIDER}}"
                    },
                    "CACHE_REDIS_ENABLED": {
                      "isOptional": false,
                      "description": "\tWhether Redis-based caching is turned on for Evolution API (true/false).",
                      "defaultValue": "{{CACHE_REDIS_ENABLED}}"
                    },
                    "AUTHENTICATION_API_KEY": {
                      "isOptional": false,
                      "description": "Secret API key required to authenticate all requests to this Evolution API instance. Rotate this before production use.",
                      "defaultValue": "{{AUTHENTICATION_API_KEY}}"
                    },
                    "CACHE_REDIS_PREFIX_KEY": {
                      "isOptional": false,
                      "description": "Prefix added to all Redis cache keys created by Evolution API, to avoid collisions if Redis is shared.",
                      "defaultValue": "{{CACHE_REDIS_PREFIX_KEY}}"
                    },
                    "DATABASE_CONNECTION_URI": {
                      "isOptional": false,
                      "description": "\tFull connection string Evolution API uses to reach its Postgres database.",
                      "defaultValue": "{{DATABASE_CONNECTION_URI}}"
                    },
                    "CONFIG_SESSION_PHONE_NAME": {
                      "isOptional": false,
                      "description": "Display name shown for the linked device/session in WhatsApp's \"Linked Devices\" list.",
                      "defaultValue": "{{CONFIG_SESSION_PHONE_NAME}}"
                    },
                    "CACHE_REDIS_SAVE_INSTANCES": {
                      "isOptional": false,
                      "description": "Whether WhatsApp instance state is persisted to Redis so instances survive restarts (true/false).",
                      "defaultValue": "{{CACHE_REDIS_SAVE_INSTANCES}}"
                    },
                    "CONFIG_SESSION_PHONE_CLIENT": {
                      "isOptional": false,
                      "description": "\tClient name identifying this app/session to WhatsApp (shown during the linking/QR process).",
                      "defaultValue": "{{CONFIG_SESSION_PHONE_CLIENT}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "evolution-api",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T22:14:37.505Z",
  "generator_version": "0.1.0"
}
