{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4d04b80c-4914-43f4-99fe-da05b7cdd0c7",
    "slug": "spree",
    "name": "Spree",
    "description": "Open-source eCommerce platform with a REST API and admin dashboard",
    "url": "https://railway.com/deploy/spree",
    "upstream": {
      "image": "ghcr.io/spree/spree:5.6.1"
    }
  },
  "services": [
    {
      "name": "spree",
      "source": {
        "image": "ghcr.io/spree/spree:5.6.1"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "meilisearch",
      "source": {
        "image": "getmeili/meilisearch:v1.53"
      },
      "needs_volume": true,
      "volume_mount_path": "/meili_data",
      "http": false
    },
    {
      "name": "mailpit",
      "source": {
        "image": "axllent/mailpit:v1.31"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "spree-worker",
      "source": {
        "image": "ghcr.io/spree/spree:5.6.1"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "spree",
      "description": "Puma listening port",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "SMTP_HOST",
      "service": "spree",
      "description": "Outbound mail host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_PORT",
      "service": "spree",
      "description": "Mailpit plaintext SMTP port",
      "secret": false,
      "strategy": "default",
      "default": "1025"
    },
    {
      "key": "RAILS_HOST",
      "service": "spree",
      "description": "Public host, no scheme",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ADMIN_EMAIL",
      "service": "spree",
      "description": "First admin, seeded on first boot",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "JOB_THREADS",
      "service": "spree",
      "description": "Sizes the database connection pool",
      "secret": false,
      "strategy": "default",
      "default": "3"
    },
    {
      "key": "DATABASE_URL",
      "service": "spree",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "spree",
      "description": "First admin password, seeded once",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MEILISEARCH_URL",
      "service": "spree",
      "description": "Enables the Meilisearch provider",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY_BASE",
      "service": "spree",
      "description": "Rails session and cookie signing key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "WEB_CONCURRENCY",
      "service": "spree",
      "description": "Puma processes, ~1 GB each",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "CLOUDFLARE_BUCKET",
      "service": "spree",
      "description": "Bucket name for Active Storage",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILS_MAX_THREADS",
      "service": "spree",
      "description": "Puma threads per process",
      "secret": false,
      "strategy": "default",
      "default": "5"
    },
    {
      "key": "SMTP_FROM_ADDRESS",
      "service": "spree",
      "description": "Rails default from address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "CLOUDFLARE_ENDPOINT",
      "service": "spree",
      "description": "S3-compatible storage endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MEILISEARCH_API_KEY",
      "service": "spree",
      "description": "Meilisearch master key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SOLID_QUEUE_IN_PUMA",
      "service": "spree",
      "description": "Jobs run in spree-worker",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "MISSION_CONTROL_USER",
      "service": "spree",
      "description": "Basic auth user for /jobs",
      "secret": false,
      "strategy": "default",
      "default": "spree"
    },
    {
      "key": "CLOUDFLARE_ACCESS_KEY_ID",
      "service": "spree",
      "description": "Bucket access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MISSION_CONTROL_PASSWORD",
      "service": "spree",
      "description": "Basic auth password for /jobs",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CLOUDFLARE_SECRET_ACCESS_KEY",
      "service": "spree",
      "description": "Bucket secret key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "spree",
      "description": "First boot migrates and seeds",
      "secret": false,
      "strategy": "default",
      "default": "900"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Cluster location on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Clean shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "meilisearch",
      "description": "Health check port",
      "secret": false,
      "strategy": "default",
      "default": "7700"
    },
    {
      "key": "MEILI_ENV",
      "service": "meilisearch",
      "description": "Disables the dev web interface",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "PRIVATE_URL",
      "service": "meilisearch",
      "description": "Referenced by Spree",
      "secret": false,
      "strategy": "default",
      "default": "http://meilisearch.railway.internal:7700"
    },
    {
      "key": "MEILI_DB_PATH",
      "service": "meilisearch",
      "description": "Index directory on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/meili_data/data.ms"
    },
    {
      "key": "MEILI_DUMP_DIR",
      "service": "meilisearch",
      "description": "Dump directory on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/meili_data/dumps"
    },
    {
      "key": "MEILI_HTTP_ADDR",
      "service": "meilisearch",
      "description": "Dual-stack bind for private callers",
      "secret": false,
      "strategy": "default",
      "default": "[::]:7700"
    },
    {
      "key": "MEILI_MASTER_KEY",
      "service": "meilisearch",
      "description": "API key, read by the server",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MEILI_NO_ANALYTICS",
      "service": "meilisearch",
      "description": "Disables telemetry",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "MEILI_SNAPSHOT_DIR",
      "service": "meilisearch",
      "description": "Snapshot directory on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/meili_data/snapshots"
    },
    {
      "key": "MEILI_MAX_INDEXING_MEMORY",
      "service": "meilisearch",
      "description": "Caps indexing memory to the container",
      "secret": false,
      "strategy": "default",
      "default": "512 MiB"
    },
    {
      "key": "MEILI_MAX_INDEXING_THREADS",
      "service": "meilisearch",
      "description": "Caps indexing threads to the container",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "MEILI_EXPERIMENTAL_DUMPLESS_UPGRADE",
      "service": "meilisearch",
      "description": "In-place upgrade on version bumps",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PORT",
      "service": "mailpit",
      "description": "Health check and domain target 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": "PRIVATE_HOST",
      "service": "mailpit",
      "description": "Referenced by Spree as SMTP_HOST",
      "secret": false,
      "strategy": "default",
      "default": "mailpit.railway.internal"
    },
    {
      "key": "MP_MAX_MESSAGES",
      "service": "mailpit",
      "description": "Ring buffer size",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "MP_UI_BIND_ADDR",
      "service": "mailpit",
      "description": "Dual-stack inbox bind",
      "secret": false,
      "strategy": "default",
      "default": "[::]:8025"
    },
    {
      "key": "MP_SMTP_BIND_ADDR",
      "service": "mailpit",
      "description": "Dual-stack SMTP bind for private callers",
      "secret": false,
      "strategy": "default",
      "default": "[::]:1025"
    },
    {
      "key": "SMTP_HOST",
      "service": "spree-worker",
      "description": "Outbound mail host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_PORT",
      "service": "spree-worker",
      "description": "Mailpit plaintext SMTP port",
      "secret": false,
      "strategy": "default",
      "default": "1025"
    },
    {
      "key": "RAILS_HOST",
      "service": "spree-worker",
      "description": "Public host for generated URLs",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "JOB_THREADS",
      "service": "spree-worker",
      "description": "Concurrent jobs per worker process",
      "secret": false,
      "strategy": "default",
      "default": "5"
    },
    {
      "key": "DATABASE_URL",
      "service": "spree-worker",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "JOB_CONCURRENCY",
      "service": "spree-worker",
      "description": "Worker processes",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "MEILISEARCH_URL",
      "service": "spree-worker",
      "description": "Search provider endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY_BASE",
      "service": "spree-worker",
      "description": "Must match the web service",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CLOUDFLARE_BUCKET",
      "service": "spree-worker",
      "description": "Bucket name for Active Storage",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILS_MAX_THREADS",
      "service": "spree-worker",
      "description": "Sizes the database connection pool",
      "secret": false,
      "strategy": "default",
      "default": "3"
    },
    {
      "key": "SMTP_FROM_ADDRESS",
      "service": "spree-worker",
      "description": "Rails default from address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "CLOUDFLARE_ENDPOINT",
      "service": "spree-worker",
      "description": "S3-compatible storage endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MEILISEARCH_API_KEY",
      "service": "spree-worker",
      "description": "Meilisearch master key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CLOUDFLARE_ACCESS_KEY_ID",
      "service": "spree-worker",
      "description": "Bucket access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CLOUDFLARE_SECRET_ACCESS_KEY",
      "service": "spree-worker",
      "description": "Bucket secret key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "spree"
      }
    },
    "cli": "railway deploy --template spree",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4d04b80c-4914-43f4-99fe-da05b7cdd0c7",
            "serializedConfig": {
              "buckets": {
                "0f9bbdf9-36aa-442a-958e-49cbf43f0d35": {
                  "name": "spree-storage"
                }
              },
              "services": {
                "4aee2cbd-65ee-42c9-b4be-1994a2a7f910": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/spree-dark.svg",
                  "name": "spree",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"sed -i s/prunable/trimmable/ /rails/config/recurring.yml; exec /rails/bin/docker-entrypoint ./bin/rails server -b 0.0.0.0\"",
                    "healthcheckPath": "/up",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/spree/spree:5.6.1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Puma listening port",
                      "defaultValue": "3000"
                    },
                    "SMTP_HOST": {
                      "isOptional": false,
                      "description": "Outbound mail host",
                      "defaultValue": "${{mailpit.PRIVATE_HOST}}"
                    },
                    "SMTP_PORT": {
                      "isOptional": false,
                      "description": "Mailpit plaintext SMTP port",
                      "defaultValue": "1025"
                    },
                    "RAILS_HOST": {
                      "isOptional": false,
                      "description": "Public host, no scheme",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "First admin, seeded on first boot",
                      "defaultValue": "admin@example.com"
                    },
                    "JOB_THREADS": {
                      "isOptional": true,
                      "description": "Sizes the database connection pool",
                      "defaultValue": "3"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "First admin password, seeded once",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "MEILISEARCH_URL": {
                      "isOptional": false,
                      "description": "Enables the Meilisearch provider",
                      "defaultValue": "${{meilisearch.PRIVATE_URL}}"
                    },
                    "SECRET_KEY_BASE": {
                      "isOptional": false,
                      "description": "Rails session and cookie signing key",
                      "defaultValue": "{{SECRET_KEY_BASE}}"
                    },
                    "WEB_CONCURRENCY": {
                      "isOptional": true,
                      "description": "Puma processes, ~1 GB each",
                      "defaultValue": "2"
                    },
                    "CLOUDFLARE_BUCKET": {
                      "isOptional": false,
                      "description": "Bucket name for Active Storage",
                      "defaultValue": "${{spree-storage.BUCKET}}"
                    },
                    "RAILS_MAX_THREADS": {
                      "isOptional": true,
                      "description": "Puma threads per process",
                      "defaultValue": "5"
                    },
                    "SMTP_FROM_ADDRESS": {
                      "isOptional": false,
                      "description": "Rails default from address",
                      "defaultValue": "no-reply@${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "CLOUDFLARE_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3-compatible storage endpoint",
                      "defaultValue": "${{spree-storage.ENDPOINT}}"
                    },
                    "MEILISEARCH_API_KEY": {
                      "isOptional": false,
                      "description": "Meilisearch master key",
                      "defaultValue": "${{meilisearch.MEILI_MASTER_KEY}}"
                    },
                    "SOLID_QUEUE_IN_PUMA": {
                      "isOptional": true,
                      "description": "Jobs run in spree-worker",
                      "defaultValue": "false"
                    },
                    "MISSION_CONTROL_USER": {
                      "isOptional": false,
                      "description": "Basic auth user for /jobs",
                      "defaultValue": "spree"
                    },
                    "CLOUDFLARE_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Bucket access key",
                      "defaultValue": "${{spree-storage.ACCESS_KEY_ID}}"
                    },
                    "MISSION_CONTROL_PASSWORD": {
                      "isOptional": false,
                      "description": "Basic auth password for /jobs",
                      "defaultValue": "{{MISSION_CONTROL_PASSWORD}}"
                    },
                    "CLOUDFLARE_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret key",
                      "defaultValue": "${{spree-storage.SECRET_ACCESS_KEY}}"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": true,
                      "description": "First boot migrates and seeds",
                      "defaultValue": "900"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                },
                "91b0818f-1c29-4ea8-97a0-4b9cacd51cc4": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Cluster location on the volume",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created on first boot",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "SSL certificate expiry in days",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Superuser password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "91b0818f-1c29-4ea8-97a0-4b9cacd51cc4": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "9e48b267-f561-43d6-8458-1cbe662c59bd": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/meilisearch.svg",
                  "name": "meilisearch",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "getmeili/meilisearch:v1.53"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Health check port",
                      "defaultValue": "7700"
                    },
                    "MEILI_ENV": {
                      "isOptional": false,
                      "description": "Disables the dev web interface",
                      "defaultValue": "production"
                    },
                    "PRIVATE_URL": {
                      "isOptional": false,
                      "description": "Referenced by Spree",
                      "defaultValue": "http://meilisearch.railway.internal:7700"
                    },
                    "MEILI_DB_PATH": {
                      "isOptional": false,
                      "description": "Index directory on the volume",
                      "defaultValue": "/meili_data/data.ms"
                    },
                    "MEILI_DUMP_DIR": {
                      "isOptional": false,
                      "description": "Dump directory on the volume",
                      "defaultValue": "/meili_data/dumps"
                    },
                    "MEILI_HTTP_ADDR": {
                      "isOptional": false,
                      "description": "Dual-stack bind for private callers",
                      "defaultValue": "[::]:7700"
                    },
                    "MEILI_MASTER_KEY": {
                      "isOptional": false,
                      "description": "API key, read by the server",
                      "defaultValue": "{{MEILI_MASTER_KEY}}"
                    },
                    "MEILI_NO_ANALYTICS": {
                      "isOptional": true,
                      "description": "Disables telemetry",
                      "defaultValue": "true"
                    },
                    "MEILI_SNAPSHOT_DIR": {
                      "isOptional": false,
                      "description": "Snapshot directory on the volume",
                      "defaultValue": "/meili_data/snapshots"
                    },
                    "MEILI_MAX_INDEXING_MEMORY": {
                      "isOptional": true,
                      "description": "Caps indexing memory to the container",
                      "defaultValue": "512 MiB"
                    },
                    "MEILI_MAX_INDEXING_THREADS": {
                      "isOptional": true,
                      "description": "Caps indexing threads to the container",
                      "defaultValue": "2"
                    },
                    "MEILI_EXPERIMENTAL_DUMPLESS_UPGRADE": {
                      "isOptional": true,
                      "description": "In-place upgrade on version bumps",
                      "defaultValue": "true"
                    }
                  },
                  "volumeMounts": {
                    "9e48b267-f561-43d6-8458-1cbe662c59bd": {
                      "mountPath": "/meili_data"
                    }
                  }
                },
                "c20cb19e-e7d7-4288-9afc-3cf91a19345d": {
                  "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:v1.31"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Health check and domain target 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"
                    },
                    "PRIVATE_HOST": {
                      "isOptional": false,
                      "description": "Referenced by Spree as SMTP_HOST",
                      "defaultValue": "mailpit.railway.internal"
                    },
                    "MP_MAX_MESSAGES": {
                      "isOptional": true,
                      "description": "Ring buffer size",
                      "defaultValue": "5000"
                    },
                    "MP_UI_BIND_ADDR": {
                      "isOptional": false,
                      "description": "Dual-stack inbox bind",
                      "defaultValue": "[::]:8025"
                    },
                    "MP_SMTP_BIND_ADDR": {
                      "isOptional": false,
                      "description": "Dual-stack SMTP bind for private callers",
                      "defaultValue": "[::]:1025"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8025": {
                        "port": 8025
                      }
                    }
                  },
                  "volumeMounts": {
                    "c20cb19e-e7d7-4288-9afc-3cf91a19345d": {
                      "mountPath": "/data"
                    }
                  }
                },
                "cfa57fc6-94f7-472a-8a30-a91468cda723": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/spree-dark.svg",
                  "name": "spree-worker",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"sed -i s/prunable/trimmable/ /rails/config/recurring.yml; exec /rails/bin/docker-entrypoint ./bin/jobs\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/spree/spree:5.6.1"
                  },
                  "variables": {
                    "SMTP_HOST": {
                      "isOptional": false,
                      "description": "Outbound mail host",
                      "defaultValue": "${{mailpit.PRIVATE_HOST}}"
                    },
                    "SMTP_PORT": {
                      "isOptional": false,
                      "description": "Mailpit plaintext SMTP port",
                      "defaultValue": "1025"
                    },
                    "RAILS_HOST": {
                      "isOptional": false,
                      "description": "Public host for generated URLs",
                      "defaultValue": "${{spree.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "JOB_THREADS": {
                      "isOptional": true,
                      "description": "Concurrent jobs per worker process",
                      "defaultValue": "5"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "JOB_CONCURRENCY": {
                      "isOptional": true,
                      "description": "Worker processes",
                      "defaultValue": "1"
                    },
                    "MEILISEARCH_URL": {
                      "isOptional": false,
                      "description": "Search provider endpoint",
                      "defaultValue": "${{meilisearch.PRIVATE_URL}}"
                    },
                    "SECRET_KEY_BASE": {
                      "isOptional": false,
                      "description": "Must match the web service",
                      "defaultValue": "${{spree.SECRET_KEY_BASE}}"
                    },
                    "CLOUDFLARE_BUCKET": {
                      "isOptional": false,
                      "description": "Bucket name for Active Storage",
                      "defaultValue": "${{spree-storage.BUCKET}}"
                    },
                    "RAILS_MAX_THREADS": {
                      "isOptional": true,
                      "description": "Sizes the database connection pool",
                      "defaultValue": "3"
                    },
                    "SMTP_FROM_ADDRESS": {
                      "isOptional": false,
                      "description": "Rails default from address",
                      "defaultValue": "no-reply@${{spree.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "CLOUDFLARE_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3-compatible storage endpoint",
                      "defaultValue": "${{spree-storage.ENDPOINT}}"
                    },
                    "MEILISEARCH_API_KEY": {
                      "isOptional": false,
                      "description": "Meilisearch master key",
                      "defaultValue": "${{meilisearch.MEILI_MASTER_KEY}}"
                    },
                    "CLOUDFLARE_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Bucket access key",
                      "defaultValue": "${{spree-storage.ACCESS_KEY_ID}}"
                    },
                    "CLOUDFLARE_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret key",
                      "defaultValue": "${{spree-storage.SECRET_ACCESS_KEY}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "spree",
      "method": "GET",
      "path": "/up",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-04T05:44:27.711Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-04T05:36:37.106Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_2abc9417218e450bbfcd",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 137,
    "typical_build_seconds": 0,
    "typical_deploy_seconds": 30,
    "typical_healthcheck_lag_seconds": 0,
    "slowest_service": "spree"
  }
}
