{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6a2eb95c-50fd-44ce-903b-27791c13386d",
    "slug": "mediawiki-wiki",
    "name": "Mediawiki",
    "description": "Wiki software for building a linked, versioned knowledge base",
    "url": "https://railway.com/deploy/mediawiki-wiki",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/mediawiki-railway"
    }
  },
  "services": [
    {
      "name": "mediawiki",
      "source": {
        "repo": "https://github.com/gridalpha/mediawiki-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/www/html/images",
      "http": true
    },
    {
      "name": "MySQL",
      "source": {
        "image": "mysql:9.4"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "mediawiki-jobs",
      "source": {
        "repo": "https://github.com/gridalpha/mediawiki-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "mailpit",
      "source": {
        "image": "axllent/mailpit:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "mediawiki",
      "description": "HTTP port Apache listens on",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "MW_ROLE",
      "service": "mediawiki",
      "description": "Run the Apache web tier",
      "secret": false,
      "strategy": "default",
      "default": "web"
    },
    {
      "key": "MYSQL_URL",
      "service": "mediawiki",
      "description": "Admin URL, used to provision the wiki role",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_DB_HOST",
      "service": "mediawiki",
      "description": "Private MySQL hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_DB_NAME",
      "service": "mediawiki",
      "description": "Wiki database, created at boot",
      "secret": false,
      "strategy": "default",
      "default": "mediawiki"
    },
    {
      "key": "MW_DB_PORT",
      "service": "mediawiki",
      "description": "MySQL port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_DB_USER",
      "service": "mediawiki",
      "description": "Scoped role, created at boot",
      "secret": false,
      "strategy": "default",
      "default": "mediawiki"
    },
    {
      "key": "MW_LANGUAGE",
      "service": "mediawiki",
      "description": "Content language code",
      "secret": false,
      "strategy": "default",
      "default": "en"
    },
    {
      "key": "MW_SITENAME",
      "service": "mediawiki",
      "description": "Wiki name and project namespace",
      "secret": false,
      "strategy": "default",
      "default": "MediaWiki"
    },
    {
      "key": "MW_TIMEZONE",
      "service": "mediawiki",
      "description": "Local time zone for timestamps",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "MW_SMTP_HOST",
      "service": "mediawiki",
      "description": "Private SMTP hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MW_SMTP_PORT",
      "service": "mediawiki",
      "description": "Mailpit SMTP listener port",
      "secret": false,
      "strategy": "default",
      "default": "1025"
    },
    {
      "key": "MW_ADMIN_USER",
      "service": "mediawiki",
      "description": "First administrator, created once",
      "secret": false,
      "strategy": "default",
      "default": "Admin"
    },
    {
      "key": "MW_REDIS_HOST",
      "service": "mediawiki",
      "description": "Private Redis hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_REDIS_PORT",
      "service": "mediawiki",
      "description": "Redis port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_SECRET_KEY",
      "service": "mediawiki",
      "description": "Signs sessions and reset tokens",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MW_DB_PASSWORD",
      "service": "mediawiki",
      "description": "Password for that scoped role",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MW_UPGRADE_KEY",
      "service": "mediawiki",
      "description": "Guards the web updater",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MW_ADMIN_PASSWORD",
      "service": "mediawiki",
      "description": "First administrator's password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MW_REDIS_PASSWORD",
      "service": "mediawiki",
      "description": "Redis auth password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "mediawiki",
      "description": "Dockerfile used to build this service",
      "secret": false,
      "strategy": "default",
      "default": "Dockerfile"
    },
    {
      "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": "Superuser password, read by the server",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auth password, read by the server",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "mediawiki-jobs",
      "description": "Port for the heartbeat health endpoint",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "MW_ROLE",
      "service": "mediawiki-jobs",
      "description": "Drain the job queue, serve no traffic",
      "secret": false,
      "strategy": "default",
      "default": "jobs"
    },
    {
      "key": "MW_SERVER",
      "service": "mediawiki-jobs",
      "description": "Base URL used in notification mail",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MW_DB_HOST",
      "service": "mediawiki-jobs",
      "description": "Private MySQL hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_DB_NAME",
      "service": "mediawiki-jobs",
      "description": "Wiki database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_DB_PORT",
      "service": "mediawiki-jobs",
      "description": "MySQL port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_DB_USER",
      "service": "mediawiki-jobs",
      "description": "Scoped role",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_LANGUAGE",
      "service": "mediawiki-jobs",
      "description": "Content language code",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_SITENAME",
      "service": "mediawiki-jobs",
      "description": "Wiki name used in notification mail",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_TIMEZONE",
      "service": "mediawiki-jobs",
      "description": "Local time zone for timestamps",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_SMTP_HOST",
      "service": "mediawiki-jobs",
      "description": "Private SMTP hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MW_SMTP_PORT",
      "service": "mediawiki-jobs",
      "description": "Mailpit SMTP listener port",
      "secret": false,
      "strategy": "default",
      "default": "1025"
    },
    {
      "key": "MW_REDIS_HOST",
      "service": "mediawiki-jobs",
      "description": "Private Redis hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_REDIS_PORT",
      "service": "mediawiki-jobs",
      "description": "Redis port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_SECRET_KEY",
      "service": "mediawiki-jobs",
      "description": "Must match the web tier",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_DB_PASSWORD",
      "service": "mediawiki-jobs",
      "description": "Password for that scoped role",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_UPGRADE_KEY",
      "service": "mediawiki-jobs",
      "description": "Must match the web tier",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MW_REDIS_PASSWORD",
      "service": "mediawiki-jobs",
      "description": "Redis auth password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "mediawiki-jobs",
      "description": "Dockerfile used to build this service",
      "secret": false,
      "strategy": "default",
      "default": "Dockerfile"
    },
    {
      "key": "PORT",
      "service": "mailpit",
      "description": "Web inbox port, matches the public domain",
      "secret": false,
      "strategy": "default",
      "default": "8025"
    },
    {
      "key": "MP_UI_AUTH",
      "service": "mailpit",
      "description": "Credentials guarding 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_UI_BIND_ADDR",
      "service": "mailpit",
      "description": "Web inbox listen address",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0:8025"
    },
    {
      "key": "MP_SMTP_BIND_ADDR",
      "service": "mailpit",
      "description": "SMTP listen address",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0:1025"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mediawiki-wiki"
      }
    },
    "cli": "railway deploy --template mediawiki-wiki",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6a2eb95c-50fd-44ce-903b-27791c13386d",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "301dbbf1-9629-4859-90a9-0a7982245289": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mediawiki.svg",
                  "name": "mediawiki",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/mediawiki-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port Apache listens on",
                      "defaultValue": "8080"
                    },
                    "MW_ROLE": {
                      "isOptional": false,
                      "description": "Run the Apache web tier",
                      "defaultValue": "web"
                    },
                    "MYSQL_URL": {
                      "isOptional": false,
                      "description": "Admin URL, used to provision the wiki role",
                      "defaultValue": "${{MySQL.MYSQL_URL}}"
                    },
                    "MW_DB_HOST": {
                      "isOptional": false,
                      "description": "Private MySQL hostname",
                      "defaultValue": "${{MySQL.MYSQLHOST}}"
                    },
                    "MW_DB_NAME": {
                      "isOptional": false,
                      "description": "Wiki database, created at boot",
                      "defaultValue": "mediawiki"
                    },
                    "MW_DB_PORT": {
                      "isOptional": false,
                      "description": "MySQL port",
                      "defaultValue": "${{MySQL.MYSQLPORT}}"
                    },
                    "MW_DB_USER": {
                      "isOptional": false,
                      "description": "Scoped role, created at boot",
                      "defaultValue": "mediawiki"
                    },
                    "MW_LANGUAGE": {
                      "isOptional": false,
                      "description": "Content language code",
                      "defaultValue": "en"
                    },
                    "MW_SITENAME": {
                      "isOptional": false,
                      "description": "Wiki name and project namespace",
                      "defaultValue": "MediaWiki"
                    },
                    "MW_TIMEZONE": {
                      "isOptional": false,
                      "description": "Local time zone for timestamps",
                      "defaultValue": "UTC"
                    },
                    "MW_SMTP_HOST": {
                      "isOptional": false,
                      "description": "Private SMTP hostname",
                      "defaultValue": "${{mailpit.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MW_SMTP_PORT": {
                      "isOptional": false,
                      "description": "Mailpit SMTP listener port",
                      "defaultValue": "1025"
                    },
                    "MW_ADMIN_USER": {
                      "isOptional": false,
                      "description": "First administrator, created once",
                      "defaultValue": "Admin"
                    },
                    "MW_REDIS_HOST": {
                      "isOptional": false,
                      "description": "Private Redis hostname",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "MW_REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "MW_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Signs sessions and reset tokens",
                      "defaultValue": "{{MW_SECRET_KEY}}"
                    },
                    "MW_DB_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for that scoped role",
                      "defaultValue": "{{MW_DB_PASSWORD}}"
                    },
                    "MW_UPGRADE_KEY": {
                      "isOptional": false,
                      "description": "Guards the web updater",
                      "defaultValue": "{{MW_UPGRADE_KEY}}"
                    },
                    "MW_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "First administrator's password",
                      "defaultValue": "{{MW_ADMIN_PASSWORD}}"
                    },
                    "MW_REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis auth password",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile used to build this service",
                      "defaultValue": "Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "301dbbf1-9629-4859-90a9-0a7982245289": {
                      "mountPath": "/var/www/html/images"
                    }
                  }
                },
                "65795d0a-091c-4457-906a-bb55dc4d5a8b": {
                  "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": "Superuser password, read by the server",
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "65795d0a-091c-4457-906a-bb55dc4d5a8b": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                },
                "6623ce48-5370-4dd9-8e43-519ab0c8a8ee": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/redis.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auth password, read by the server",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "6623ce48-5370-4dd9-8e43-519ab0c8a8ee": {
                      "mountPath": "/data"
                    }
                  }
                },
                "82487a27-0a79-4641-a213-f7b85bb5b6cd": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mediawiki.svg",
                  "name": "mediawiki-jobs",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/mediawiki-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port for the heartbeat health endpoint",
                      "defaultValue": "8080"
                    },
                    "MW_ROLE": {
                      "isOptional": false,
                      "description": "Drain the job queue, serve no traffic",
                      "defaultValue": "jobs"
                    },
                    "MW_SERVER": {
                      "isOptional": false,
                      "description": "Base URL used in notification mail",
                      "defaultValue": "https://${{mediawiki.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MW_DB_HOST": {
                      "isOptional": false,
                      "description": "Private MySQL hostname",
                      "defaultValue": "${{MySQL.MYSQLHOST}}"
                    },
                    "MW_DB_NAME": {
                      "isOptional": false,
                      "description": "Wiki database",
                      "defaultValue": "${{mediawiki.MW_DB_NAME}}"
                    },
                    "MW_DB_PORT": {
                      "isOptional": false,
                      "description": "MySQL port",
                      "defaultValue": "${{MySQL.MYSQLPORT}}"
                    },
                    "MW_DB_USER": {
                      "isOptional": false,
                      "description": "Scoped role",
                      "defaultValue": "${{mediawiki.MW_DB_USER}}"
                    },
                    "MW_LANGUAGE": {
                      "isOptional": false,
                      "description": "Content language code",
                      "defaultValue": "${{mediawiki.MW_LANGUAGE}}"
                    },
                    "MW_SITENAME": {
                      "isOptional": false,
                      "description": "Wiki name used in notification mail",
                      "defaultValue": "${{mediawiki.MW_SITENAME}}"
                    },
                    "MW_TIMEZONE": {
                      "isOptional": false,
                      "description": "Local time zone for timestamps",
                      "defaultValue": "${{mediawiki.MW_TIMEZONE}}"
                    },
                    "MW_SMTP_HOST": {
                      "isOptional": false,
                      "description": "Private SMTP hostname",
                      "defaultValue": "${{mailpit.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MW_SMTP_PORT": {
                      "isOptional": false,
                      "description": "Mailpit SMTP listener port",
                      "defaultValue": "1025"
                    },
                    "MW_REDIS_HOST": {
                      "isOptional": false,
                      "description": "Private Redis hostname",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "MW_REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "MW_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Must match the web tier",
                      "defaultValue": "${{mediawiki.MW_SECRET_KEY}}"
                    },
                    "MW_DB_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for that scoped role",
                      "defaultValue": "${{mediawiki.MW_DB_PASSWORD}}"
                    },
                    "MW_UPGRADE_KEY": {
                      "isOptional": false,
                      "description": "Must match the web tier",
                      "defaultValue": "${{mediawiki.MW_UPGRADE_KEY}}"
                    },
                    "MW_REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis auth password",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile used to build this service",
                      "defaultValue": "Dockerfile"
                    }
                  }
                },
                "ceb5462b-1205-45e0-929c-88454a24f4d8": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mailpit.svg",
                  "name": "mailpit",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/livez",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "axllent/mailpit:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Web inbox port, matches the public domain",
                      "defaultValue": "8025"
                    },
                    "MP_UI_AUTH": {
                      "isOptional": false,
                      "description": "Credentials guarding 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_UI_BIND_ADDR": {
                      "isOptional": false,
                      "description": "Web inbox listen address",
                      "defaultValue": "0.0.0.0:8025"
                    },
                    "MP_SMTP_BIND_ADDR": {
                      "isOptional": false,
                      "description": "SMTP listen address",
                      "defaultValue": "0.0.0.0:1025"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8025": {
                        "port": 8025
                      }
                    }
                  },
                  "volumeMounts": {
                    "ceb5462b-1205-45e0-929c-88454a24f4d8": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "mediawiki",
      "method": "GET",
      "path": "/healthz",
      "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-19T14:18:22.017Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f308eb3e4f084ae79da6",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 229,
    "typical_build_seconds": 122,
    "typical_start_seconds": 10,
    "slowest_service": "mediawiki-jobs"
  }
}
