{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7983f0d3-6106-4d73-ab0e-6c7130516780",
    "slug": "invoice-ninja-billing",
    "name": "Invoice Ninja",
    "description": "Invoicing app for sending bills and getting paid by clients",
    "url": "https://railway.com/deploy/invoice-ninja-billing",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/invoiceninja-railway"
    }
  },
  "services": [
    {
      "name": "invoiceninja",
      "source": {
        "repo": "https://github.com/gridalpha/invoiceninja-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/www/html/storage",
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "MySQL",
      "source": {
        "image": "mysql:9.4"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    },
    {
      "name": "mailpit",
      "source": {
        "image": "axllent/mailpit:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "invoiceninja",
      "description": "Port nginx listens on",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "APP_ENV",
      "service": "invoiceninja",
      "description": "Enables boot-time migrate and seed",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "APP_URL",
      "service": "invoiceninja",
      "description": "Base URL in emails, PDFs, portal links",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DB_HOST",
      "service": "invoiceninja",
      "description": "Private MySQL hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PORT",
      "service": "invoiceninja",
      "description": "MySQL port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "APP_DEBUG",
      "service": "invoiceninja",
      "description": "Never true on a public deployment",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "IS_DOCKER",
      "service": "invoiceninja",
      "description": "Adds a stderr channel to every log stack",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "LOG_LEVEL",
      "service": "invoiceninja",
      "description": "Application log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "MAIL_HOST",
      "service": "invoiceninja",
      "description": "Mailpit SMTP host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MAIL_PORT",
      "service": "invoiceninja",
      "description": "Mailpit SMTP port",
      "secret": false,
      "strategy": "default",
      "default": "1025"
    },
    {
      "key": "REDIS_HOST",
      "service": "invoiceninja",
      "description": "Private Redis hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PORT",
      "service": "invoiceninja",
      "description": "Redis port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_DATABASE",
      "service": "invoiceninja",
      "description": "Database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PASSWORD",
      "service": "invoiceninja",
      "description": "Database password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_USERNAME",
      "service": "invoiceninja",
      "description": "Database user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "IN_PASSWORD",
      "service": "invoiceninja",
      "description": "Owner password; change before deploying",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MAIL_MAILER",
      "service": "invoiceninja",
      "description": "Send mail over SMTP",
      "secret": false,
      "strategy": "default",
      "default": "smtp"
    },
    {
      "key": "MAIL_SCHEME",
      "service": "invoiceninja",
      "description": "Transport scheme",
      "secret": false,
      "strategy": "default",
      "default": "smtp"
    },
    {
      "key": "APP_KEY_SEED",
      "service": "invoiceninja",
      "description": "Seed the entrypoint derives APP_KEY from",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CACHE_DRIVER",
      "service": "invoiceninja",
      "description": "Cache store, Redis database 1",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "SCOUT_DRIVER",
      "service": "invoiceninja",
      "description": "No Elasticsearch search tier",
      "secret": false,
      "strategy": "default",
      "default": "null"
    },
    {
      "key": "DB_CONNECTION",
      "service": "invoiceninja",
      "description": "Database driver",
      "secret": false,
      "strategy": "default",
      "default": "mysql"
    },
    {
      "key": "IN_USER_EMAIL",
      "service": "invoiceninja",
      "description": "Owner account created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "PDF_GENERATOR",
      "service": "invoiceninja",
      "description": "Render PDFs with the bundled Chrome",
      "secret": false,
      "strategy": "default",
      "default": "snappdf"
    },
    {
      "key": "REQUIRE_HTTPS",
      "service": "invoiceninja",
      "description": "Redirect insecure requests to HTTPS",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "UPDATE_SECRET",
      "service": "invoiceninja",
      "description": "Guards the /update maintenance route",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MAIL_FROM_NAME",
      "service": "invoiceninja",
      "description": "Sender display name",
      "secret": false,
      "strategy": "default",
      "default": "Invoice Ninja"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "invoiceninja",
      "description": "Redis auth password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SESSION_DRIVER",
      "service": "invoiceninja",
      "description": "Session store, Redis database 0",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "FILESYSTEM_DISK",
      "service": "invoiceninja",
      "description": "Store uploads under storage/app/public",
      "secret": false,
      "strategy": "default",
      "default": "debian_docker"
    },
    {
      "key": "MAIL_ENCRYPTION",
      "service": "invoiceninja",
      "description": "Plain SMTP; Mailpit advertises no STARTTLS",
      "secret": false,
      "strategy": "default",
      "default": "null"
    },
    {
      "key": "MAX_UPLOAD_SIZE",
      "service": "invoiceninja",
      "description": "nginx and PHP upload ceiling",
      "secret": false,
      "strategy": "default",
      "default": "64M"
    },
    {
      "key": "TRUSTED_PROXIES",
      "service": "invoiceninja",
      "description": "Read real client IP from X-Forwarded-For",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0/0,::/0"
    },
    {
      "key": "QUEUE_CONNECTION",
      "service": "invoiceninja",
      "description": "Job queue backend",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "MAIL_FROM_ADDRESS",
      "service": "invoiceninja",
      "description": "Sender address on outgoing invoices",
      "secret": false,
      "strategy": "default",
      "default": "invoices@example.com"
    },
    {
      "key": "NINJA_ENVIRONMENT",
      "service": "invoiceninja",
      "description": "Self-hosted mode; closes public signup",
      "secret": false,
      "strategy": "default",
      "default": "selfhost"
    },
    {
      "key": "PRECONFIGURED_INSTALL",
      "service": "invoiceninja",
      "description": "Stops /setup overriding the database connection",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PHANTOMJS_PDF_GENERATION",
      "service": "invoiceninja",
      "description": "Disable the legacy PDF service",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "invoiceninja",
      "description": "Let a queue worker finish its job",
      "secret": false,
      "strategy": "default",
      "default": "30"
    },
    {
      "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": "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 image startup",
      "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": "TZ",
      "service": "mailpit",
      "description": "Timestamp timezone",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "mailpit",
      "description": "Web inbox listening port",
      "secret": false,
      "strategy": "default",
      "default": "8025"
    },
    {
      "key": "MP_UI_AUTH",
      "service": "mailpit",
      "description": "Basic auth for the web 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": "Ring-buffer size for captured mail",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "MP_SMTP_AUTH_ACCEPT_ANY",
      "service": "mailpit",
      "description": "Accept any SMTP credentials",
      "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": "invoice-ninja-billing"
      }
    },
    "cli": "railway deploy --template invoice-ninja-billing",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7983f0d3-6106-4d73-ab0e-6c7130516780",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0683bb5d-1b0c-4d28-9a6a-e51eec4da9c5": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/invoice-ninja.svg",
                  "name": "invoiceninja",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/invoiceninja-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port nginx listens on",
                      "defaultValue": "8080"
                    },
                    "APP_ENV": {
                      "isOptional": false,
                      "description": "Enables boot-time migrate and seed",
                      "defaultValue": "production"
                    },
                    "APP_URL": {
                      "isOptional": false,
                      "description": "Base URL in emails, PDFs, portal links",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DB_HOST": {
                      "isOptional": false,
                      "description": "Private MySQL hostname",
                      "defaultValue": "${{MySQL.MYSQLHOST}}"
                    },
                    "DB_PORT": {
                      "isOptional": false,
                      "description": "MySQL port",
                      "defaultValue": "${{MySQL.MYSQLPORT}}"
                    },
                    "APP_DEBUG": {
                      "isOptional": false,
                      "description": "Never true on a public deployment",
                      "defaultValue": "false"
                    },
                    "IS_DOCKER": {
                      "isOptional": false,
                      "description": "Adds a stderr channel to every log stack",
                      "defaultValue": "true"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Application log verbosity",
                      "defaultValue": "info"
                    },
                    "MAIL_HOST": {
                      "isOptional": false,
                      "description": "Mailpit SMTP host",
                      "defaultValue": "${{mailpit.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MAIL_PORT": {
                      "isOptional": false,
                      "description": "Mailpit SMTP port",
                      "defaultValue": "1025"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Private Redis hostname",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "DB_DATABASE": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "${{MySQL.MYSQLDATABASE}}"
                    },
                    "DB_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password",
                      "defaultValue": "${{MySQL.MYSQLPASSWORD}}"
                    },
                    "DB_USERNAME": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "${{MySQL.MYSQLUSER}}"
                    },
                    "IN_PASSWORD": {
                      "isOptional": false,
                      "description": "Owner password; change before deploying",
                      "defaultValue": "{{IN_PASSWORD}}"
                    },
                    "MAIL_MAILER": {
                      "isOptional": false,
                      "description": "Send mail over SMTP",
                      "defaultValue": "smtp"
                    },
                    "MAIL_SCHEME": {
                      "isOptional": false,
                      "description": "Transport scheme",
                      "defaultValue": "smtp"
                    },
                    "APP_KEY_SEED": {
                      "isOptional": false,
                      "description": "Seed the entrypoint derives APP_KEY from",
                      "defaultValue": "{{APP_KEY_SEED}}"
                    },
                    "CACHE_DRIVER": {
                      "isOptional": false,
                      "description": "Cache store, Redis database 1",
                      "defaultValue": "redis"
                    },
                    "SCOUT_DRIVER": {
                      "isOptional": false,
                      "description": "No Elasticsearch search tier",
                      "defaultValue": "null"
                    },
                    "DB_CONNECTION": {
                      "isOptional": false,
                      "description": "Database driver",
                      "defaultValue": "mysql"
                    },
                    "IN_USER_EMAIL": {
                      "isOptional": false,
                      "description": "Owner account created on first boot",
                      "defaultValue": "admin@example.com"
                    },
                    "PDF_GENERATOR": {
                      "isOptional": false,
                      "description": "Render PDFs with the bundled Chrome",
                      "defaultValue": "snappdf"
                    },
                    "REQUIRE_HTTPS": {
                      "isOptional": false,
                      "description": "Redirect insecure requests to HTTPS",
                      "defaultValue": "true"
                    },
                    "UPDATE_SECRET": {
                      "isOptional": false,
                      "description": "Guards the /update maintenance route",
                      "defaultValue": "{{UPDATE_SECRET}}"
                    },
                    "MAIL_FROM_NAME": {
                      "isOptional": false,
                      "description": "Sender display name",
                      "defaultValue": "Invoice Ninja"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis auth password",
                      "defaultValue": "${{Redis.REDISPASSWORD}}"
                    },
                    "SESSION_DRIVER": {
                      "isOptional": false,
                      "description": "Session store, Redis database 0",
                      "defaultValue": "redis"
                    },
                    "FILESYSTEM_DISK": {
                      "isOptional": false,
                      "description": "Store uploads under storage/app/public",
                      "defaultValue": "debian_docker"
                    },
                    "MAIL_ENCRYPTION": {
                      "isOptional": false,
                      "description": "Plain SMTP; Mailpit advertises no STARTTLS",
                      "defaultValue": "null"
                    },
                    "MAX_UPLOAD_SIZE": {
                      "isOptional": false,
                      "description": "nginx and PHP upload ceiling",
                      "defaultValue": "64M"
                    },
                    "TRUSTED_PROXIES": {
                      "isOptional": false,
                      "description": "Read real client IP from X-Forwarded-For",
                      "defaultValue": "0.0.0.0/0,::/0"
                    },
                    "QUEUE_CONNECTION": {
                      "isOptional": false,
                      "description": "Job queue backend",
                      "defaultValue": "redis"
                    },
                    "MAIL_FROM_ADDRESS": {
                      "isOptional": false,
                      "description": "Sender address on outgoing invoices",
                      "defaultValue": "invoices@example.com"
                    },
                    "NINJA_ENVIRONMENT": {
                      "isOptional": false,
                      "description": "Self-hosted mode; closes public signup",
                      "defaultValue": "selfhost"
                    },
                    "PRECONFIGURED_INSTALL": {
                      "isOptional": false,
                      "description": "Stops /setup overriding the database connection",
                      "defaultValue": "true"
                    },
                    "PHANTOMJS_PDF_GENERATION": {
                      "isOptional": false,
                      "description": "Disable the legacy PDF service",
                      "defaultValue": "false"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Let a queue worker finish its job",
                      "defaultValue": "30"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "0683bb5d-1b0c-4d28-9a6a-e51eec4da9c5": {
                      "mountPath": "/var/www/html/storage"
                    }
                  }
                },
                "2c192ec9-0c17-4a3b-bdbc-1e2eac2e2320": {
                  "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": {
                    "2c192ec9-0c17-4a3b-bdbc-1e2eac2e2320": {
                      "mountPath": "/data"
                    }
                  }
                },
                "4a18b6bb-d39c-4191-9f1e-ca19ceb9f56a": {
                  "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 image startup",
                      "defaultValue": "railway"
                    },
                    "MYSQL_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Root password, read by the entrypoint",
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "4a18b6bb-d39c-4191-9f1e-ca19ceb9f56a": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                },
                "f9d00a15-15bf-4cc2-9087-c39300e18605": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mailpit.svg",
                  "name": "mailpit",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "axllent/mailpit:latest"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Timestamp timezone",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Web inbox listening port",
                      "defaultValue": "8025"
                    },
                    "MP_UI_AUTH": {
                      "isOptional": false,
                      "description": "Basic auth for the web 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": "Ring-buffer size for captured mail",
                      "defaultValue": "5000"
                    },
                    "MP_SMTP_AUTH_ACCEPT_ANY": {
                      "isOptional": false,
                      "description": "Accept any SMTP credentials",
                      "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": {
                    "f9d00a15-15bf-4cc2-9087-c39300e18605": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T14:15:10.045Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_ff02d4d2aadc4bbd8ae4",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 154,
    "typical_build_seconds": 82,
    "typical_start_seconds": 20,
    "slowest_service": "invoiceninja"
  }
}
