{
  "manifest_version": "1.0.0",
  "template": {
    "id": "67daa516-0c9c-424d-aa35-25f1492ab95f",
    "slug": "mautic-automation",
    "name": "Mautic",
    "description": "Open source email marketing, lead scoring and campaign automation",
    "url": "https://railway.com/deploy/mautic-automation",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/mautic-railway"
    }
  },
  "services": [
    {
      "name": "mautic-cron",
      "source": {
        "repo": "https://github.com/gridalpha/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": "mautic-worker",
      "source": {
        "repo": "https://github.com/gridalpha/mautic-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "mautic-web",
      "source": {
        "repo": "https://github.com/gridalpha/mautic-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "mailpit",
      "source": {
        "image": "axllent/mailpit:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MAUTIC_DB_HOST",
      "service": "mautic-cron",
      "description": "MySQL private hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_PORT",
      "service": "mautic-cron",
      "description": "MySQL port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_USER",
      "service": "mautic-cron",
      "description": "MySQL user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_SITE_URL",
      "service": "mautic-cron",
      "description": "Same public URL as the web role",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_MAILER_DSN",
      "service": "mautic-cron",
      "description": "Outbound mail transport",
      "secret": false,
      "strategy": "default",
      "default": "smtp://mailpit.railway.internal:1025"
    },
    {
      "key": "MAUTIC_SECRET_KEY",
      "service": "mautic-cron",
      "description": "Must match the web role",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DOCKER_MAUTIC_ROLE",
      "service": "mautic-cron",
      "description": "Container role: scheduled jobs",
      "secret": false,
      "strategy": "default",
      "default": "mautic_cron"
    },
    {
      "key": "MAUTIC_DB_DATABASE",
      "service": "mautic-cron",
      "description": "Database holding Mautic tables",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_PASSWORD",
      "service": "mautic-cron",
      "description": "MySQL password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_MAILER_FROM_NAME",
      "service": "mautic-cron",
      "description": "Default From name",
      "secret": false,
      "strategy": "default",
      "default": "Mautic"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "mautic-cron",
      "description": "Dockerfile location in the repo",
      "secret": false,
      "strategy": "default",
      "default": "Dockerfile"
    },
    {
      "key": "MAUTIC_MAILER_FROM_EMAIL",
      "service": "mautic-cron",
      "description": "Same From address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_MESSENGER_DSN_HIT",
      "service": "mautic-cron",
      "description": "Tracking-hit queue transport",
      "secret": false,
      "strategy": "default",
      "default": "doctrine://default"
    },
    {
      "key": "MAUTIC_MESSENGER_DSN_EMAIL",
      "service": "mautic-cron",
      "description": "Email queue transport",
      "secret": false,
      "strategy": "default",
      "default": "doctrine://default"
    },
    {
      "key": "MAUTIC_MESSENGER_DSN_FAILED",
      "service": "mautic-cron",
      "description": "Failed-message queue",
      "secret": false,
      "strategy": "default",
      "default": "doctrine://default?queue_name=failed"
    },
    {
      "key": "MYSQLHOST",
      "service": "MySQL",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQLPORT",
      "service": "MySQL",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "3306"
    },
    {
      "key": "MYSQLUSER",
      "service": "MySQL",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "root"
    },
    {
      "key": "MYSQL_URL",
      "service": "MySQL",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQLDATABASE",
      "service": "MySQL",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQLPASSWORD",
      "service": "MySQL",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_DATABASE",
      "service": "MySQL",
      "description": "Database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "MYSQL_ROOT_PASSWORD",
      "service": "MySQL",
      "description": "Root password, read by the entrypoint",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MAUTIC_DB_HOST",
      "service": "mautic-worker",
      "description": "MySQL private hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_PORT",
      "service": "mautic-worker",
      "description": "MySQL port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_USER",
      "service": "mautic-worker",
      "description": "MySQL user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_SITE_URL",
      "service": "mautic-worker",
      "description": "Same public URL as the web role",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_MAILER_DSN",
      "service": "mautic-worker",
      "description": "Outbound mail transport",
      "secret": false,
      "strategy": "default",
      "default": "smtp://mailpit.railway.internal:1025"
    },
    {
      "key": "MAUTIC_SECRET_KEY",
      "service": "mautic-worker",
      "description": "Must match the web role",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DOCKER_MAUTIC_ROLE",
      "service": "mautic-worker",
      "description": "Container role: queue consumer",
      "secret": false,
      "strategy": "default",
      "default": "mautic_worker"
    },
    {
      "key": "MAUTIC_DB_DATABASE",
      "service": "mautic-worker",
      "description": "Database holding Mautic tables",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_PASSWORD",
      "service": "mautic-worker",
      "description": "MySQL password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_MAILER_FROM_NAME",
      "service": "mautic-worker",
      "description": "Default From name",
      "secret": false,
      "strategy": "default",
      "default": "Mautic"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "mautic-worker",
      "description": "Dockerfile location in the repo",
      "secret": false,
      "strategy": "default",
      "default": "Dockerfile"
    },
    {
      "key": "MAUTIC_MAILER_FROM_EMAIL",
      "service": "mautic-worker",
      "description": "Same From address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_MESSENGER_DSN_HIT",
      "service": "mautic-worker",
      "description": "Tracking-hit queue transport",
      "secret": false,
      "strategy": "default",
      "default": "doctrine://default"
    },
    {
      "key": "MAUTIC_MESSENGER_DSN_EMAIL",
      "service": "mautic-worker",
      "description": "Email queue transport",
      "secret": false,
      "strategy": "default",
      "default": "doctrine://default"
    },
    {
      "key": "MAUTIC_MESSENGER_DSN_FAILED",
      "service": "mautic-worker",
      "description": "Failed-message queue",
      "secret": false,
      "strategy": "default",
      "default": "doctrine://default?queue_name=failed"
    },
    {
      "key": "DOCKER_MAUTIC_WORKERS_CONSUME_HIT",
      "service": "mautic-worker",
      "description": "Concurrent tracking-hit consumers",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "DOCKER_MAUTIC_WORKERS_CONSUME_EMAIL",
      "service": "mautic-worker",
      "description": "Concurrent email consumers",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "DOCKER_MAUTIC_WORKERS_CONSUME_FAILED",
      "service": "mautic-worker",
      "description": "Concurrent failed-message consumers",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "PORT",
      "service": "mautic-web",
      "description": "Apache listening port",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "MAUTIC_DB_HOST",
      "service": "mautic-web",
      "description": "MySQL private hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_PORT",
      "service": "mautic-web",
      "description": "MySQL port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_USER",
      "service": "mautic-web",
      "description": "MySQL user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_SITE_URL",
      "service": "mautic-web",
      "description": "Public URL in links and tracking",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MAUTIC_MAILER_DSN",
      "service": "mautic-web",
      "description": "Outbound mail transport",
      "secret": false,
      "strategy": "default",
      "default": "smtp://mailpit.railway.internal:1025"
    },
    {
      "key": "MAUTIC_SECRET_KEY",
      "service": "mautic-web",
      "description": "Encrypts stored integration credentials",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DOCKER_MAUTIC_ROLE",
      "service": "mautic-web",
      "description": "Container role: web application",
      "secret": false,
      "strategy": "default",
      "default": "mautic_web"
    },
    {
      "key": "MAUTIC_ADMIN_EMAIL",
      "service": "mautic-web",
      "description": "First administrator email address",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.dev"
    },
    {
      "key": "MAUTIC_DB_DATABASE",
      "service": "mautic-web",
      "description": "Database holding Mautic tables",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_DB_PASSWORD",
      "service": "mautic-web",
      "description": "MySQL password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MAUTIC_ADMIN_PASSWORD",
      "service": "mautic-web",
      "description": "First admin password, change after login",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MAUTIC_ADMIN_USERNAME",
      "service": "mautic-web",
      "description": "First administrator username",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "MAUTIC_MAILER_FROM_NAME",
      "service": "mautic-web",
      "description": "Default From name",
      "secret": false,
      "strategy": "default",
      "default": "Mautic"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "mautic-web",
      "description": "Dockerfile location in the repo",
      "secret": false,
      "strategy": "default",
      "default": "Dockerfile"
    },
    {
      "key": "MAUTIC_MAILER_FROM_EMAIL",
      "service": "mautic-web",
      "description": "Default From address",
      "secret": false,
      "strategy": "default",
      "default": "mautic@example.dev"
    },
    {
      "key": "MAUTIC_MESSENGER_DSN_HIT",
      "service": "mautic-web",
      "description": "Tracking-hit queue transport",
      "secret": false,
      "strategy": "default",
      "default": "doctrine://default"
    },
    {
      "key": "MAUTIC_MESSENGER_DSN_EMAIL",
      "service": "mautic-web",
      "description": "Email queue transport",
      "secret": false,
      "strategy": "default",
      "default": "doctrine://default"
    },
    {
      "key": "MAUTIC_MESSENGER_DSN_FAILED",
      "service": "mautic-web",
      "description": "Failed-message queue",
      "secret": false,
      "strategy": "default",
      "default": "doctrine://default?queue_name=failed"
    },
    {
      "key": "PORT",
      "service": "mailpit",
      "description": "Inbox web UI port",
      "secret": false,
      "strategy": "default",
      "default": "8025"
    },
    {
      "key": "MP_UI_AUTH",
      "service": "mailpit",
      "description": "Basic auth protecting the inbox",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MP_DATABASE",
      "service": "mailpit",
      "description": "Message store on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/data/mailpit.db"
    },
    {
      "key": "MP_MAX_MESSAGES",
      "service": "mailpit",
      "description": "Messages retained before rotation",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "MP_SMTP_AUTH_ACCEPT_ANY",
      "service": "mailpit",
      "description": "Accept any SMTP credentials privately",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "MP_SMTP_AUTH_ALLOW_INSECURE",
      "service": "mailpit",
      "description": "Allow plain SMTP on the private network",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mautic-automation"
      }
    },
    "cli": "railway deploy --template mautic-automation",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "67daa516-0c9c-424d-aa35-25f1492ab95f",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "253d5337-5529-4a64-bc16-eb6ceacaa6cc": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mautic.svg",
                  "name": "mautic-cron",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/mautic-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "MAUTIC_DB_HOST": {
                      "isOptional": false,
                      "description": "MySQL private hostname",
                      "defaultValue": "${{MySQL.MYSQLHOST}}"
                    },
                    "MAUTIC_DB_PORT": {
                      "isOptional": false,
                      "description": "MySQL port",
                      "defaultValue": "${{MySQL.MYSQLPORT}}"
                    },
                    "MAUTIC_DB_USER": {
                      "isOptional": false,
                      "description": "MySQL user",
                      "defaultValue": "${{MySQL.MYSQLUSER}}"
                    },
                    "MAUTIC_SITE_URL": {
                      "isOptional": false,
                      "description": "Same public URL as the web role",
                      "defaultValue": "${{mautic-web.MAUTIC_SITE_URL}}"
                    },
                    "MAUTIC_MAILER_DSN": {
                      "isOptional": false,
                      "description": "Outbound mail transport",
                      "defaultValue": "smtp://mailpit.railway.internal:1025"
                    },
                    "MAUTIC_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Must match the web role",
                      "defaultValue": "${{mautic-web.MAUTIC_SECRET_KEY}}"
                    },
                    "DOCKER_MAUTIC_ROLE": {
                      "isOptional": false,
                      "description": "Container role: scheduled jobs",
                      "defaultValue": "mautic_cron"
                    },
                    "MAUTIC_DB_DATABASE": {
                      "isOptional": false,
                      "description": "Database holding Mautic tables",
                      "defaultValue": "${{MySQL.MYSQLDATABASE}}"
                    },
                    "MAUTIC_DB_PASSWORD": {
                      "isOptional": false,
                      "description": "MySQL password",
                      "defaultValue": "${{MySQL.MYSQLPASSWORD}}"
                    },
                    "MAUTIC_MAILER_FROM_NAME": {
                      "isOptional": false,
                      "description": "Default From name",
                      "defaultValue": "Mautic"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile location in the repo",
                      "defaultValue": "Dockerfile"
                    },
                    "MAUTIC_MAILER_FROM_EMAIL": {
                      "isOptional": false,
                      "description": "Same From address",
                      "defaultValue": "${{mautic-web.MAUTIC_MAILER_FROM_EMAIL}}"
                    },
                    "MAUTIC_MESSENGER_DSN_HIT": {
                      "isOptional": false,
                      "description": "Tracking-hit queue transport",
                      "defaultValue": "doctrine://default"
                    },
                    "MAUTIC_MESSENGER_DSN_EMAIL": {
                      "isOptional": false,
                      "description": "Email queue transport",
                      "defaultValue": "doctrine://default"
                    },
                    "MAUTIC_MESSENGER_DSN_FAILED": {
                      "isOptional": false,
                      "description": "Failed-message queue",
                      "defaultValue": "doctrine://default?queue_name=failed"
                    }
                  }
                },
                "5f9dd42c-7fcf-4218-bade-3d74ee9dc301": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/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": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MYSQLPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "3306"
                    },
                    "MYSQLUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "root"
                    },
                    "MYSQL_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "mysql://${{ MYSQLUSER }}:${{ MYSQL_ROOT_PASSWORD }}@${{ RAILWAY_PRIVATE_DOMAIN }}:3306/${{ MYSQL_DATABASE }}"
                    },
                    "MYSQLDATABASE": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{ MYSQL_DATABASE }}"
                    },
                    "MYSQLPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{ MYSQL_ROOT_PASSWORD }}"
                    },
                    "MYSQL_DATABASE": {
                      "isOptional": false,
                      "description": "Database created on first boot",
                      "defaultValue": "railway"
                    },
                    "MYSQL_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Root password, read by the entrypoint",
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "5f9dd42c-7fcf-4218-bade-3d74ee9dc301": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                },
                "854e821d-d8af-4e9b-b260-99325b99c414": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mautic.svg",
                  "name": "mautic-worker",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/mautic-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "MAUTIC_DB_HOST": {
                      "isOptional": false,
                      "description": "MySQL private hostname",
                      "defaultValue": "${{MySQL.MYSQLHOST}}"
                    },
                    "MAUTIC_DB_PORT": {
                      "isOptional": false,
                      "description": "MySQL port",
                      "defaultValue": "${{MySQL.MYSQLPORT}}"
                    },
                    "MAUTIC_DB_USER": {
                      "isOptional": false,
                      "description": "MySQL user",
                      "defaultValue": "${{MySQL.MYSQLUSER}}"
                    },
                    "MAUTIC_SITE_URL": {
                      "isOptional": false,
                      "description": "Same public URL as the web role",
                      "defaultValue": "${{mautic-web.MAUTIC_SITE_URL}}"
                    },
                    "MAUTIC_MAILER_DSN": {
                      "isOptional": false,
                      "description": "Outbound mail transport",
                      "defaultValue": "smtp://mailpit.railway.internal:1025"
                    },
                    "MAUTIC_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Must match the web role",
                      "defaultValue": "${{mautic-web.MAUTIC_SECRET_KEY}}"
                    },
                    "DOCKER_MAUTIC_ROLE": {
                      "isOptional": false,
                      "description": "Container role: queue consumer",
                      "defaultValue": "mautic_worker"
                    },
                    "MAUTIC_DB_DATABASE": {
                      "isOptional": false,
                      "description": "Database holding Mautic tables",
                      "defaultValue": "${{MySQL.MYSQLDATABASE}}"
                    },
                    "MAUTIC_DB_PASSWORD": {
                      "isOptional": false,
                      "description": "MySQL password",
                      "defaultValue": "${{MySQL.MYSQLPASSWORD}}"
                    },
                    "MAUTIC_MAILER_FROM_NAME": {
                      "isOptional": false,
                      "description": "Default From name",
                      "defaultValue": "Mautic"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile location in the repo",
                      "defaultValue": "Dockerfile"
                    },
                    "MAUTIC_MAILER_FROM_EMAIL": {
                      "isOptional": false,
                      "description": "Same From address",
                      "defaultValue": "${{mautic-web.MAUTIC_MAILER_FROM_EMAIL}}"
                    },
                    "MAUTIC_MESSENGER_DSN_HIT": {
                      "isOptional": false,
                      "description": "Tracking-hit queue transport",
                      "defaultValue": "doctrine://default"
                    },
                    "MAUTIC_MESSENGER_DSN_EMAIL": {
                      "isOptional": false,
                      "description": "Email queue transport",
                      "defaultValue": "doctrine://default"
                    },
                    "MAUTIC_MESSENGER_DSN_FAILED": {
                      "isOptional": false,
                      "description": "Failed-message queue",
                      "defaultValue": "doctrine://default?queue_name=failed"
                    },
                    "DOCKER_MAUTIC_WORKERS_CONSUME_HIT": {
                      "isOptional": false,
                      "description": "Concurrent tracking-hit consumers",
                      "defaultValue": "2"
                    },
                    "DOCKER_MAUTIC_WORKERS_CONSUME_EMAIL": {
                      "isOptional": false,
                      "description": "Concurrent email consumers",
                      "defaultValue": "2"
                    },
                    "DOCKER_MAUTIC_WORKERS_CONSUME_FAILED": {
                      "isOptional": false,
                      "description": "Concurrent failed-message consumers",
                      "defaultValue": "1"
                    }
                  }
                },
                "95e4b808-0ce4-4d2b-b3bf-ef6933df88b4": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mautic.svg",
                  "name": "mautic-web",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/s/login",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/mautic-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Apache listening port",
                      "defaultValue": "80"
                    },
                    "MAUTIC_DB_HOST": {
                      "isOptional": false,
                      "description": "MySQL private hostname",
                      "defaultValue": "${{MySQL.MYSQLHOST}}"
                    },
                    "MAUTIC_DB_PORT": {
                      "isOptional": false,
                      "description": "MySQL port",
                      "defaultValue": "${{MySQL.MYSQLPORT}}"
                    },
                    "MAUTIC_DB_USER": {
                      "isOptional": false,
                      "description": "MySQL user",
                      "defaultValue": "${{MySQL.MYSQLUSER}}"
                    },
                    "MAUTIC_SITE_URL": {
                      "isOptional": false,
                      "description": "Public URL in links and tracking",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MAUTIC_MAILER_DSN": {
                      "isOptional": false,
                      "description": "Outbound mail transport",
                      "defaultValue": "smtp://mailpit.railway.internal:1025"
                    },
                    "MAUTIC_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Encrypts stored integration credentials",
                      "defaultValue": "{{MAUTIC_SECRET_KEY}}"
                    },
                    "DOCKER_MAUTIC_ROLE": {
                      "isOptional": false,
                      "description": "Container role: web application",
                      "defaultValue": "mautic_web"
                    },
                    "MAUTIC_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "First administrator email address",
                      "defaultValue": "admin@example.dev"
                    },
                    "MAUTIC_DB_DATABASE": {
                      "isOptional": false,
                      "description": "Database holding Mautic tables",
                      "defaultValue": "${{MySQL.MYSQLDATABASE}}"
                    },
                    "MAUTIC_DB_PASSWORD": {
                      "isOptional": false,
                      "description": "MySQL password",
                      "defaultValue": "${{MySQL.MYSQLPASSWORD}}"
                    },
                    "MAUTIC_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "First admin password, change after login",
                      "defaultValue": "{{MAUTIC_ADMIN_PASSWORD}}"
                    },
                    "MAUTIC_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "First administrator username",
                      "defaultValue": "admin"
                    },
                    "MAUTIC_MAILER_FROM_NAME": {
                      "isOptional": false,
                      "description": "Default From name",
                      "defaultValue": "Mautic"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile location in the repo",
                      "defaultValue": "Dockerfile"
                    },
                    "MAUTIC_MAILER_FROM_EMAIL": {
                      "isOptional": false,
                      "description": "Default From address",
                      "defaultValue": "mautic@example.dev"
                    },
                    "MAUTIC_MESSENGER_DSN_HIT": {
                      "isOptional": false,
                      "description": "Tracking-hit queue transport",
                      "defaultValue": "doctrine://default"
                    },
                    "MAUTIC_MESSENGER_DSN_EMAIL": {
                      "isOptional": false,
                      "description": "Email queue transport",
                      "defaultValue": "doctrine://default"
                    },
                    "MAUTIC_MESSENGER_DSN_FAILED": {
                      "isOptional": false,
                      "description": "Failed-message queue",
                      "defaultValue": "doctrine://default?queue_name=failed"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {
                    "95e4b808-0ce4-4d2b-b3bf-ef6933df88b4": {
                      "mountPath": "/data"
                    }
                  }
                },
                "be40b606-b182-46ca-ba7a-daccbf4532ef": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mailpit.svg",
                  "name": "mailpit",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/livez",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "axllent/mailpit:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Inbox web UI port",
                      "defaultValue": "8025"
                    },
                    "MP_UI_AUTH": {
                      "isOptional": false,
                      "description": "Basic auth protecting the inbox",
                      "defaultValue": "{{MP_UI_AUTH}}"
                    },
                    "MP_DATABASE": {
                      "isOptional": false,
                      "description": "Message store on the volume",
                      "defaultValue": "/data/mailpit.db"
                    },
                    "MP_MAX_MESSAGES": {
                      "isOptional": false,
                      "description": "Messages retained before rotation",
                      "defaultValue": "5000"
                    },
                    "MP_SMTP_AUTH_ACCEPT_ANY": {
                      "isOptional": false,
                      "description": "Accept any SMTP credentials privately",
                      "defaultValue": "true"
                    },
                    "MP_SMTP_AUTH_ALLOW_INSECURE": {
                      "isOptional": false,
                      "description": "Allow plain SMTP on the private network",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8025": {
                        "port": 8025
                      }
                    }
                  },
                  "volumeMounts": {
                    "be40b606-b182-46ca-ba7a-daccbf4532ef": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "mautic-web",
      "method": "GET",
      "path": "/s/login",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T17:36:13.773Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_249b01602db74e1fb2e3",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 283,
    "typical_build_seconds": 76,
    "typical_start_seconds": 16,
    "slowest_service": "mautic-worker"
  }
}
