{
  "manifest_version": "1.0.0",
  "template": {
    "id": "43a9a623-5d3b-4d8c-a94f-a668c4efacf3",
    "slug": "sftpgo-1",
    "name": "SFTPGo",
    "description": "File transfer server offering SFTP, WebDAV and a browser file manager",
    "url": "https://railway.com/deploy/sftpgo-1",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/sftpgo-railway"
    }
  },
  "services": [
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "caddy",
      "source": {
        "repo": "https://github.com/gridalpha/sftpgo-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "sftpgo",
      "source": {
        "repo": "https://github.com/gridalpha/sftpgo-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/srv/sftpgo",
      "tcp_ports": [
        2022
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "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": "caddy",
      "description": "Public listener port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SFTPGO_HOST",
      "service": "caddy",
      "description": "Private host to proxy to",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SFTPGO_HTTP_PORT",
      "service": "caddy",
      "description": "SFTPGo web and API port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SFTPGO_WEBDAV_PORT",
      "service": "caddy",
      "description": "SFTPGo WebDAV port",
      "secret": false,
      "strategy": "default",
      "default": "10080"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "caddy",
      "description": "Dockerfile for this service",
      "secret": false,
      "strategy": "default",
      "default": "caddy/Dockerfile"
    },
    {
      "key": "PORT",
      "service": "sftpgo",
      "description": "Health-check port; SFTPGo does not read it",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SFTPGO_LOG_LEVEL",
      "service": "sftpgo",
      "description": "Log verbosity; debug is very noisy",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "SFTPGO_PRIVATE_HOST",
      "service": "sftpgo",
      "description": "Private host the gateway proxies to",
      "secret": false,
      "strategy": "default",
      "default": "sftpgo.railway.internal"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "sftpgo",
      "description": "Dockerfile for this service",
      "secret": false,
      "strategy": "default",
      "default": "sftpgo/Dockerfile"
    },
    {
      "key": "SFTPGO_DATA_PROVIDER__HOST",
      "service": "sftpgo",
      "description": "Database host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SFTPGO_DATA_PROVIDER__NAME",
      "service": "sftpgo",
      "description": "Database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SFTPGO_DATA_PROVIDER__PORT",
      "service": "sftpgo",
      "description": "Database port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SFTPGO_DATA_PROVIDER__DRIVER",
      "service": "sftpgo",
      "description": "Store accounts in Postgres",
      "secret": false,
      "strategy": "default",
      "default": "postgresql"
    },
    {
      "key": "SFTPGO_DATA_PROVIDER__SSLMODE",
      "service": "sftpgo",
      "description": "Require TLS without certificate checks",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "SFTPGO_DEFAULT_ADMIN_PASSWORD",
      "service": "sftpgo",
      "description": "First administrator's password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SFTPGO_DEFAULT_ADMIN_USERNAME",
      "service": "sftpgo",
      "description": "First administrator's username",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "SFTPGO_DATA_PROVIDER__PASSWORD",
      "service": "sftpgo",
      "description": "Database password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SFTPGO_DATA_PROVIDER__USERNAME",
      "service": "sftpgo",
      "description": "Database user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SFTPGO_COMMON__DEFENDER__DRIVER",
      "service": "sftpgo",
      "description": "Keep bans in the database",
      "secret": false,
      "strategy": "default",
      "default": "provider"
    },
    {
      "key": "SFTPGO_HTTPD__BINDINGS__0__PORT",
      "service": "sftpgo",
      "description": "Web admin, web client and REST API port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SFTPGO_KMS__SECRETS__MASTER_KEY",
      "service": "sftpgo",
      "description": "Encrypts secrets in the database",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SFTPGO_SFTPD__BINDINGS__0__PORT",
      "service": "sftpgo",
      "description": "SSH/SFTP port behind the TCP proxy",
      "secret": false,
      "strategy": "default",
      "default": "2022"
    },
    {
      "key": "SFTPGO_COMMON__DEFENDER__ENABLED",
      "service": "sftpgo",
      "description": "Ban repeat failed logins",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SFTPGO_HTTPD__SIGNING_PASSPHRASE",
      "service": "sftpgo",
      "description": "Signs session and share tokens",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SFTPGO_WEBDAVD__BINDINGS__0__PORT",
      "service": "sftpgo",
      "description": "WebDAV listener port",
      "secret": false,
      "strategy": "default",
      "default": "10080"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "sftpgo",
      "description": "Let in-flight transfers finish",
      "secret": false,
      "strategy": "default",
      "default": "30"
    },
    {
      "key": "SFTPGO_WEBDAVD__BINDINGS__0__PREFIX",
      "service": "sftpgo",
      "description": "URL prefix WebDAV is served under",
      "secret": false,
      "strategy": "default",
      "default": "/dav"
    },
    {
      "key": "SFTPGO_COMMON__MAX_PER_HOST_CONNECTIONS",
      "service": "sftpgo",
      "description": "Concurrent connections per client",
      "secret": false,
      "strategy": "default",
      "default": "100"
    },
    {
      "key": "SFTPGO_HTTPD__BINDINGS__0__PROXY_ALLOWED",
      "service": "sftpgo",
      "description": "Hosts allowed to set client-IP headers",
      "secret": false,
      "strategy": "default",
      "default": "fd00::/8,10.0.0.0/8,100.64.0.0/10,127.0.0.1,::1"
    },
    {
      "key": "SFTPGO_DATA_PROVIDER__CREATE_DEFAULT_ADMIN",
      "service": "sftpgo",
      "description": "Seed the first administrator",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "SFTPGO_WEBDAVD__BINDINGS__0__PROXY_ALLOWED",
      "service": "sftpgo",
      "description": "Hosts allowed to set client-IP headers",
      "secret": false,
      "strategy": "default",
      "default": "fd00::/8,10.0.0.0/8,100.64.0.0/10,127.0.0.1,::1"
    },
    {
      "key": "SFTPGO_HTTPD__BINDINGS__0__SECURITY__ENABLED",
      "service": "sftpgo",
      "description": "Send security response headers",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SFTPGO_HTTPD__BINDINGS__0__SECURITY__STS_SECONDS",
      "service": "sftpgo",
      "description": "HSTS max-age",
      "secret": false,
      "strategy": "default",
      "default": "31536000"
    },
    {
      "key": "SFTPGO_HTTPD__BINDINGS__0__CLIENT_IP_HEADER_DEPTH",
      "service": "sftpgo",
      "description": "Take the only entry in that header",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "SFTPGO_HTTPD__BINDINGS__0__CLIENT_IP_PROXY_HEADER",
      "service": "sftpgo",
      "description": "Header carrying the real client IP",
      "secret": false,
      "strategy": "default",
      "default": "X-Forwarded-For"
    },
    {
      "key": "SFTPGO_WEBDAVD__BINDINGS__0__CLIENT_IP_HEADER_DEPTH",
      "service": "sftpgo",
      "description": "Take the only entry in that header",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "SFTPGO_WEBDAVD__BINDINGS__0__CLIENT_IP_PROXY_HEADER",
      "service": "sftpgo",
      "description": "Header carrying the real client IP",
      "secret": false,
      "strategy": "default",
      "default": "X-Forwarded-For"
    },
    {
      "key": "SFTPGO_HTTPD__BINDINGS__0__SECURITY__REFERRER_POLICY",
      "service": "sftpgo",
      "description": "Referrer-Policy header value",
      "secret": false,
      "strategy": "default",
      "default": "same-origin"
    },
    {
      "key": "SFTPGO_HTTPD__BINDINGS__0__SECURITY__CONTENT_TYPE_NOSNIFF",
      "service": "sftpgo",
      "description": "Send X-Content-Type-Options",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SFTPGO_HTTPD__BINDINGS__0__SECURITY__HTTPS_PROXY_HEADERS__0__KEY",
      "service": "sftpgo",
      "description": "Header proving the request was HTTPS",
      "secret": true,
      "strategy": "default",
      "default": "X-Forwarded-Proto"
    },
    {
      "key": "SFTPGO_HTTPD__BINDINGS__0__SECURITY__HTTPS_PROXY_HEADERS__0__VALUE",
      "service": "sftpgo",
      "description": "Value that marks it secure",
      "secret": false,
      "strategy": "default",
      "default": "https"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "sftpgo-1"
      }
    },
    "cli": "railway deploy --template sftpgo-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "43a9a623-5d3b-4d8c-a94f-a668c4efacf3",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1289f875-bd3e-44c3-b3a4-2e52638e53e6": {
                  "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": {
                    "1289f875-bd3e-44c3-b3a4-2e52638e53e6": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "582bb4ee-01fd-47ec-b501-81dbfbea6c8b": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/caddy.svg",
                  "name": "caddy",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/_healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/sftpgo-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Public listener port",
                      "defaultValue": "8080"
                    },
                    "SFTPGO_HOST": {
                      "isOptional": false,
                      "description": "Private host to proxy to",
                      "defaultValue": "${{sftpgo.SFTPGO_PRIVATE_HOST}}"
                    },
                    "SFTPGO_HTTP_PORT": {
                      "isOptional": false,
                      "description": "SFTPGo web and API port",
                      "defaultValue": "8080"
                    },
                    "SFTPGO_WEBDAV_PORT": {
                      "isOptional": false,
                      "description": "SFTPGo WebDAV port",
                      "defaultValue": "10080"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile for this service",
                      "defaultValue": "caddy/Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "7c5c5956-4a4f-4e22-bf8c-0701808c66d1": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/sftpgo.png",
                  "name": "sftpgo",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/sftpgo-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Health-check port; SFTPGo does not read it",
                      "defaultValue": "8080"
                    },
                    "SFTPGO_LOG_LEVEL": {
                      "isOptional": true,
                      "description": "Log verbosity; debug is very noisy",
                      "defaultValue": "info"
                    },
                    "SFTPGO_PRIVATE_HOST": {
                      "isOptional": false,
                      "description": "Private host the gateway proxies to",
                      "defaultValue": "sftpgo.railway.internal"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile for this service",
                      "defaultValue": "sftpgo/Dockerfile"
                    },
                    "SFTPGO_DATA_PROVIDER__HOST": {
                      "isOptional": false,
                      "description": "Database host",
                      "defaultValue": "${{Postgres.PGHOST}}"
                    },
                    "SFTPGO_DATA_PROVIDER__NAME": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "SFTPGO_DATA_PROVIDER__PORT": {
                      "isOptional": false,
                      "description": "Database port",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "SFTPGO_DATA_PROVIDER__DRIVER": {
                      "isOptional": false,
                      "description": "Store accounts in Postgres",
                      "defaultValue": "postgresql"
                    },
                    "SFTPGO_DATA_PROVIDER__SSLMODE": {
                      "isOptional": false,
                      "description": "Require TLS without certificate checks",
                      "defaultValue": "1"
                    },
                    "SFTPGO_DEFAULT_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "First administrator's password",
                      "defaultValue": "{{SFTPGO_DEFAULT_ADMIN_PASSWORD}}"
                    },
                    "SFTPGO_DEFAULT_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "First administrator's username",
                      "defaultValue": "admin"
                    },
                    "SFTPGO_DATA_PROVIDER__PASSWORD": {
                      "isOptional": false,
                      "description": "Database password",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "SFTPGO_DATA_PROVIDER__USERNAME": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "SFTPGO_COMMON__DEFENDER__DRIVER": {
                      "isOptional": true,
                      "description": "Keep bans in the database",
                      "defaultValue": "provider"
                    },
                    "SFTPGO_HTTPD__BINDINGS__0__PORT": {
                      "isOptional": false,
                      "description": "Web admin, web client and REST API port",
                      "defaultValue": "8080"
                    },
                    "SFTPGO_KMS__SECRETS__MASTER_KEY": {
                      "isOptional": false,
                      "description": "Encrypts secrets in the database",
                      "defaultValue": "{{SFTPGO_KMS__SECRETS__MASTER_KEY}}"
                    },
                    "SFTPGO_SFTPD__BINDINGS__0__PORT": {
                      "isOptional": false,
                      "description": "SSH/SFTP port behind the TCP proxy",
                      "defaultValue": "2022"
                    },
                    "SFTPGO_COMMON__DEFENDER__ENABLED": {
                      "isOptional": true,
                      "description": "Ban repeat failed logins",
                      "defaultValue": "true"
                    },
                    "SFTPGO_HTTPD__SIGNING_PASSPHRASE": {
                      "isOptional": false,
                      "description": "Signs session and share tokens",
                      "defaultValue": "{{SFTPGO_HTTPD__SIGNING_PASSPHRASE}}"
                    },
                    "SFTPGO_WEBDAVD__BINDINGS__0__PORT": {
                      "isOptional": false,
                      "description": "WebDAV listener port",
                      "defaultValue": "10080"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Let in-flight transfers finish",
                      "defaultValue": "30"
                    },
                    "SFTPGO_WEBDAVD__BINDINGS__0__PREFIX": {
                      "isOptional": false,
                      "description": "URL prefix WebDAV is served under",
                      "defaultValue": "/dav"
                    },
                    "SFTPGO_COMMON__MAX_PER_HOST_CONNECTIONS": {
                      "isOptional": true,
                      "description": "Concurrent connections per client",
                      "defaultValue": "100"
                    },
                    "SFTPGO_HTTPD__BINDINGS__0__PROXY_ALLOWED": {
                      "isOptional": false,
                      "description": "Hosts allowed to set client-IP headers",
                      "defaultValue": "fd00::/8,10.0.0.0/8,100.64.0.0/10,127.0.0.1,::1"
                    },
                    "SFTPGO_DATA_PROVIDER__CREATE_DEFAULT_ADMIN": {
                      "isOptional": false,
                      "description": "Seed the first administrator",
                      "defaultValue": "1"
                    },
                    "SFTPGO_WEBDAVD__BINDINGS__0__PROXY_ALLOWED": {
                      "isOptional": false,
                      "description": "Hosts allowed to set client-IP headers",
                      "defaultValue": "fd00::/8,10.0.0.0/8,100.64.0.0/10,127.0.0.1,::1"
                    },
                    "SFTPGO_HTTPD__BINDINGS__0__SECURITY__ENABLED": {
                      "isOptional": false,
                      "description": "Send security response headers",
                      "defaultValue": "true"
                    },
                    "SFTPGO_HTTPD__BINDINGS__0__SECURITY__STS_SECONDS": {
                      "isOptional": false,
                      "description": "HSTS max-age",
                      "defaultValue": "31536000"
                    },
                    "SFTPGO_HTTPD__BINDINGS__0__CLIENT_IP_HEADER_DEPTH": {
                      "isOptional": false,
                      "description": "Take the only entry in that header",
                      "defaultValue": "0"
                    },
                    "SFTPGO_HTTPD__BINDINGS__0__CLIENT_IP_PROXY_HEADER": {
                      "isOptional": false,
                      "description": "Header carrying the real client IP",
                      "defaultValue": "X-Forwarded-For"
                    },
                    "SFTPGO_WEBDAVD__BINDINGS__0__CLIENT_IP_HEADER_DEPTH": {
                      "isOptional": false,
                      "description": "Take the only entry in that header",
                      "defaultValue": "0"
                    },
                    "SFTPGO_WEBDAVD__BINDINGS__0__CLIENT_IP_PROXY_HEADER": {
                      "isOptional": false,
                      "description": "Header carrying the real client IP",
                      "defaultValue": "X-Forwarded-For"
                    },
                    "SFTPGO_HTTPD__BINDINGS__0__SECURITY__REFERRER_POLICY": {
                      "isOptional": false,
                      "description": "Referrer-Policy header value",
                      "defaultValue": "same-origin"
                    },
                    "SFTPGO_HTTPD__BINDINGS__0__SECURITY__CONTENT_TYPE_NOSNIFF": {
                      "isOptional": false,
                      "description": "Send X-Content-Type-Options",
                      "defaultValue": "true"
                    },
                    "SFTPGO_HTTPD__BINDINGS__0__SECURITY__HTTPS_PROXY_HEADERS__0__KEY": {
                      "isOptional": false,
                      "description": "Header proving the request was HTTPS",
                      "defaultValue": "X-Forwarded-Proto"
                    },
                    "SFTPGO_HTTPD__BINDINGS__0__SECURITY__HTTPS_PROXY_HEADERS__0__VALUE": {
                      "isOptional": false,
                      "description": "Value that marks it secure",
                      "defaultValue": "https"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "2022": {}
                    }
                  },
                  "volumeMounts": {
                    "7c5c5956-4a4f-4e22-bf8c-0701808c66d1": {
                      "mountPath": "/srv/sftpgo"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "caddy",
      "method": "GET",
      "path": "/_healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-04T17:54:19.363Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-04T18:00:23.865Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_78dcbd6132ce42c9bdf2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 300,
    "typical_build_seconds": 121,
    "typical_start_seconds": 20,
    "slowest_service": "caddy"
  }
}
