{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d76ba53b-c49d-448b-9321-51e199adedd5",
    "slug": "n8n-whatsapp-automation",
    "name": "n8n + Evolution API (WhatsApp Automation Stack)",
    "description": "Automate WhatsApp with n8n + Evolution API. Self-hosted, no Meta approval.",
    "url": "https://railway.com/deploy/n8n-whatsapp-automation",
    "upstream": {
      "image": "n8nio/n8n"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "n8n",
      "source": {
        "image": "n8nio/n8n"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "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"
      },
      "needs_volume": true,
      "volume_mount_path": "/evolution/instances",
      "http": true
    },
    {
      "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
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "n8n",
      "description": "System timezone of the container (IANA name, e.g. Europe/London).",
      "secret": false,
      "strategy": "default",
      "default": "Asia/Jakarta"
    },
    {
      "key": "PORT",
      "service": "n8n",
      "description": "Port Railway routes the public domain to; n8n listens here.",
      "secret": false,
      "strategy": "default",
      "default": "5678"
    },
    {
      "key": "DB_TYPE",
      "service": "n8n",
      "description": "Database engine for n8n. postgresdb uses the Postgres service.",
      "secret": false,
      "strategy": "default",
      "default": "postgresdb"
    },
    {
      "key": "N8N_HOST",
      "service": "n8n",
      "description": "Public hostname of the n8n editor, from the Railway domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "N8N_PORT",
      "service": "n8n",
      "description": "Port the n8n server listens on. Keep equal to PORT.",
      "secret": false,
      "strategy": "default",
      "default": "5678"
    },
    {
      "key": "WEBHOOK_URL",
      "service": "n8n",
      "description": "Public base URL for webhook and form URLs shown in n8n.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "N8N_PROTOCOL",
      "service": "n8n",
      "description": "Protocol n8n uses when building its own URLs.",
      "secret": false,
      "strategy": "default",
      "default": "https"
    },
    {
      "key": "N8N_LOG_LEVEL",
      "service": "n8n",
      "description": "Log verbosity: error, warn, info or debug.",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "N8N_LOG_OUTPUT",
      "service": "n8n",
      "description": "Where logs go. console sends them to Railway logs.",
      "secret": false,
      "strategy": "default",
      "default": "console"
    },
    {
      "key": "N8N_PROXY_HOPS",
      "service": "n8n",
      "description": "Number of proxies in front of n8n (Railway edge = 1).",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "EXECUTIONS_MODE",
      "service": "n8n",
      "description": "regular runs workflows in the main process (no queue workers).",
      "secret": false,
      "strategy": "default",
      "default": "regular"
    },
    {
      "key": "GENERIC_TIMEZONE",
      "service": "n8n",
      "description": "Timezone for Schedule triggers and date nodes.",
      "secret": false,
      "strategy": "default",
      "default": "Asia/Jakarta"
    },
    {
      "key": "N8N_RUNNERS_MODE",
      "service": "n8n",
      "description": "Task runners run inside the n8n container (internal).",
      "secret": false,
      "strategy": "default",
      "default": "internal"
    },
    {
      "key": "EVOLUTION_API_KEY",
      "service": "n8n",
      "description": "Evolution API key, for HTTP Request nodes and credentials.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "EVOLUTION_API_URL",
      "service": "n8n",
      "description": "Public URL of the Evolution API service, for workflows.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "N8N_SECURE_COOKIE",
      "service": "n8n",
      "description": "Only send the login cookie over HTTPS.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DB_POSTGRESDB_HOST",
      "service": "n8n",
      "description": "Private hostname of the Postgres service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DB_POSTGRESDB_PORT",
      "service": "n8n",
      "description": "Postgres port on the private network.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "DB_POSTGRESDB_USER",
      "service": "n8n",
      "description": "Postgres user n8n connects as.",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "N8N_ENCRYPTION_KEY",
      "service": "n8n",
      "description": "Encrypts saved credentials. Generated; never change it.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "N8N_EDITOR_BASE_URL",
      "service": "n8n",
      "description": "Public URL of the editor, used in emails and links.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "N8N_RUNNERS_ENABLED",
      "service": "n8n",
      "description": "Run Code node scripts in task runners.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "EXECUTIONS_DATA_PRUNE",
      "service": "n8n",
      "description": "Delete old execution data automatically.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DB_POSTGRESDB_DATABASE",
      "service": "n8n",
      "description": "Postgres database that stores n8n data.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DB_POSTGRESDB_PASSWORD",
      "service": "n8n",
      "description": "Postgres password, referenced from the Postgres service.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_POSTGRESDB_POOL_SIZE",
      "service": "n8n",
      "description": "Number of Postgres connections n8n keeps open.",
      "secret": false,
      "strategy": "default",
      "default": "5"
    },
    {
      "key": "EXECUTIONS_DATA_MAX_AGE",
      "service": "n8n",
      "description": "Hours to keep execution data before pruning (336 = 14 days).",
      "secret": false,
      "strategy": "default",
      "default": "336"
    },
    {
      "key": "N8N_DIAGNOSTICS_ENABLED",
      "service": "n8n",
      "description": "Anonymous usage telemetry to n8n. Off.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "N8N_HIRING_BANNER_ENABLED",
      "service": "n8n",
      "description": "Show n8n's hiring banner in the editor. Off.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "EXECUTIONS_DATA_SAVE_ON_ERROR",
      "service": "n8n",
      "description": "Save data for failed executions (all) for debugging.",
      "secret": false,
      "strategy": "default",
      "default": "all"
    },
    {
      "key": "N8N_COMMUNITY_PACKAGES_ENABLED",
      "service": "n8n",
      "description": "Allow installing community nodes, such as Evolution API nodes.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "EXECUTIONS_DATA_PRUNE_MAX_COUNT",
      "service": "n8n",
      "description": "Maximum number of executions kept before pruning.",
      "secret": false,
      "strategy": "default",
      "default": "10000"
    },
    {
      "key": "EXECUTIONS_DATA_SAVE_ON_SUCCESS",
      "service": "n8n",
      "description": "Save data for successful executions (none saves space).",
      "secret": false,
      "strategy": "default",
      "default": "none"
    },
    {
      "key": "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS",
      "service": "n8n",
      "description": "Require strict permissions on n8n's settings file.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS",
      "service": "n8n",
      "description": "Save data for executions run manually from the editor.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE",
      "service": "n8n",
      "description": "Let AI Agent nodes use community nodes as tools.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Private hostname of Redis on Railway's internal network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Port Redis listens on.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Redis ACL username.",
      "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": "Alias of REDIS_PASSWORD for clients that expect this name.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Redis password, generated at deploy time.",
      "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": "PORT",
      "service": "Evolution API",
      "description": "Port Railway routes the public domain to; Evolution API listens here.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SERVER_URL",
      "service": "Evolution API",
      "description": "Public URL of Evolution API, used in webhooks and the manager.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "N8N_ENABLED",
      "service": "Evolution API",
      "description": "Enable the built-in n8n integration for instances.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "CACHE_REDIS_URI",
      "service": "Evolution API",
      "description": "Redis connection for the cache, from the Redis service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_PROVIDER",
      "service": "Evolution API",
      "description": "Database engine. postgresql uses the Postgres service.",
      "secret": false,
      "strategy": "default",
      "default": "postgresql"
    },
    {
      "key": "CACHE_REDIS_ENABLED",
      "service": "Evolution API",
      "description": "Use Redis as the cache for sessions and messages.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "AUTHENTICATION_API_KEY",
      "service": "Evolution API",
      "description": "Global API key. Send it in the apikey header. Generated.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_CONNECTION_URI",
      "service": "Evolution API",
      "description": "Postgres connection string, from the Postgres service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "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 Private Domain Name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Port to connect to Postgres.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "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": "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_PUBLIC_URL",
      "service": "Postgres",
      "description": "Public URL to connect to Postgres database, used by the Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Allow Postgres to cleanly shut down",
      "secret": false,
      "strategy": "default",
      "default": "60"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "n8n-whatsapp-automation"
      }
    },
    "cli": "railway deploy --template n8n-whatsapp-automation",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d76ba53b-c49d-448b-9321-51e199adedd5",
            "serializedConfig": {
              "services": {
                "2b201d4b-4813-41b7-9c55-bcd4132958e6": {
                  "icon": "https://devicons.railway.com/i/n8n.svg",
                  "name": "n8n",
                  "source": {
                    "image": "n8nio/n8n"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "System timezone of the container (IANA name, e.g. Europe/London).",
                      "defaultValue": "Asia/Jakarta"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway routes the public domain to; n8n listens here.",
                      "defaultValue": "5678"
                    },
                    "DB_TYPE": {
                      "isOptional": false,
                      "description": "Database engine for n8n. postgresdb uses the Postgres service.",
                      "defaultValue": "postgresdb"
                    },
                    "N8N_HOST": {
                      "isOptional": false,
                      "description": "Public hostname of the n8n editor, from the Railway domain.",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "N8N_PORT": {
                      "isOptional": false,
                      "description": "Port the n8n server listens on. Keep equal to PORT.",
                      "defaultValue": "5678"
                    },
                    "WEBHOOK_URL": {
                      "isOptional": false,
                      "description": "Public base URL for webhook and form URLs shown in n8n.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "N8N_PROTOCOL": {
                      "isOptional": false,
                      "description": "Protocol n8n uses when building its own URLs.",
                      "defaultValue": "https"
                    },
                    "N8N_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Log verbosity: error, warn, info or debug.",
                      "defaultValue": "info"
                    },
                    "N8N_LOG_OUTPUT": {
                      "isOptional": false,
                      "description": "Where logs go. console sends them to Railway logs.",
                      "defaultValue": "console"
                    },
                    "N8N_PROXY_HOPS": {
                      "isOptional": false,
                      "description": "Number of proxies in front of n8n (Railway edge = 1).",
                      "defaultValue": "1"
                    },
                    "EXECUTIONS_MODE": {
                      "isOptional": false,
                      "description": "regular runs workflows in the main process (no queue workers).",
                      "defaultValue": "regular"
                    },
                    "GENERIC_TIMEZONE": {
                      "isOptional": false,
                      "description": "Timezone for Schedule triggers and date nodes.",
                      "defaultValue": "Asia/Jakarta"
                    },
                    "N8N_RUNNERS_MODE": {
                      "isOptional": false,
                      "description": "Task runners run inside the n8n container (internal).",
                      "defaultValue": "internal"
                    },
                    "EVOLUTION_API_KEY": {
                      "isOptional": false,
                      "description": "Evolution API key, for HTTP Request nodes and credentials.",
                      "defaultValue": "${{Evolution API.AUTHENTICATION_API_KEY}}"
                    },
                    "EVOLUTION_API_URL": {
                      "isOptional": false,
                      "description": "Public URL of the Evolution API service, for workflows.",
                      "defaultValue": "https://${{Evolution API.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "N8N_SECURE_COOKIE": {
                      "isOptional": false,
                      "description": "Only send the login cookie over HTTPS.",
                      "defaultValue": "true"
                    },
                    "DB_POSTGRESDB_HOST": {
                      "isOptional": false,
                      "description": "Private hostname of the Postgres service.",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DB_POSTGRESDB_PORT": {
                      "isOptional": false,
                      "description": "Postgres port on the private network.",
                      "defaultValue": "5432"
                    },
                    "DB_POSTGRESDB_USER": {
                      "isOptional": false,
                      "description": "Postgres user n8n connects as.",
                      "defaultValue": "postgres"
                    },
                    "N8N_ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "Encrypts saved credentials. Generated; never change it.",
                      "defaultValue": "{{N8N_ENCRYPTION_KEY}}"
                    },
                    "N8N_EDITOR_BASE_URL": {
                      "isOptional": false,
                      "description": "Public URL of the editor, used in emails and links.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "N8N_RUNNERS_ENABLED": {
                      "isOptional": false,
                      "description": "Run Code node scripts in task runners.",
                      "defaultValue": "true"
                    },
                    "EXECUTIONS_DATA_PRUNE": {
                      "isOptional": false,
                      "description": "Delete old execution data automatically.",
                      "defaultValue": "true"
                    },
                    "DB_POSTGRESDB_DATABASE": {
                      "isOptional": false,
                      "description": "Postgres database that stores n8n data.",
                      "defaultValue": "railway"
                    },
                    "DB_POSTGRESDB_PASSWORD": {
                      "isOptional": false,
                      "description": "Postgres password, referenced from the Postgres service.",
                      "defaultValue": "${{Postgres.POSTGRES_PASSWORD}}"
                    },
                    "DB_POSTGRESDB_POOL_SIZE": {
                      "isOptional": false,
                      "description": "Number of Postgres connections n8n keeps open.",
                      "defaultValue": "5"
                    },
                    "EXECUTIONS_DATA_MAX_AGE": {
                      "isOptional": false,
                      "description": "Hours to keep execution data before pruning (336 = 14 days).",
                      "defaultValue": "336"
                    },
                    "N8N_DIAGNOSTICS_ENABLED": {
                      "isOptional": false,
                      "description": "Anonymous usage telemetry to n8n. Off.",
                      "defaultValue": "false"
                    },
                    "N8N_HIRING_BANNER_ENABLED": {
                      "isOptional": false,
                      "description": "Show n8n's hiring banner in the editor. Off.",
                      "defaultValue": "false"
                    },
                    "EXECUTIONS_DATA_SAVE_ON_ERROR": {
                      "isOptional": false,
                      "description": "Save data for failed executions (all) for debugging.",
                      "defaultValue": "all"
                    },
                    "N8N_COMMUNITY_PACKAGES_ENABLED": {
                      "isOptional": false,
                      "description": "Allow installing community nodes, such as Evolution API nodes.",
                      "defaultValue": "true"
                    },
                    "EXECUTIONS_DATA_PRUNE_MAX_COUNT": {
                      "isOptional": false,
                      "description": "Maximum number of executions kept before pruning.",
                      "defaultValue": "10000"
                    },
                    "EXECUTIONS_DATA_SAVE_ON_SUCCESS": {
                      "isOptional": false,
                      "description": "Save data for successful executions (none saves space).",
                      "defaultValue": "none"
                    },
                    "N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS": {
                      "isOptional": false,
                      "description": "Require strict permissions on n8n's settings file.",
                      "defaultValue": "true"
                    },
                    "EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS": {
                      "isOptional": false,
                      "description": "Save data for executions run manually from the editor.",
                      "defaultValue": "true"
                    },
                    "N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE": {
                      "isOptional": false,
                      "description": "Let AI Agent nodes use community nodes as tools.",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:5678": {
                        "port": 5678
                      }
                    }
                  },
                  "volumeMounts": {
                    "2b201d4b-4813-41b7-9c55-bcd4132958e6": {
                      "mountPath": "/data"
                    }
                  }
                },
                "956decd9-4f63-4ee5-a179-d1402eb409ef": {
                  "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,
                      "description": "Private hostname of Redis on Railway's internal network.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Port Redis listens on.",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Redis ACL username.",
                      "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,
                      "description": "Alias of REDIS_PASSWORD for clients that expect this name.",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password, generated at deploy time.",
                      "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": {
                    "956decd9-4f63-4ee5-a179-d1402eb409ef": {
                      "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."
                  }
                },
                "b6a84fb7-fc99-4646-954a-1e90388ca687": {
                  "icon": "https://doc.evolution-api.com/mintlify-assets/_mintlify/favicons/evolution-74046672/oxfWs8SGvBbKOXUq/_generated/favicon/favicon.ico",
                  "name": "Evolution API",
                  "source": {
                    "image": "evoapicloud/evolution-api"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway routes the public domain to; Evolution API listens here.",
                      "defaultValue": "8080"
                    },
                    "SERVER_URL": {
                      "isOptional": false,
                      "description": "Public URL of Evolution API, used in webhooks and the manager.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "N8N_ENABLED": {
                      "isOptional": false,
                      "description": "Enable the built-in n8n integration for instances.",
                      "defaultValue": "true"
                    },
                    "CACHE_REDIS_URI": {
                      "isOptional": false,
                      "description": "Redis connection for the cache, from the Redis service.",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "DATABASE_PROVIDER": {
                      "isOptional": false,
                      "description": "Database engine. postgresql uses the Postgres service.",
                      "defaultValue": "postgresql"
                    },
                    "CACHE_REDIS_ENABLED": {
                      "isOptional": false,
                      "description": "Use Redis as the cache for sessions and messages.",
                      "defaultValue": "true"
                    },
                    "AUTHENTICATION_API_KEY": {
                      "isOptional": false,
                      "description": "Global API key. Send it in the apikey header. Generated.",
                      "defaultValue": "{{AUTHENTICATION_API_KEY}}"
                    },
                    "DATABASE_CONNECTION_URI": {
                      "isOptional": false,
                      "description": "Postgres connection string, from the Postgres service.",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "b6a84fb7-fc99-4646-954a-1e90388ca687": {
                      "mountPath": "/evolution/instances"
                    }
                  }
                },
                "c0b8fe50-4939-450f-b729-2a7d1084f986": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {
                    "requiredMountPath": "/var/lib/postgresql/data"
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Port to connect to Postgres.",
                      "defaultValue": "5432"
                    },
                    "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_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "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_PUBLIC_URL": {
                      "description": "Public URL to connect to Postgres database, used by the Data panel.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Allow Postgres to cleanly shut down",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "c0b8fe50-4939-450f-b729-2a7d1084f986": {
                      "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."
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-10-24T16:14:47.264Z",
  "generator_version": "0.1.0"
}
