{
  "manifest_version": "1.0.0",
  "template": {
    "id": "924667ca-bed9-498b-a953-7200b781ca83",
    "slug": "chatwoot-prod-citdev-last-version",
    "name": "Chatwoot - Pt_br",
    "description": "Template Chatwoot com descrição das variaveis em português Brasil.",
    "url": "https://railway.com/deploy/chatwoot-prod-citdev-last-version",
    "upstream": {
      "image": "chatwoot/chatwoot:latest"
    }
  },
  "services": [
    {
      "name": "PgVector",
      "source": {
        "image": "pgvector/pgvector:pg18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql",
      "http": false
    },
    {
      "name": "SideKiq",
      "source": {
        "image": "chatwoot/chatwoot:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/storage",
      "http": false
    },
    {
      "name": "Chatwoot",
      "source": {
        "image": "chatwoot/chatwoot:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/storage",
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "PgVector",
      "description": "Diretório padrão",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "PgVector",
      "description": "Diretório padrão do host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPORT",
      "service": "PgVector",
      "description": "Porta Padrão",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGUSER",
      "service": "PgVector",
      "description": "Usuário administrador do banco.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "PgVector",
      "description": "Local do banco de dados",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "PgVector",
      "description": "Senha do banco de dados adm",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "PgVector",
      "description": "Nome do banco de dados",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "PgVector",
      "description": "URL do banco de dados",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_USER",
      "service": "PgVector",
      "description": "Usuário administrador do banco.",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "PgVector",
      "description": "Duraçao do certificado SSL (10 anos)",
      "secret": false,
      "strategy": "default",
      "default": "3650"
    },
    {
      "key": "PGHOST_PRIVATE",
      "service": "PgVector",
      "description": "Porta privada",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT_PRIVATE",
      "service": "PgVector",
      "description": "Porta interna padrão do PostgresSQL",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "PgVector",
      "description": "Senha de banco",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_URL_PRIVATE",
      "service": "PgVector",
      "description": "URL do banco de dados",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "PgVector",
      "description": "Tempo de encerramento seguro (graceful shutdown)",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "LOG_LEVEL",
      "service": "SideKiq",
      "description": "Nivel de log da aplicação",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "RAILS_ENV",
      "service": "SideKiq",
      "description": "Ambiente de execução",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "REDIS_URL",
      "service": "SideKiq",
      "description": "URL automatica railway",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FRONTEND_URL",
      "service": "SideKiq",
      "description": "URL externa ",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_HOST",
      "service": "SideKiq",
      "description": "Endereço do banco de dados padrão Railway",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_PORT",
      "service": "SideKiq",
      "description": "Porta interna padrão do PostgresSQL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY_BASE",
      "service": "SideKiq",
      "description": "Chave automatica gerada pelo sistema.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "INSTALLATION_ENV",
      "service": "SideKiq",
      "description": "tipo de ambiente da instalação",
      "secret": false,
      "strategy": "default",
      "default": "docker"
    },
    {
      "key": "POSTGRES_SSLMODE",
      "service": "SideKiq",
      "description": "Certificado ssl exigido",
      "secret": false,
      "strategy": "default",
      "default": "require"
    },
    {
      "key": "POSTGRES_DATABASE",
      "service": "SideKiq",
      "description": "Endereço do banco de dados",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "SideKiq",
      "description": "Senha do banco de dados adm",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_USERNAME",
      "service": "SideKiq",
      "description": "Usuário administrador do banco.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_SSL_VERIFY",
      "service": "SideKiq",
      "description": "Exige certificado SSL",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "RAILS_LOG_TO_STDOUT",
      "service": "SideKiq",
      "description": "Grava logs ",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY",
      "service": "SideKiq",
      "description": "--",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY",
      "service": "SideKiq",
      "description": "--",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT",
      "service": "SideKiq",
      "description": "--",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "Chatwoot",
      "description": "Porta padrão da aplicação",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "NODE_ENV",
      "service": "Chatwoot",
      "description": "Ambiente de execução",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "FORCE_SSL",
      "service": "Chatwoot",
      "description": "Exige conexões HTTPS seguras",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "LOG_LEVEL",
      "service": "Chatwoot",
      "description": "Nivel de log da aplicação",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "RAILS_ENV",
      "service": "Chatwoot",
      "description": "Ambiente do Ruby on Rails",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "REDIS_URL",
      "service": "Chatwoot",
      "description": "URL automatica railway",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FRONTEND_URL",
      "service": "Chatwoot",
      "description": "URL externa ",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "POSTGRES_HOST",
      "service": "Chatwoot",
      "description": "Endereço do host do banco de dados",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_PORT",
      "service": "Chatwoot",
      "description": "Porta postgres",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DEFAULT_LOCALE",
      "service": "Chatwoot",
      "description": "Linguagem padrão pt_br",
      "secret": false,
      "strategy": "default",
      "default": "pt_BR"
    },
    {
      "key": "SECRET_KEY_BASE",
      "service": "Chatwoot",
      "description": "Gera chave automatica",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "INSTALLATION_ENV",
      "service": "Chatwoot",
      "description": "tipo de ambiente da instalação",
      "secret": false,
      "strategy": "default",
      "default": "docker"
    },
    {
      "key": "POSTGRES_SSLMODE",
      "service": "Chatwoot",
      "description": "Modo de conexão SSL com o banco",
      "secret": false,
      "strategy": "default",
      "default": "require"
    },
    {
      "key": "POSTGRES_DATABASE",
      "service": "Chatwoot",
      "description": "Enderço do banco de dados",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Chatwoot",
      "description": "Senha de banco",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_USERNAME",
      "service": "Chatwoot",
      "description": "Usuario banco de dados",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_SSL_VERIFY",
      "service": "Chatwoot",
      "description": "Evita erros de verificação do certificado SSL interno no PostgreSQL",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "RAILS_LOG_TO_STDOUT",
      "service": "Chatwoot",
      "description": "Garante que os logs do Chatwoot sejam exibidos no console do Railway",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ACTIVE_STORAGE_SERVICE",
      "service": "Chatwoot",
      "description": "Define o armazenamento de arquivos local (no volume do container)",
      "secret": false,
      "strategy": "default",
      "default": "local"
    },
    {
      "key": "ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY",
      "service": "Chatwoot",
      "description": "chave",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY",
      "service": "Chatwoot",
      "description": "chave",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT",
      "service": "Chatwoot",
      "description": "chave",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Host padrão",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Porta padrão da aplicação",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Usuário administrador do Redis",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "URL padrão",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Senha redis",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Senha resdis",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "URL publica",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "chatwoot-prod-citdev-last-version"
      }
    },
    "cli": "railway deploy --template chatwoot-prod-citdev-last-version",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "924667ca-bed9-498b-a953-7200b781ca83",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "46e8b88a-8cf6-4818-ba0e-84406218b87e": {
                  "icon": "https://devicons.railway.app/postgres",
                  "name": "PgVector",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"unset PGPORT; docker-entrypoint.sh postgres --port=5432\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "pgvector/pgvector:pg18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Diretório padrão",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Diretório padrão do host",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": true,
                      "description": "Porta Padrão",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "PGUSER": {
                      "isOptional": true,
                      "description": "Usuário administrador do banco.",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": true,
                      "description": "Local do banco de dados",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Senha do banco de dados adm",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Nome do banco de dados",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "URL do banco de dados",
                      "defaultValue": "postgres://${{PGUSER}}:${{PGPASSWORD}}@${{PGHOST}}:${{PGPORT}}/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Usuário administrador do banco.",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "Duraçao do certificado SSL (10 anos)",
                      "defaultValue": "3650"
                    },
                    "PGHOST_PRIVATE": {
                      "isOptional": true,
                      "description": "Porta privada",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT_PRIVATE": {
                      "isOptional": false,
                      "description": "Porta interna padrão do PostgresSQL",
                      "defaultValue": "5432"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": true,
                      "description": "Senha de banco",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_URL_PRIVATE": {
                      "isOptional": true,
                      "description": "URL do banco de dados",
                      "defaultValue": "postgres://${{PGUSER}}:${{PGPASSWORD}}@${{PGHOST_PRIVATE}}:${{PGPORT_PRIVATE}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Tempo de encerramento seguro (graceful shutdown)",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "46e8b88a-8cf6-4818-ba0e-84406218b87e": {
                      "mountPath": "/var/lib/postgresql"
                    }
                  }
                },
                "69dd14f5-554a-46ec-966d-01166716fd6c": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/chatwoot.svg",
                  "name": "SideKiq",
                  "deploy": {
                    "startCommand": "bundle exec sidekiq -C config/sidekiq.yml",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "chatwoot/chatwoot:latest"
                  },
                  "variables": {
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Nivel de log da aplicação",
                      "defaultValue": "info"
                    },
                    "RAILS_ENV": {
                      "isOptional": false,
                      "description": "Ambiente de execução",
                      "defaultValue": "production"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "URL automatica railway",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "FRONTEND_URL": {
                      "isOptional": false,
                      "description": "URL externa ",
                      "defaultValue": "${{Chatwoot.FRONTEND_URL}}"
                    },
                    "POSTGRES_HOST": {
                      "isOptional": false,
                      "description": "Endereço do banco de dados padrão Railway",
                      "defaultValue": "${{PgVector.PGHOST}}"
                    },
                    "POSTGRES_PORT": {
                      "isOptional": false,
                      "description": "Porta interna padrão do PostgresSQL",
                      "defaultValue": "${{PgVector.PGPORT}}"
                    },
                    "SECRET_KEY_BASE": {
                      "isOptional": false,
                      "description": "Chave automatica gerada pelo sistema.",
                      "defaultValue": "${{Chatwoot.SECRET_KEY_BASE}}"
                    },
                    "INSTALLATION_ENV": {
                      "isOptional": false,
                      "description": "tipo de ambiente da instalação",
                      "defaultValue": "docker"
                    },
                    "POSTGRES_SSLMODE": {
                      "isOptional": false,
                      "description": "Certificado ssl exigido",
                      "defaultValue": "require"
                    },
                    "POSTGRES_DATABASE": {
                      "isOptional": false,
                      "description": "Endereço do banco de dados",
                      "defaultValue": "${{PgVector.PGDATABASE}}"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Senha do banco de dados adm",
                      "defaultValue": "${{PgVector.PGPASSWORD}}"
                    },
                    "POSTGRES_USERNAME": {
                      "isOptional": false,
                      "description": "Usuário administrador do banco.",
                      "defaultValue": "${{PgVector.PGUSER}}"
                    },
                    "DATABASE_SSL_VERIFY": {
                      "isOptional": false,
                      "description": "Exige certificado SSL",
                      "defaultValue": "false"
                    },
                    "RAILS_LOG_TO_STDOUT": {
                      "isOptional": false,
                      "description": "Grava logs ",
                      "defaultValue": "true"
                    },
                    "ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY": {
                      "isOptional": false,
                      "description": "--",
                      "defaultValue": "${{Chatwoot.ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY}}"
                    },
                    "ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY": {
                      "isOptional": false,
                      "description": "--",
                      "defaultValue": "${{Chatwoot.ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY}}"
                    },
                    "ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT": {
                      "isOptional": false,
                      "description": "--",
                      "defaultValue": "${{Chatwoot.ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT}}"
                    }
                  },
                  "volumeMounts": {
                    "69dd14f5-554a-46ec-966d-01166716fd6c": {
                      "mountPath": "/app/storage"
                    }
                  }
                },
                "a4f33e21-0b19-4cdb-a5ae-20d27e7db1ca": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/chatwoot.svg",
                  "name": "Chatwoot",
                  "deploy": {
                    "startCommand": "bundle exec rails s -p 3000 -b 0.0.0.0",
                    "healthcheckPath": "",
                    "preDeployCommand": [
                      "bundle exec rails db:chatwoot_prepare"
                    ],
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "chatwoot/chatwoot:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Porta padrão da aplicação",
                      "defaultValue": "3000"
                    },
                    "NODE_ENV": {
                      "isOptional": false,
                      "description": "Ambiente de execução",
                      "defaultValue": "production"
                    },
                    "FORCE_SSL": {
                      "isOptional": false,
                      "description": "Exige conexões HTTPS seguras",
                      "defaultValue": "true"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Nivel de log da aplicação",
                      "defaultValue": "info"
                    },
                    "RAILS_ENV": {
                      "isOptional": false,
                      "description": "Ambiente do Ruby on Rails",
                      "defaultValue": "production"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "URL automatica railway",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "FRONTEND_URL": {
                      "isOptional": false,
                      "description": "URL externa ",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "POSTGRES_HOST": {
                      "isOptional": false,
                      "description": "Endereço do host do banco de dados",
                      "defaultValue": "${{PgVector.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "POSTGRES_PORT": {
                      "isOptional": false,
                      "description": "Porta postgres",
                      "defaultValue": "${{PgVector.PGPORT}}"
                    },
                    "DEFAULT_LOCALE": {
                      "isOptional": false,
                      "description": "Linguagem padrão pt_br",
                      "defaultValue": "pt_BR"
                    },
                    "SECRET_KEY_BASE": {
                      "isOptional": false,
                      "description": "Gera chave automatica",
                      "defaultValue": "{{SECRET_KEY_BASE}}"
                    },
                    "INSTALLATION_ENV": {
                      "isOptional": false,
                      "description": "tipo de ambiente da instalação",
                      "defaultValue": "docker"
                    },
                    "POSTGRES_SSLMODE": {
                      "isOptional": false,
                      "description": "Modo de conexão SSL com o banco",
                      "defaultValue": "require"
                    },
                    "POSTGRES_DATABASE": {
                      "isOptional": false,
                      "description": "Enderço do banco de dados",
                      "defaultValue": "${{PgVector.PGDATABASE}}"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Senha de banco",
                      "defaultValue": "${{PgVector.PGPASSWORD}}"
                    },
                    "POSTGRES_USERNAME": {
                      "isOptional": false,
                      "description": "Usuario banco de dados",
                      "defaultValue": "${{PgVector.PGUSER}}"
                    },
                    "DATABASE_SSL_VERIFY": {
                      "isOptional": false,
                      "description": "Evita erros de verificação do certificado SSL interno no PostgreSQL",
                      "defaultValue": "false"
                    },
                    "RAILS_LOG_TO_STDOUT": {
                      "isOptional": false,
                      "description": "Garante que os logs do Chatwoot sejam exibidos no console do Railway",
                      "defaultValue": "true"
                    },
                    "ACTIVE_STORAGE_SERVICE": {
                      "isOptional": false,
                      "description": "Define o armazenamento de arquivos local (no volume do container)",
                      "defaultValue": "local"
                    },
                    "ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY": {
                      "isOptional": false,
                      "description": "chave",
                      "defaultValue": "{{ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY}}"
                    },
                    "ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY": {
                      "isOptional": false,
                      "description": "chave",
                      "defaultValue": "{{ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY}}"
                    },
                    "ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT": {
                      "isOptional": false,
                      "description": "chave",
                      "defaultValue": "{{ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "a4f33e21-0b19-4cdb-a5ae-20d27e7db1ca": {
                      "mountPath": "/app/storage"
                    }
                  }
                },
                "c10d4146-4012-4c1d-b0f0-d57bd37b3aa5": {
                  "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": "Host padrão",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Porta padrão da aplicação",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Usuário administrador do Redis",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "URL padrão",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Senha redis",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Senha resdis",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "URL publica",
                      "defaultValue": "redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "volumeMounts": {
                    "c10d4146-4012-4c1d-b0f0-d57bd37b3aa5": {
                      "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."
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-22T14:39:56.226Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_4f14782377a942008e4c",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 123,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "SideKiq"
  }
}
