{
  "manifest_version": "1.0.0",
  "template": {
    "id": "cca60416-edbc-4e53-a3d1-be0d2b9b2727",
    "slug": "mautic-1",
    "name": "mautic [Updated Sep '26]",
    "description": "Mautic [Sep '26] (Marketing Automation Platform) Self Host",
    "url": "https://railway.com/deploy/mautic-1",
    "upstream": {
      "repo_url": "https://github.com/shruti060701/mautic-railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "mautic-railway",
      "source": {
        "repo": "https://github.com/shruti060701/mautic-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/mnt/mautic-persist",
      "http": true
    },
    {
      "name": "harmonious-light",
      "source": {
        "repo": "https://github.com/shruti060701/mautic-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "MySQL",
      "source": {
        "image": "mysql:9.4"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    },
    {
      "name": "focused-encouragement",
      "source": {
        "repo": "https://github.com/shruti060701/mautic-railway"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "mautic-railway",
      "description": "Set explicitly during testing; did not actually resolve the 502/targetPort issue on its own, the real fix was the dashboard target-port field (see section 1). Keep this set regardless since it's a reasonable Railway convention, but don't rely on it alone.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "MAUTIC_URL",
      "service": "mautic-railway",
      "description": "Confirmed live as `https://mautic-railway-production.up.railway.app` on all three. An earlier draft of this checklist wrongly showed `https://${{mautic-railway.RAILWAY_PUBLIC_DOMAIN}}` on all three rows, including web referencing itself, caught directly by Shruti comparing the dashboard's real value against this file.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MAUTIC_DB_HOST",
      "service": "mautic-railway",
      "description": "MySQL private hostname. Confirmed real variable name live.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_PORT",
      "service": "mautic-railway",
      "description": "MySQL port. Confirmed real variable name live.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_USER",
      "service": "mautic-railway",
      "description": "MySQL username. Confirmed real variable name live.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_SECRET_KEY",
      "service": "mautic-railway",
      "description": "Must be byte-identical across all three, confirmed live via SHA-256 hash comparison without printing the value.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DOCKER_MAUTIC_ROLE",
      "service": "mautic-railway",
      "description": " Which Mautic process this service runs.",
      "secret": false,
      "strategy": "default",
      "default": "mautic_web"
    },
    {
      "key": "MAUTIC_ADMIN_EMAIL",
      "service": "mautic-railway",
      "description": "Admin account email created on first install.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MAUTIC_DB_DATABASE",
      "service": "mautic-railway",
      "description": "Database name. The real image expects `MAUTIC_DB_DATABASE`, not `MAUTIC_DB_NAME` (confirmed directly in Mautic's own `docker-mautic` source), the reference Railway template uses the wrong variable name here. Confirmed real MySQL plugin variable name live.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_PASSWORD",
      "service": "mautic-railway",
      "description": "MySQL password. Confirmed real variable name live.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_ADMIN_PASSWORD",
      "service": "mautic-railway",
      "description": "Admin account password created on first install.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MAUTIC_URL",
      "service": "harmonious-light",
      "description": "Confirmed live as `https://mautic-railway-production.up.railway.app` on all three. An earlier draft of this checklist wrongly showed `https://${{mautic-railway.RAILWAY_PUBLIC_DOMAIN}}` on all three rows, including web referencing itself, caught directly by Shruti comparing the dashboard's real value against this file.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_HOST",
      "service": "harmonious-light",
      "description": "MySQL private hostname. Confirmed real variable name live.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_PORT",
      "service": "harmonious-light",
      "description": "MySQL port. Confirmed real variable name live.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_USER",
      "service": "harmonious-light",
      "description": "MySQL username. Confirmed real variable name live.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_SECRET_KEY",
      "service": "harmonious-light",
      "description": "Must be byte-identical across all three, confirmed live via SHA-256 hash comparison without printing the value.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DOCKER_MAUTIC_ROLE",
      "service": "harmonious-light",
      "description": "Which Mautic process this service runs.",
      "secret": false,
      "strategy": "default",
      "default": "mautic_worker"
    },
    {
      "key": "MAUTIC_DB_DATABASE",
      "service": "harmonious-light",
      "description": "Database name. The real image expects `MAUTIC_DB_DATABASE`, not `MAUTIC_DB_NAME` (confirmed directly in Mautic's own `docker-mautic` source), the reference Railway template uses the wrong variable name here. Confirmed real MySQL plugin variable name live.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_PASSWORD",
      "service": "harmonious-light",
      "description": "MySQL password. Confirmed real variable name live.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQLHOST",
      "service": "MySQL",
      "description": "Private-network hostname for this service. Confirmed live as `mysql.railway.internal`.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQLPORT",
      "service": "MySQL",
      "description": "Port MySQL listens on.",
      "secret": false,
      "strategy": "default",
      "default": "3306"
    },
    {
      "key": "MYSQLUSER",
      "service": "MySQL",
      "description": "Superuser username.",
      "secret": false,
      "strategy": "default",
      "default": "root"
    },
    {
      "key": "MYSQL_URL",
      "service": "MySQL",
      "description": "Full private-network connection string. Confirmed live, matches the real resolved shape (`mysql://root:[password]@mysql.railway.internal:3306/railway`). Not directly referenced by the app services, they build their own connection from the individual `MYSQL*` variables instead, but document it since the composer will show it.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQLDATABASE",
      "service": "MySQL",
      "description": "Alias referencing `MYSQL_DATABASE`. Already prefilled by Railway, don't overwrite with a literal.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQLPASSWORD",
      "service": "MySQL",
      "description": "Alias referencing `MYSQL_ROOT_PASSWORD`. Already prefilled by Railway, don't overwrite with a literal.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_DATABASE",
      "service": "MySQL",
      "description": "Default database name, the real literal value. This is what `MAUTIC_DB_DATABASE` on the app services ultimately resolves to via `MYSQLDATABASE`.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "MYSQL_PUBLIC_URL",
      "service": "MySQL",
      "description": "Public connection string. Only resolves to a real host/port once a TCP Proxy is enabled under this service's Settings → Networking, confirmed live it's an empty/unusable host:port until then.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_ROOT_PASSWORD",
      "service": "MySQL",
      "description": "Superuser password, auto-generated per deploy, the real literal value.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MAUTIC_URL",
      "service": "focused-encouragement",
      "description": "Confirmed live as `https://mautic-railway-production.up.railway.app` on all three. An earlier draft of this checklist wrongly showed `https://${{mautic-railway.RAILWAY_PUBLIC_DOMAIN}}` on all three rows, including web referencing itself, caught directly by Shruti comparing the dashboard's real value against this file.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_HOST",
      "service": "focused-encouragement",
      "description": "MySQL private hostname. Confirmed real variable name live.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_PORT",
      "service": "focused-encouragement",
      "description": "MySQL port. Confirmed real variable name live.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_USER",
      "service": "focused-encouragement",
      "description": "MySQL username. Confirmed real variable name live.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_SECRET_KEY",
      "service": "focused-encouragement",
      "description": "Must be byte-identical across all three, confirmed live via SHA-256 hash comparison without printing the value.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DOCKER_MAUTIC_ROLE",
      "service": "focused-encouragement",
      "description": "Which Mautic process this service runs.",
      "secret": false,
      "strategy": "default",
      "default": "mautic_cron"
    },
    {
      "key": "MAUTIC_DB_DATABASE",
      "service": "focused-encouragement",
      "description": "Database name. The real image expects `MAUTIC_DB_DATABASE`, not `MAUTIC_DB_NAME` (confirmed directly in Mautic's own `docker-mautic` source), the reference Railway template uses the wrong variable name here. Confirmed real MySQL plugin variable name live.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_PASSWORD",
      "service": "focused-encouragement",
      "description": "MySQL password. Confirmed real variable name live.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mautic-1"
      }
    },
    "cli": "railway deploy --template mautic-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "cca60416-edbc-4e53-a3d1-be0d2b9b2727",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "2dfebc32-0e28-444f-b391-94ece4e71da9": {
                  "icon": "https://res.cloudinary.com/dh2nt6hgh/image/upload/v1755853769/images_1_atlvgt.jpg",
                  "name": "mautic-railway",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/s/login",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/shruti060701/mautic-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Set explicitly during testing; did not actually resolve the 502/targetPort issue on its own, the real fix was the dashboard target-port field (see section 1). Keep this set regardless since it's a reasonable Railway convention, but don't rely on it alone.",
                      "defaultValue": "80"
                    },
                    "MAUTIC_URL": {
                      "isOptional": false,
                      "description": "Confirmed live as `https://mautic-railway-production.up.railway.app` on all three. An earlier draft of this checklist wrongly showed `https://${{mautic-railway.RAILWAY_PUBLIC_DOMAIN}}` on all three rows, including web referencing itself, caught directly by Shruti comparing the dashboard's real value against this file.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MAUTIC_DB_HOST": {
                      "isOptional": false,
                      "description": "MySQL private hostname. Confirmed real variable name live.",
                      "defaultValue": "${{MySQL.MYSQLHOST}}"
                    },
                    "MAUTIC_DB_PORT": {
                      "isOptional": false,
                      "description": "MySQL port. Confirmed real variable name live.",
                      "defaultValue": "${{MySQL.MYSQLPORT}}"
                    },
                    "MAUTIC_DB_USER": {
                      "isOptional": false,
                      "description": "MySQL username. Confirmed real variable name live.",
                      "defaultValue": "${{MySQL.MYSQLUSER}}"
                    },
                    "MAUTIC_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Must be byte-identical across all three, confirmed live via SHA-256 hash comparison without printing the value.",
                      "defaultValue": "{{MAUTIC_SECRET_KEY}}"
                    },
                    "DOCKER_MAUTIC_ROLE": {
                      "isOptional": false,
                      "description": " Which Mautic process this service runs.",
                      "defaultValue": "mautic_web"
                    },
                    "MAUTIC_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Admin account email created on first install.",
                      "defaultValue": "{{MAUTIC_ADMIN_EMAIL}}"
                    },
                    "MAUTIC_DB_DATABASE": {
                      "isOptional": false,
                      "description": "Database name. The real image expects `MAUTIC_DB_DATABASE`, not `MAUTIC_DB_NAME` (confirmed directly in Mautic's own `docker-mautic` source), the reference Railway template uses the wrong variable name here. Confirmed real MySQL plugin variable name live.",
                      "defaultValue": "${{MySQL.MYSQLDATABASE}}"
                    },
                    "MAUTIC_DB_PASSWORD": {
                      "isOptional": false,
                      "description": "MySQL password. Confirmed real variable name live.",
                      "defaultValue": "${{MySQL.MYSQLPASSWORD}}"
                    },
                    "MAUTIC_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin account password created on first install.",
                      "defaultValue": "{{MAUTIC_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "2dfebc32-0e28-444f-b391-94ece4e71da9": {
                      "mountPath": "/mnt/mautic-persist"
                    }
                  }
                },
                "60f035f9-030c-419f-89be-d9257d23e50a": {
                  "icon": "https://res.cloudinary.com/dh2nt6hgh/image/upload/v1755853769/images_1_atlvgt.jpg",
                  "name": "harmonious-light",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/shruti060701/mautic-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "MAUTIC_URL": {
                      "isOptional": false,
                      "description": "Confirmed live as `https://mautic-railway-production.up.railway.app` on all three. An earlier draft of this checklist wrongly showed `https://${{mautic-railway.RAILWAY_PUBLIC_DOMAIN}}` on all three rows, including web referencing itself, caught directly by Shruti comparing the dashboard's real value against this file.",
                      "defaultValue": "${{mautic-railway.MAUTIC_URL}}"
                    },
                    "MAUTIC_DB_HOST": {
                      "isOptional": false,
                      "description": "MySQL private hostname. Confirmed real variable name live.",
                      "defaultValue": "${{MySQL.MYSQLHOST}}"
                    },
                    "MAUTIC_DB_PORT": {
                      "isOptional": false,
                      "description": "MySQL port. Confirmed real variable name live.",
                      "defaultValue": "${{MySQL.MYSQLPORT}}"
                    },
                    "MAUTIC_DB_USER": {
                      "isOptional": false,
                      "description": "MySQL username. Confirmed real variable name live.",
                      "defaultValue": "${{MySQL.MYSQLUSER}}"
                    },
                    "MAUTIC_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Must be byte-identical across all three, confirmed live via SHA-256 hash comparison without printing the value.",
                      "defaultValue": "${{mautic-railway.MAUTIC_SECRET_KEY}}"
                    },
                    "DOCKER_MAUTIC_ROLE": {
                      "isOptional": false,
                      "description": "Which Mautic process this service runs.",
                      "defaultValue": "mautic_worker"
                    },
                    "MAUTIC_DB_DATABASE": {
                      "isOptional": false,
                      "description": "Database name. The real image expects `MAUTIC_DB_DATABASE`, not `MAUTIC_DB_NAME` (confirmed directly in Mautic's own `docker-mautic` source), the reference Railway template uses the wrong variable name here. Confirmed real MySQL plugin variable name live.",
                      "defaultValue": "${{MySQL.MYSQLDATABASE}}"
                    },
                    "MAUTIC_DB_PASSWORD": {
                      "isOptional": false,
                      "description": "MySQL password. Confirmed real variable name live.",
                      "defaultValue": "${{MySQL.MYSQLPASSWORD}}"
                    }
                  }
                },
                "a8e62dd7-9510-4da5-a54e-9aecb60e0bd4": {
                  "icon": "https://devicons.railway.app/i/mysql.svg",
                  "name": "MySQL",
                  "deploy": {
                    "startCommand": "docker-entrypoint.sh mysqld --innodb-use-native-aio=0 --disable-log-bin --performance_schema=0 --innodb-buffer-pool-size=1G",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "mysql:9.4"
                  },
                  "variables": {
                    "MYSQLHOST": {
                      "isOptional": true,
                      "description": "Private-network hostname for this service. Confirmed live as `mysql.railway.internal`.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MYSQLPORT": {
                      "isOptional": true,
                      "description": "Port MySQL listens on.",
                      "defaultValue": "3306"
                    },
                    "MYSQLUSER": {
                      "isOptional": true,
                      "description": "Superuser username.",
                      "defaultValue": "root"
                    },
                    "MYSQL_URL": {
                      "isOptional": false,
                      "description": "Full private-network connection string. Confirmed live, matches the real resolved shape (`mysql://root:[password]@mysql.railway.internal:3306/railway`). Not directly referenced by the app services, they build their own connection from the individual `MYSQL*` variables instead, but document it since the composer will show it.",
                      "defaultValue": "mysql://${{MYSQLUSER}}:${{MYSQL_ROOT_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:3306/${{MYSQL_DATABASE}}"
                    },
                    "MYSQLDATABASE": {
                      "isOptional": true,
                      "description": "Alias referencing `MYSQL_DATABASE`. Already prefilled by Railway, don't overwrite with a literal.",
                      "defaultValue": "${{MYSQL_DATABASE}}"
                    },
                    "MYSQLPASSWORD": {
                      "isOptional": false,
                      "description": "Alias referencing `MYSQL_ROOT_PASSWORD`. Already prefilled by Railway, don't overwrite with a literal.",
                      "defaultValue": "${{MYSQL_ROOT_PASSWORD}}"
                    },
                    "MYSQL_DATABASE": {
                      "isOptional": true,
                      "description": "Default database name, the real literal value. This is what `MAUTIC_DB_DATABASE` on the app services ultimately resolves to via `MYSQLDATABASE`.",
                      "defaultValue": "railway"
                    },
                    "MYSQL_PUBLIC_URL": {
                      "isOptional": true,
                      "description": "Public connection string. Only resolves to a real host/port once a TCP Proxy is enabled under this service's Settings → Networking, confirmed live it's an empty/unusable host:port until then.",
                      "defaultValue": "mysql://${{MYSQLUSER}}:${{MYSQL_ROOT_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{MYSQL_DATABASE}}"
                    },
                    "MYSQL_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Superuser password, auto-generated per deploy, the real literal value.",
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "a8e62dd7-9510-4da5-a54e-9aecb60e0bd4": {
                      "mountPath": "/var/lib/mysql"
                    }
                  },
                  "haTemplateCode": "mysql-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "MySQL Replicas",
                      "options": [
                        2,
                        4,
                        6,
                        8
                      ],
                      "nodeLabel": "MySQL",
                      "description": "Requires odd count for quorum",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your MySQL instance to an HA cluster with Group Replication failover and HAProxy routing to the primary.",
                    "supportedImageMajorVersions": [
                      8,
                      9
                    ]
                  }
                },
                "e9662f3c-205b-4595-827b-ea2e9c138c57": {
                  "icon": "https://res.cloudinary.com/dh2nt6hgh/image/upload/v1755853769/images_1_atlvgt.jpg",
                  "name": "focused-encouragement",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/shruti060701/mautic-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "MAUTIC_URL": {
                      "isOptional": false,
                      "description": "Confirmed live as `https://mautic-railway-production.up.railway.app` on all three. An earlier draft of this checklist wrongly showed `https://${{mautic-railway.RAILWAY_PUBLIC_DOMAIN}}` on all three rows, including web referencing itself, caught directly by Shruti comparing the dashboard's real value against this file.",
                      "defaultValue": "${{mautic-railway.MAUTIC_URL}}"
                    },
                    "MAUTIC_DB_HOST": {
                      "isOptional": false,
                      "description": "MySQL private hostname. Confirmed real variable name live.",
                      "defaultValue": "${{MySQL.MYSQLHOST}}"
                    },
                    "MAUTIC_DB_PORT": {
                      "isOptional": false,
                      "description": "MySQL port. Confirmed real variable name live.",
                      "defaultValue": "${{MySQL.MYSQLPORT}}"
                    },
                    "MAUTIC_DB_USER": {
                      "isOptional": false,
                      "description": "MySQL username. Confirmed real variable name live.",
                      "defaultValue": "${{MySQL.MYSQLUSER}}"
                    },
                    "MAUTIC_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Must be byte-identical across all three, confirmed live via SHA-256 hash comparison without printing the value.",
                      "defaultValue": "${{mautic-railway.MAUTIC_SECRET_KEY}}"
                    },
                    "DOCKER_MAUTIC_ROLE": {
                      "isOptional": false,
                      "description": "Which Mautic process this service runs.",
                      "defaultValue": "mautic_cron"
                    },
                    "MAUTIC_DB_DATABASE": {
                      "isOptional": false,
                      "description": "Database name. The real image expects `MAUTIC_DB_DATABASE`, not `MAUTIC_DB_NAME` (confirmed directly in Mautic's own `docker-mautic` source), the reference Railway template uses the wrong variable name here. Confirmed real MySQL plugin variable name live.",
                      "defaultValue": "${{MySQL.MYSQLDATABASE}}"
                    },
                    "MAUTIC_DB_PASSWORD": {
                      "isOptional": false,
                      "description": "MySQL password. Confirmed real variable name live.",
                      "defaultValue": "${{MySQL.MYSQLPASSWORD}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "mautic-railway",
      "method": "GET",
      "path": "/s/login",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0"
}
