{
  "manifest_version": "1.0.0",
  "template": {
    "id": "866c1ff8-bc54-4307-9336-8db47b79ef9e",
    "slug": "ente",
    "name": "Ente",
    "description": "End-to-end encrypted cloud for your photos and 2FA codes",
    "url": "https://railway.com/deploy/ente",
    "upstream": {
      "image": "ghcr.io/ente/web:latest"
    }
  },
  "services": [
    {
      "name": "cast",
      "source": {
        "image": "ghcr.io/ente/web:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "auth",
      "source": {
        "image": "ghcr.io/ente/web:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "albums",
      "source": {
        "image": "ghcr.io/ente/web:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "photos",
      "source": {
        "image": "ghcr.io/ente/web:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "mailpit",
      "source": {
        "image": "axllent/mailpit:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "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": "museum",
      "source": {
        "repo": "https://github.com/gridalpha/ente-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "accounts",
      "source": {
        "image": "ghcr.io/ente/web:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "cast",
      "description": "Port the cast app is served on",
      "secret": false,
      "strategy": "default",
      "default": "3004"
    },
    {
      "key": "ENTE_API_ORIGIN",
      "service": "cast",
      "description": "museum API base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE",
      "service": "cast",
      "description": "Size nginx workers from the container",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "PORT",
      "service": "auth",
      "description": "Port the auth app is served on",
      "secret": false,
      "strategy": "default",
      "default": "3003"
    },
    {
      "key": "ENTE_API_ORIGIN",
      "service": "auth",
      "description": "museum API base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE",
      "service": "auth",
      "description": "Size nginx workers from the container",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "PORT",
      "service": "albums",
      "description": "Port the albums app is served on",
      "secret": false,
      "strategy": "default",
      "default": "3002"
    },
    {
      "key": "ENTE_API_ORIGIN",
      "service": "albums",
      "description": "museum API base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE",
      "service": "albums",
      "description": "Size nginx workers from the container",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "PORT",
      "service": "photos",
      "description": "Port the photos app is served on",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "ENTE_API_ORIGIN",
      "service": "photos",
      "description": "museum API base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE",
      "service": "photos",
      "description": "Size nginx workers from the container",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "TZ",
      "service": "mailpit",
      "description": "Timestamp timezone",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "mailpit",
      "description": "Port the web inbox is served on",
      "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": "Messages retained before pruning",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "MP_UI_BIND_ADDR",
      "service": "mailpit",
      "description": "Web inbox listen address",
      "secret": false,
      "strategy": "default",
      "default": "[::]:8025"
    },
    {
      "key": "MP_SMTP_BIND_ADDR",
      "service": "mailpit",
      "description": "Private SMTP listen address",
      "secret": false,
      "strategy": "default",
      "default": "[::]:1025"
    },
    {
      "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": "museum",
      "description": "HTTP port museum listens on",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "ENTE_DB_HOST",
      "service": "museum",
      "description": "Private Postgres hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ENTE_DB_NAME",
      "service": "museum",
      "description": "Database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENTE_DB_PORT",
      "service": "museum",
      "description": "Postgres port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENTE_DB_USER",
      "service": "museum",
      "description": "Database user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENTE_APPS_CAST",
      "service": "museum",
      "description": "Cast app URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ENTE_LOG_LEVEL",
      "service": "museum",
      "description": "Server log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "ENTE_SMTP_HOST",
      "service": "museum",
      "description": "Mail host for verification codes",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ENTE_SMTP_PORT",
      "service": "museum",
      "description": "Mail port",
      "secret": false,
      "strategy": "default",
      "default": "1025"
    },
    {
      "key": "ENTE_DB_SSLMODE",
      "service": "museum",
      "description": "Encrypt without certificate verification",
      "secret": false,
      "strategy": "default",
      "default": "require"
    },
    {
      "key": "ENTE_SMTP_EMAIL",
      "service": "museum",
      "description": "Envelope sender address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ENTE_DB_PASSWORD",
      "service": "museum",
      "description": "Database password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENTE_APPS_ACCOUNTS",
      "service": "museum",
      "description": "Accounts app URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ENTE_WEBAUTHN_RPID",
      "service": "museum",
      "description": "Passkey relying party host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MUSEUM_SECRET_SEED",
      "service": "museum",
      "description": "Seeds encryption, hash and JWT keys",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ENTE_S3_B2_EU_CEN_KEY",
      "service": "museum",
      "description": "Bucket access key id",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENTE_SMTP_SENDER_NAME",
      "service": "museum",
      "description": "Display name on outgoing mail",
      "secret": false,
      "strategy": "default",
      "default": "Ente"
    },
    {
      "key": "ENTE_APPS_PUBLIC_ALBUMS",
      "service": "museum",
      "description": "Public album link host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ENTE_WEBAUTHN_RPORIGINS",
      "service": "museum",
      "description": "Allowed passkey origin",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ENTE_S3_B2_EU_CEN_BUCKET",
      "service": "museum",
      "description": "Bucket name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENTE_S3_B2_EU_CEN_REGION",
      "service": "museum",
      "description": "Object storage region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENTE_S3_B2_EU_CEN_SECRET",
      "service": "museum",
      "description": "Bucket secret access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENTE_S3_ARE_LOCAL_BUCKETS",
      "service": "museum",
      "description": "Keep TLS on for the bucket",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ENTE_S3_B2_EU_CEN_ENDPOINT",
      "service": "museum",
      "description": "Object storage endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENTE_S3_USE_PATH_STYLE_URLS",
      "service": "museum",
      "description": "Required for browser upload CORS",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ENTE_INTERNAL_DISABLE_REGISTRATION",
      "service": "museum",
      "description": "Set true once your account exists",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "PORT",
      "service": "accounts",
      "description": "Port the accounts app is served on",
      "secret": false,
      "strategy": "default",
      "default": "3001"
    },
    {
      "key": "ENTE_API_ORIGIN",
      "service": "accounts",
      "description": "museum API base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE",
      "service": "accounts",
      "description": "Size nginx workers from the container",
      "secret": false,
      "strategy": "default",
      "default": "1"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "ente"
      }
    },
    "cli": "railway deploy --template ente",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "866c1ff8-bc54-4307-9336-8db47b79ef9e",
            "serializedConfig": {
              "buckets": {
                "57766ec5-c3b3-459d-998f-7f510ef14862": {
                  "name": "ente"
                }
              },
              "services": {
                "38e22768-65a1-41d7-be91-11db2e5fdc26": {
                  "icon": "https://raw.githubusercontent.com/ente/ente/main/web/apps/accounts/public/images/ente-circular.png",
                  "name": "cast",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/ente/web:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the cast app is served on",
                      "defaultValue": "3004"
                    },
                    "ENTE_API_ORIGIN": {
                      "isOptional": false,
                      "description": "museum API base URL",
                      "defaultValue": "https://${{museum.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE": {
                      "isOptional": false,
                      "description": "Size nginx workers from the container",
                      "defaultValue": "1"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3004": {
                        "port": 3004
                      }
                    }
                  }
                },
                "50cf6700-d943-43d7-8b19-8d0d67f851ea": {
                  "icon": "https://raw.githubusercontent.com/ente/ente/main/web/apps/auth/public/images/favicon.png",
                  "name": "auth",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/ente/web:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the auth app is served on",
                      "defaultValue": "3003"
                    },
                    "ENTE_API_ORIGIN": {
                      "isOptional": false,
                      "description": "museum API base URL",
                      "defaultValue": "https://${{museum.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE": {
                      "isOptional": false,
                      "description": "Size nginx workers from the container",
                      "defaultValue": "1"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3003": {
                        "port": 3003
                      }
                    }
                  }
                },
                "527a57cb-c193-42f3-b44d-386fe9e6d36d": {
                  "icon": "https://raw.githubusercontent.com/ente/ente/main/web/apps/accounts/public/images/ente-circular.png",
                  "name": "albums",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/ente/web:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the albums app is served on",
                      "defaultValue": "3002"
                    },
                    "ENTE_API_ORIGIN": {
                      "isOptional": false,
                      "description": "museum API base URL",
                      "defaultValue": "https://${{museum.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE": {
                      "isOptional": false,
                      "description": "Size nginx workers from the container",
                      "defaultValue": "1"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3002": {
                        "port": 3002
                      }
                    }
                  }
                },
                "570f8ba2-f0d4-4db8-baf8-91790c26da26": {
                  "icon": "https://raw.githubusercontent.com/ente/ente/main/web/apps/accounts/public/images/ente-circular.png",
                  "name": "photos",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/ente/web:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the photos app is served on",
                      "defaultValue": "3000"
                    },
                    "ENTE_API_ORIGIN": {
                      "isOptional": false,
                      "description": "museum API base URL",
                      "defaultValue": "https://${{museum.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE": {
                      "isOptional": false,
                      "description": "Size nginx workers from the container",
                      "defaultValue": "1"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                },
                "701e14ac-8adb-4fde-9fea-7c649636caf0": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/mailpit.svg",
                  "name": "mailpit",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/livez",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "axllent/mailpit:latest"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Timestamp timezone",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the web inbox is served on",
                      "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": "Messages retained before pruning",
                      "defaultValue": "5000"
                    },
                    "MP_UI_BIND_ADDR": {
                      "isOptional": false,
                      "description": "Web inbox listen address",
                      "defaultValue": "[::]:8025"
                    },
                    "MP_SMTP_BIND_ADDR": {
                      "isOptional": false,
                      "description": "Private SMTP listen address",
                      "defaultValue": "[::]:1025"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8025": {
                        "port": 8025
                      }
                    }
                  },
                  "volumeMounts": {
                    "701e14ac-8adb-4fde-9fea-7c649636caf0": {
                      "mountPath": "/data"
                    }
                  }
                },
                "b8b6df97-f085-4caa-8b0a-431f02926a94": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/postgres.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": {
                    "b8b6df97-f085-4caa-8b0a-431f02926a94": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "be8f10b2-8aa6-44b4-a75b-81ad59ba9855": {
                  "icon": "https://raw.githubusercontent.com/ente/ente/main/web/apps/accounts/public/images/ente-circular.png",
                  "name": "museum",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/ente-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port museum listens on",
                      "defaultValue": "8080"
                    },
                    "ENTE_DB_HOST": {
                      "isOptional": false,
                      "description": "Private Postgres hostname",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "ENTE_DB_NAME": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "ENTE_DB_PORT": {
                      "isOptional": false,
                      "description": "Postgres port",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "ENTE_DB_USER": {
                      "isOptional": false,
                      "description": "Database user",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "ENTE_APPS_CAST": {
                      "isOptional": false,
                      "description": "Cast app URL",
                      "defaultValue": "https://${{cast.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ENTE_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Server log verbosity",
                      "defaultValue": "info"
                    },
                    "ENTE_SMTP_HOST": {
                      "isOptional": false,
                      "description": "Mail host for verification codes",
                      "defaultValue": "${{mailpit.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "ENTE_SMTP_PORT": {
                      "isOptional": false,
                      "description": "Mail port",
                      "defaultValue": "1025"
                    },
                    "ENTE_DB_SSLMODE": {
                      "isOptional": false,
                      "description": "Encrypt without certificate verification",
                      "defaultValue": "require"
                    },
                    "ENTE_SMTP_EMAIL": {
                      "isOptional": false,
                      "description": "Envelope sender address",
                      "defaultValue": "ente@${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ENTE_DB_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "ENTE_APPS_ACCOUNTS": {
                      "isOptional": false,
                      "description": "Accounts app URL",
                      "defaultValue": "https://${{accounts.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ENTE_WEBAUTHN_RPID": {
                      "isOptional": false,
                      "description": "Passkey relying party host",
                      "defaultValue": "${{accounts.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MUSEUM_SECRET_SEED": {
                      "isOptional": false,
                      "description": "Seeds encryption, hash and JWT keys",
                      "defaultValue": "{{MUSEUM_SECRET_SEED}}"
                    },
                    "ENTE_S3_B2_EU_CEN_KEY": {
                      "isOptional": false,
                      "description": "Bucket access key id",
                      "defaultValue": "${{ente.ACCESS_KEY_ID}}"
                    },
                    "ENTE_SMTP_SENDER_NAME": {
                      "isOptional": false,
                      "description": "Display name on outgoing mail",
                      "defaultValue": "Ente"
                    },
                    "ENTE_APPS_PUBLIC_ALBUMS": {
                      "isOptional": false,
                      "description": "Public album link host",
                      "defaultValue": "https://${{albums.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ENTE_WEBAUTHN_RPORIGINS": {
                      "isOptional": false,
                      "description": "Allowed passkey origin",
                      "defaultValue": "https://${{accounts.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ENTE_S3_B2_EU_CEN_BUCKET": {
                      "isOptional": false,
                      "description": "Bucket name",
                      "defaultValue": "${{ente.BUCKET}}"
                    },
                    "ENTE_S3_B2_EU_CEN_REGION": {
                      "isOptional": false,
                      "description": "Object storage region",
                      "defaultValue": "${{ente.REGION}}"
                    },
                    "ENTE_S3_B2_EU_CEN_SECRET": {
                      "isOptional": false,
                      "description": "Bucket secret access key",
                      "defaultValue": "${{ente.SECRET_ACCESS_KEY}}"
                    },
                    "ENTE_S3_ARE_LOCAL_BUCKETS": {
                      "isOptional": false,
                      "description": "Keep TLS on for the bucket",
                      "defaultValue": "false"
                    },
                    "ENTE_S3_B2_EU_CEN_ENDPOINT": {
                      "isOptional": false,
                      "description": "Object storage endpoint",
                      "defaultValue": "${{ente.ENDPOINT}}"
                    },
                    "ENTE_S3_USE_PATH_STYLE_URLS": {
                      "isOptional": false,
                      "description": "Required for browser upload CORS",
                      "defaultValue": "true"
                    },
                    "ENTE_INTERNAL_DISABLE_REGISTRATION": {
                      "isOptional": false,
                      "description": "Set true once your account exists",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "fabf3ae3-69a1-43c3-a3f5-918b30cfe0d1": {
                  "icon": "https://raw.githubusercontent.com/ente/ente/main/web/apps/accounts/public/images/ente-circular.png",
                  "name": "accounts",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/ente/web:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the accounts app is served on",
                      "defaultValue": "3001"
                    },
                    "ENTE_API_ORIGIN": {
                      "isOptional": false,
                      "description": "museum API base URL",
                      "defaultValue": "https://${{museum.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE": {
                      "isOptional": false,
                      "description": "Size nginx workers from the container",
                      "defaultValue": "1"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3001": {
                        "port": 3001
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "cast",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 8,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-19T13:17:57.563Z",
  "success_rate_30d": 0.1667,
  "validation": {
    "last_run_id": "run_38c7d1e48227491eb3b2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ],
    "typical_ready_seconds": 82
  }
}
