{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0b979b27-4ef4-4ad9-86a9-a2d3fbd7aa36",
    "slug": "plane-v1-project-hub",
    "name": "Plane v1 Project Hub",
    "description": "Issues, sprints, docs and roadmaps. Full Plane stack, no per-seat fees.",
    "url": "https://railway.com/deploy/plane-v1-project-hub",
    "upstream": {
      "repo_url": "https://github.com/baranberkay96/plane-railway"
    }
  },
  "services": [
    {
      "name": "admin",
      "source": {
        "image": "makeplane/plane-admin:v1.4.2"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "api",
      "source": {
        "image": "makeplane/plane-backend:v1.4.2"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "RabbitMQ",
      "source": {
        "image": "rabbitmq:3.13.7-management-alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/rabbitmq",
      "http": false
    },
    {
      "name": "space",
      "source": {
        "image": "makeplane/plane-space:v1.4.2"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "proxy",
      "source": {
        "repo": "https://github.com/baranberkay96/plane-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "beat-worker",
      "source": {
        "image": "makeplane/plane-backend:v1.4.2"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "web",
      "source": {
        "image": "makeplane/plane-frontend:v1.4.2"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "worker",
      "source": {
        "image": "makeplane/plane-backend:v1.4.2"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "live",
      "source": {
        "image": "makeplane/plane-live:v1.4.2"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "bucket-cors",
      "source": {
        "image": "amazon/aws-cli:2.37.12"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "admin",
      "description": "Port the app listens on (private network; proxy target).",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "PORT",
      "service": "api",
      "description": "Gunicorn port (private network; proxy target).",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "DEBUG",
      "service": "api",
      "description": "Django debug mode off.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "WEB_URL",
      "service": "api",
      "description": "Public URL of Plane (e-mail links, redirects). Update with a custom domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "AMQP_URL",
      "service": "api",
      "description": "RabbitMQ broker for Celery jobs.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_URL",
      "service": "api",
      "description": "Redis for cache and sessions.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "USE_MINIO",
      "service": "api",
      "description": "0 = external S3 (Railway Bucket); browsers upload and download with presigned URLs.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "AWS_REGION",
      "service": "api",
      "description": "Bucket region (Railway Bucket).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY",
      "service": "api",
      "description": "Django signing key (sessions, CSRF, password reset). Do not change after first boot.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_URL",
      "service": "api",
      "description": "Postgres connection string (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FILE_SIZE_LIMIT",
      "service": "api",
      "description": "Max upload size in bytes (5 MB, Plane default). Also enforced by the proxy.",
      "secret": false,
      "strategy": "default",
      "default": "5242880"
    },
    {
      "key": "GUNICORN_WORKERS",
      "service": "api",
      "description": "Gunicorn/uvicorn worker processes for the API.",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "api",
      "description": "Bucket access key.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "API_KEY_RATE_LIMIT",
      "service": "api",
      "description": "Throttle for API-key requests.",
      "secret": true,
      "strategy": "default",
      "default": "60/minute"
    },
    {
      "key": "AWS_DEFAULT_REGION",
      "service": "api",
      "description": "Region for boto3 clients created without an explicit region.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_S3_BUCKET_NAME",
      "service": "api",
      "description": "Bucket name (Railway Bucket).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_S3_ENDPOINT_URL",
      "service": "api",
      "description": "S3 endpoint (Railway Bucket).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CORS_ALLOWED_ORIGINS",
      "service": "api",
      "description": "Allowed browser origins; also used as CSRF trusted origins. Comma-separate extra domains.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "api",
      "description": "Bucket secret key.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LIVE_SERVER_SECRET_KEY",
      "service": "api",
      "description": "Shared secret between api and the live (collaboration) server.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AUTHENTICATION_RATE_LIMIT",
      "service": "api",
      "description": "Per-IP throttle for anonymous sign-in / magic-link endpoints.",
      "secret": false,
      "strategy": "default",
      "default": "10/minute"
    },
    {
      "key": "AMQP_URL",
      "service": "RabbitMQ",
      "description": "Connection string for Celery (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "RABBITMQ_NODENAME",
      "service": "RabbitMQ",
      "description": "Fixed node name so the data on the volume survives redeploys (container hostnames change).",
      "secret": false,
      "strategy": "default",
      "default": "rabbit@localhost"
    },
    {
      "key": "RABBITMQ_DEFAULT_PASS",
      "service": "RabbitMQ",
      "description": "Broker password (generated).",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RABBITMQ_DEFAULT_USER",
      "service": "RabbitMQ",
      "description": "Broker user created on first boot.",
      "secret": false,
      "strategy": "default",
      "default": "plane"
    },
    {
      "key": "RABBITMQ_DEFAULT_VHOST",
      "service": "RabbitMQ",
      "description": "Broker virtual host.",
      "secret": false,
      "strategy": "default",
      "default": "plane"
    },
    {
      "key": "RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS",
      "service": "RabbitMQ",
      "description": "Limit Erlang schedulers to 2 (the VM otherwise sizes itself to the host's CPU count).",
      "secret": false,
      "strategy": "default",
      "default": "+S 2:2 +SDio 2"
    },
    {
      "key": "PORT",
      "service": "space",
      "description": "Port the app listens on (private network; proxy target).",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "PORT",
      "service": "proxy",
      "description": "Port Caddy listens on (public domain target).",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "API_UPSTREAM",
      "service": "proxy",
      "description": "API (/api, /auth, /static).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "WEB_UPSTREAM",
      "service": "proxy",
      "description": "Main web app.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "LIVE_UPSTREAM",
      "service": "proxy",
      "description": "Live collaboration server (/live).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ADMIN_UPSTREAM",
      "service": "proxy",
      "description": "Instance admin (/god-mode).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SPACE_UPSTREAM",
      "service": "proxy",
      "description": "Public spaces (/spaces).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "FILE_SIZE_LIMIT",
      "service": "proxy",
      "description": "Max request body size in bytes (same as api).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DEBUG",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.DEBUG (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WEB_URL",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.WEB_URL (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AMQP_URL",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.AMQP_URL (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_URL",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.REDIS_URL (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "USE_MINIO",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.USE_MINIO (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_REGION",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.AWS_REGION (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.SECRET_KEY (edit it there).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.DATABASE_URL (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FILE_SIZE_LIMIT",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.FILE_SIZE_LIMIT (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.AWS_ACCESS_KEY_ID (edit it there).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "API_KEY_RATE_LIMIT",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.API_KEY_RATE_LIMIT (edit it there).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_DEFAULT_REGION",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.AWS_DEFAULT_REGION (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_S3_BUCKET_NAME",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.AWS_S3_BUCKET_NAME (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_S3_ENDPOINT_URL",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.AWS_S3_ENDPOINT_URL (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CORS_ALLOWED_ORIGINS",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.CORS_ALLOWED_ORIGINS (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.AWS_SECRET_ACCESS_KEY (edit it there).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LIVE_SERVER_SECRET_KEY",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.LIVE_SERVER_SECRET_KEY (edit it there).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AUTHENTICATION_RATE_LIMIT",
      "service": "beat-worker",
      "description": "Shared backend setting: references api.AUTHENTICATION_RATE_LIMIT (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Location where the database will be initialized.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Railway Private Domain Name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Port to connect to Postgres.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Required variable for Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Required variable for the data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Required variable for Data panel.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created when image is started.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "URL to connect to Postgres database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "User to connect to Postgres DB.",
      "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": "Password to connect to DB.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Allow Postgres to cleanly shut down.",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "web",
      "description": "Port the app listens on (private network; proxy target).",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Port that Redis listens on.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Username for authenticating with Redis.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Connection string for connecting to Redis using the private network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Alias of REDIS_PASSWORD for clients that expect the unseparated name.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Randomly generated password for authenticating with Redis.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DEBUG",
      "service": "worker",
      "description": "Shared backend setting: references api.DEBUG (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WEB_URL",
      "service": "worker",
      "description": "Shared backend setting: references api.WEB_URL (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AMQP_URL",
      "service": "worker",
      "description": "Shared backend setting: references api.AMQP_URL (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_URL",
      "service": "worker",
      "description": "Shared backend setting: references api.REDIS_URL (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "USE_MINIO",
      "service": "worker",
      "description": "Shared backend setting: references api.USE_MINIO (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_REGION",
      "service": "worker",
      "description": "Shared backend setting: references api.AWS_REGION (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY",
      "service": "worker",
      "description": "Shared backend setting: references api.SECRET_KEY (edit it there).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "worker",
      "description": "Shared backend setting: references api.DATABASE_URL (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FILE_SIZE_LIMIT",
      "service": "worker",
      "description": "Shared backend setting: references api.FILE_SIZE_LIMIT (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "worker",
      "description": "Shared backend setting: references api.AWS_ACCESS_KEY_ID (edit it there).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "API_KEY_RATE_LIMIT",
      "service": "worker",
      "description": "Shared backend setting: references api.API_KEY_RATE_LIMIT (edit it there).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_DEFAULT_REGION",
      "service": "worker",
      "description": "Shared backend setting: references api.AWS_DEFAULT_REGION (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_S3_BUCKET_NAME",
      "service": "worker",
      "description": "Shared backend setting: references api.AWS_S3_BUCKET_NAME (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_S3_ENDPOINT_URL",
      "service": "worker",
      "description": "Shared backend setting: references api.AWS_S3_ENDPOINT_URL (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CORS_ALLOWED_ORIGINS",
      "service": "worker",
      "description": "Shared backend setting: references api.CORS_ALLOWED_ORIGINS (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "worker",
      "description": "Shared backend setting: references api.AWS_SECRET_ACCESS_KEY (edit it there).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LIVE_SERVER_SECRET_KEY",
      "service": "worker",
      "description": "Shared backend setting: references api.LIVE_SERVER_SECRET_KEY (edit it there).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AUTHENTICATION_RATE_LIMIT",
      "service": "worker",
      "description": "Shared backend setting: references api.AUTHENTICATION_RATE_LIMIT (edit it there).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CELERY_WORKER_CONCURRENCY",
      "service": "worker",
      "description": "Celery prefork processes (default would be one per host CPU, far too many on Railway).",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "PORT",
      "service": "live",
      "description": "Port the live server listens on (private network; proxy target).",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "REDIS_URL",
      "service": "live",
      "description": "Redis pub/sub for collaborative editing.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "API_BASE_URL",
      "service": "live",
      "description": "Private API URL used by the live server.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "LIVE_BASE_PATH",
      "service": "live",
      "description": "Path prefix routed by the proxy.",
      "secret": false,
      "strategy": "default",
      "default": "/live"
    },
    {
      "key": "LIVE_SERVER_SECRET_KEY",
      "service": "live",
      "description": "Shared secret with api.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_REGION",
      "service": "bucket-cors",
      "description": "Bucket region.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "BUCKET_NAME",
      "service": "bucket-cors",
      "description": "Bucket to configure.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "bucket-cors",
      "description": "Bucket S3 endpoint.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PUBLIC_ORIGIN",
      "service": "bucket-cors",
      "description": "Plane's public origin (for the log line).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "bucket-cors",
      "description": "Bucket access key.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CORS_CONFIGURATION",
      "service": "bucket-cors",
      "description": "CORS rule letting browsers on Plane's domain upload to / read from the bucket with presigned URLs. Add custom domains to AllowedOrigins and redeploy this service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "bucket-cors",
      "description": "Bucket secret key.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "plane-v1-project-hub"
      }
    },
    "cli": "railway deploy --template plane-v1-project-hub",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0b979b27-4ef4-4ad9-86a9-a2d3fbd7aa36",
            "serializedConfig": {
              "buckets": {
                "83902f58-34ce-51e9-b571-ed3a2e106a29": {
                  "name": "Bucket"
                }
              },
              "services": {
                "17d129db-f312-588d-9851-0144f951ac04": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/plane.svg",
                  "name": "admin",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"sed -i -e 's/^worker_processes .*/worker_processes 2;/' -e 's/listen 3000;/listen 3000; listen [::]:3000;/' /etc/nginx/nginx.conf && nginx -t && exec nginx -g 'daemon off;'\"",
                    "healthcheckPath": "/god-mode/",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 120,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "makeplane/plane-admin:v1.4.2"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port the app listens on (private network; proxy target).",
                      "defaultValue": "3000"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "1ff14dca-d7b4-5519-92b9-03ebc178df8a": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/plane.svg",
                  "name": "api",
                  "deploy": {
                    "startCommand": "/bin/bash -c \"sed 's/--bind 0.0.0.0:/--bind [::]:/' ./bin/docker-entrypoint-api.sh > /tmp/docker-entrypoint-api.sh && exec bash /tmp/docker-entrypoint-api.sh\"",
                    "healthcheckPath": "/api/instances/",
                    "preDeployCommand": [
                      "/bin/bash -c \"python manage.py wait_for_db && python manage.py migrate --noinput\""
                    ],
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "makeplane/plane-backend:v1.4.2"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Gunicorn port (private network; proxy target).",
                      "defaultValue": "8000"
                    },
                    "DEBUG": {
                      "isOptional": true,
                      "description": "Django debug mode off.",
                      "defaultValue": "0"
                    },
                    "WEB_URL": {
                      "isOptional": true,
                      "description": "Public URL of Plane (e-mail links, redirects). Update with a custom domain.",
                      "defaultValue": "https://${{proxy.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "AMQP_URL": {
                      "isOptional": true,
                      "description": "RabbitMQ broker for Celery jobs.",
                      "defaultValue": "${{RabbitMQ.AMQP_URL}}"
                    },
                    "REDIS_URL": {
                      "isOptional": true,
                      "description": "Redis for cache and sessions.",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "USE_MINIO": {
                      "isOptional": true,
                      "description": "0 = external S3 (Railway Bucket); browsers upload and download with presigned URLs.",
                      "defaultValue": "0"
                    },
                    "AWS_REGION": {
                      "isOptional": true,
                      "description": "Bucket region (Railway Bucket).",
                      "defaultValue": "${{Bucket.REGION}}"
                    },
                    "SECRET_KEY": {
                      "isOptional": true,
                      "description": "Django signing key (sessions, CSRF, password reset). Do not change after first boot.",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "Postgres connection string (private network).",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "FILE_SIZE_LIMIT": {
                      "isOptional": true,
                      "description": "Max upload size in bytes (5 MB, Plane default). Also enforced by the proxy.",
                      "defaultValue": "5242880"
                    },
                    "GUNICORN_WORKERS": {
                      "isOptional": true,
                      "description": "Gunicorn/uvicorn worker processes for the API.",
                      "defaultValue": "2"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": true,
                      "description": "Bucket access key.",
                      "defaultValue": "${{Bucket.ACCESS_KEY_ID}}"
                    },
                    "API_KEY_RATE_LIMIT": {
                      "isOptional": true,
                      "description": "Throttle for API-key requests.",
                      "defaultValue": "60/minute"
                    },
                    "AWS_DEFAULT_REGION": {
                      "isOptional": true,
                      "description": "Region for boto3 clients created without an explicit region.",
                      "defaultValue": "${{Bucket.REGION}}"
                    },
                    "AWS_S3_BUCKET_NAME": {
                      "isOptional": true,
                      "description": "Bucket name (Railway Bucket).",
                      "defaultValue": "${{Bucket.BUCKET}}"
                    },
                    "AWS_S3_ENDPOINT_URL": {
                      "isOptional": true,
                      "description": "S3 endpoint (Railway Bucket).",
                      "defaultValue": "${{Bucket.ENDPOINT}}"
                    },
                    "CORS_ALLOWED_ORIGINS": {
                      "isOptional": true,
                      "description": "Allowed browser origins; also used as CSRF trusted origins. Comma-separate extra domains.",
                      "defaultValue": "https://${{proxy.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "Bucket secret key.",
                      "defaultValue": "${{Bucket.SECRET_ACCESS_KEY}}"
                    },
                    "LIVE_SERVER_SECRET_KEY": {
                      "isOptional": true,
                      "description": "Shared secret between api and the live (collaboration) server.",
                      "defaultValue": "{{LIVE_SERVER_SECRET_KEY}}"
                    },
                    "AUTHENTICATION_RATE_LIMIT": {
                      "isOptional": true,
                      "description": "Per-IP throttle for anonymous sign-in / magic-link endpoints.",
                      "defaultValue": "10/minute"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "3e9cf0a6-54ab-584b-8fce-958156dfd20d": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/rabbitmq.svg",
                  "name": "RabbitMQ",
                  "deploy": {
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "rabbitmq:3.13.7-management-alpine"
                  },
                  "variables": {
                    "AMQP_URL": {
                      "isOptional": true,
                      "description": "Connection string for Celery (private network).",
                      "defaultValue": "amqp://${{RABBITMQ_DEFAULT_USER}}:${{RABBITMQ_DEFAULT_PASS}}@${{RAILWAY_PRIVATE_DOMAIN}}:5672/${{RABBITMQ_DEFAULT_VHOST}}"
                    },
                    "RABBITMQ_NODENAME": {
                      "isOptional": true,
                      "description": "Fixed node name so the data on the volume survives redeploys (container hostnames change).",
                      "defaultValue": "rabbit@localhost"
                    },
                    "RABBITMQ_DEFAULT_PASS": {
                      "isOptional": true,
                      "description": "Broker password (generated).",
                      "defaultValue": "{{RABBITMQ_DEFAULT_PASS}}"
                    },
                    "RABBITMQ_DEFAULT_USER": {
                      "isOptional": true,
                      "description": "Broker user created on first boot.",
                      "defaultValue": "plane"
                    },
                    "RABBITMQ_DEFAULT_VHOST": {
                      "isOptional": true,
                      "description": "Broker virtual host.",
                      "defaultValue": "plane"
                    },
                    "RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS": {
                      "isOptional": true,
                      "description": "Limit Erlang schedulers to 2 (the VM otherwise sizes itself to the host's CPU count).",
                      "defaultValue": "+S 2:2 +SDio 2"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "bf1f75e3-1f7a-599f-b1b2-fc674f0938c2": {
                      "mountPath": "/var/lib/rabbitmq"
                    }
                  }
                },
                "44aa65fd-b63d-5317-ba18-f42187ab0a6e": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/plane.svg",
                  "name": "space",
                  "deploy": {
                    "healthcheckPath": "/spaces/",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 180,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "makeplane/plane-space:v1.4.2"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port the app listens on (private network; proxy target).",
                      "defaultValue": "3000"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "aa9b76db-88d4-5bbc-a81e-0ae68a2f0b95": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/caddy.svg",
                  "name": "proxy",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/proxy-health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 60,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/plane-railway",
                    "branch": "main",
                    "rootDirectory": "/services/proxy"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port Caddy listens on (public domain target).",
                      "defaultValue": "8080"
                    },
                    "API_UPSTREAM": {
                      "isOptional": true,
                      "description": "API (/api, /auth, /static).",
                      "defaultValue": "${{api.RAILWAY_PRIVATE_DOMAIN}}:8000"
                    },
                    "WEB_UPSTREAM": {
                      "isOptional": true,
                      "description": "Main web app.",
                      "defaultValue": "${{web.RAILWAY_PRIVATE_DOMAIN}}:3000"
                    },
                    "LIVE_UPSTREAM": {
                      "isOptional": true,
                      "description": "Live collaboration server (/live).",
                      "defaultValue": "${{live.RAILWAY_PRIVATE_DOMAIN}}:3000"
                    },
                    "ADMIN_UPSTREAM": {
                      "isOptional": true,
                      "description": "Instance admin (/god-mode).",
                      "defaultValue": "${{admin.RAILWAY_PRIVATE_DOMAIN}}:3000"
                    },
                    "SPACE_UPSTREAM": {
                      "isOptional": true,
                      "description": "Public spaces (/spaces).",
                      "defaultValue": "${{space.RAILWAY_PRIVATE_DOMAIN}}:3000"
                    },
                    "FILE_SIZE_LIMIT": {
                      "isOptional": true,
                      "description": "Max request body size in bytes (same as api).",
                      "defaultValue": "${{api.FILE_SIZE_LIMIT}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "ba93b265-8b13-55a0-9fb1-bb85cb847f90": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/plane.svg",
                  "name": "beat-worker",
                  "deploy": {
                    "startCommand": "./bin/docker-entrypoint-beat.sh",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "makeplane/plane-backend:v1.4.2"
                  },
                  "variables": {
                    "DEBUG": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.DEBUG (edit it there).",
                      "defaultValue": "${{api.DEBUG}}"
                    },
                    "WEB_URL": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.WEB_URL (edit it there).",
                      "defaultValue": "${{api.WEB_URL}}"
                    },
                    "AMQP_URL": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AMQP_URL (edit it there).",
                      "defaultValue": "${{api.AMQP_URL}}"
                    },
                    "REDIS_URL": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.REDIS_URL (edit it there).",
                      "defaultValue": "${{api.REDIS_URL}}"
                    },
                    "USE_MINIO": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.USE_MINIO (edit it there).",
                      "defaultValue": "${{api.USE_MINIO}}"
                    },
                    "AWS_REGION": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AWS_REGION (edit it there).",
                      "defaultValue": "${{api.AWS_REGION}}"
                    },
                    "SECRET_KEY": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.SECRET_KEY (edit it there).",
                      "defaultValue": "${{api.SECRET_KEY}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.DATABASE_URL (edit it there).",
                      "defaultValue": "${{api.DATABASE_URL}}"
                    },
                    "FILE_SIZE_LIMIT": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.FILE_SIZE_LIMIT (edit it there).",
                      "defaultValue": "${{api.FILE_SIZE_LIMIT}}"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AWS_ACCESS_KEY_ID (edit it there).",
                      "defaultValue": "${{api.AWS_ACCESS_KEY_ID}}"
                    },
                    "API_KEY_RATE_LIMIT": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.API_KEY_RATE_LIMIT (edit it there).",
                      "defaultValue": "${{api.API_KEY_RATE_LIMIT}}"
                    },
                    "AWS_DEFAULT_REGION": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AWS_DEFAULT_REGION (edit it there).",
                      "defaultValue": "${{api.AWS_DEFAULT_REGION}}"
                    },
                    "AWS_S3_BUCKET_NAME": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AWS_S3_BUCKET_NAME (edit it there).",
                      "defaultValue": "${{api.AWS_S3_BUCKET_NAME}}"
                    },
                    "AWS_S3_ENDPOINT_URL": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AWS_S3_ENDPOINT_URL (edit it there).",
                      "defaultValue": "${{api.AWS_S3_ENDPOINT_URL}}"
                    },
                    "CORS_ALLOWED_ORIGINS": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.CORS_ALLOWED_ORIGINS (edit it there).",
                      "defaultValue": "${{api.CORS_ALLOWED_ORIGINS}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AWS_SECRET_ACCESS_KEY (edit it there).",
                      "defaultValue": "${{api.AWS_SECRET_ACCESS_KEY}}"
                    },
                    "LIVE_SERVER_SECRET_KEY": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.LIVE_SERVER_SECRET_KEY (edit it there).",
                      "defaultValue": "${{api.LIVE_SERVER_SECRET_KEY}}"
                    },
                    "AUTHENTICATION_RATE_LIMIT": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AUTHENTICATION_RATE_LIMIT (edit it there).",
                      "defaultValue": "${{api.AUTHENTICATION_RATE_LIMIT}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "bed7e387-cdb8-5b8c-8ad9-cac57c46725e": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": true,
                      "description": "Location where the database will be initialized.",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": true,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": true,
                      "description": "Port to connect to Postgres.",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": true,
                      "description": "Required variable for Data panel.",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": true,
                      "description": "Required variable for the data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": true,
                      "description": "Required variable for Data panel.",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": true,
                      "description": "Default database created when image is started.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "URL to connect to Postgres database.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": true,
                      "description": "User to connect to Postgres DB.",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": true,
                      "description": "SSL certificate expiry in days.",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": true,
                      "description": "Password to connect to DB.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Allow Postgres to cleanly shut down.",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "16b4265e-ed3e-5eeb-b222-e5c6ab6ebb34": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "d95a98e5-ed13-5477-9816-fa4abfab402e": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/plane.svg",
                  "name": "web",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"sed -i -e 's/^worker_processes .*/worker_processes 2;/' -e 's/listen 3000;/listen 3000; listen [::]:3000;/' /etc/nginx/nginx.conf && nginx -t && exec nginx -g 'daemon off;'\"",
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 120,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "makeplane/plane-frontend:v1.4.2"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port the app listens on (private network; proxy target).",
                      "defaultValue": "3000"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "dac699ed-6167-50ae-bc06-1351b68a8d4d": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": true,
                      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": true,
                      "description": "Port that Redis listens on.",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": true,
                      "description": "Username for authenticating with Redis.",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": true,
                      "description": "Connection string for connecting to Redis using the private network.",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": true,
                      "description": "Alias of REDIS_PASSWORD for clients that expect the unseparated name.",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": true,
                      "description": "Randomly generated password for authenticating with Redis.",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "1afb0bbd-9719-5124-a23e-7f947a17e61b": {
                      "mountPath": "/data"
                    }
                  }
                },
                "e6a7be42-8877-50c2-8ba7-221b471bcc8f": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/plane.svg",
                  "name": "worker",
                  "deploy": {
                    "startCommand": "/bin/bash -c \"python manage.py wait_for_db && python manage.py wait_for_migrations && exec celery -A plane worker -l info --concurrency ${CELERY_WORKER_CONCURRENCY:-2}\"",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "makeplane/plane-backend:v1.4.2"
                  },
                  "variables": {
                    "DEBUG": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.DEBUG (edit it there).",
                      "defaultValue": "${{api.DEBUG}}"
                    },
                    "WEB_URL": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.WEB_URL (edit it there).",
                      "defaultValue": "${{api.WEB_URL}}"
                    },
                    "AMQP_URL": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AMQP_URL (edit it there).",
                      "defaultValue": "${{api.AMQP_URL}}"
                    },
                    "REDIS_URL": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.REDIS_URL (edit it there).",
                      "defaultValue": "${{api.REDIS_URL}}"
                    },
                    "USE_MINIO": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.USE_MINIO (edit it there).",
                      "defaultValue": "${{api.USE_MINIO}}"
                    },
                    "AWS_REGION": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AWS_REGION (edit it there).",
                      "defaultValue": "${{api.AWS_REGION}}"
                    },
                    "SECRET_KEY": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.SECRET_KEY (edit it there).",
                      "defaultValue": "${{api.SECRET_KEY}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.DATABASE_URL (edit it there).",
                      "defaultValue": "${{api.DATABASE_URL}}"
                    },
                    "FILE_SIZE_LIMIT": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.FILE_SIZE_LIMIT (edit it there).",
                      "defaultValue": "${{api.FILE_SIZE_LIMIT}}"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AWS_ACCESS_KEY_ID (edit it there).",
                      "defaultValue": "${{api.AWS_ACCESS_KEY_ID}}"
                    },
                    "API_KEY_RATE_LIMIT": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.API_KEY_RATE_LIMIT (edit it there).",
                      "defaultValue": "${{api.API_KEY_RATE_LIMIT}}"
                    },
                    "AWS_DEFAULT_REGION": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AWS_DEFAULT_REGION (edit it there).",
                      "defaultValue": "${{api.AWS_DEFAULT_REGION}}"
                    },
                    "AWS_S3_BUCKET_NAME": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AWS_S3_BUCKET_NAME (edit it there).",
                      "defaultValue": "${{api.AWS_S3_BUCKET_NAME}}"
                    },
                    "AWS_S3_ENDPOINT_URL": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AWS_S3_ENDPOINT_URL (edit it there).",
                      "defaultValue": "${{api.AWS_S3_ENDPOINT_URL}}"
                    },
                    "CORS_ALLOWED_ORIGINS": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.CORS_ALLOWED_ORIGINS (edit it there).",
                      "defaultValue": "${{api.CORS_ALLOWED_ORIGINS}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AWS_SECRET_ACCESS_KEY (edit it there).",
                      "defaultValue": "${{api.AWS_SECRET_ACCESS_KEY}}"
                    },
                    "LIVE_SERVER_SECRET_KEY": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.LIVE_SERVER_SECRET_KEY (edit it there).",
                      "defaultValue": "${{api.LIVE_SERVER_SECRET_KEY}}"
                    },
                    "AUTHENTICATION_RATE_LIMIT": {
                      "isOptional": true,
                      "description": "Shared backend setting: references api.AUTHENTICATION_RATE_LIMIT (edit it there).",
                      "defaultValue": "${{api.AUTHENTICATION_RATE_LIMIT}}"
                    },
                    "CELERY_WORKER_CONCURRENCY": {
                      "isOptional": true,
                      "description": "Celery prefork processes (default would be one per host CPU, far too many on Railway).",
                      "defaultValue": "2"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "f4bffa44-5f82-538a-876b-fc9d55ed4198": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/plane.svg",
                  "name": "live",
                  "deploy": {
                    "healthcheckPath": "/live/health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 180,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "makeplane/plane-live:v1.4.2"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port the live server listens on (private network; proxy target).",
                      "defaultValue": "3000"
                    },
                    "REDIS_URL": {
                      "isOptional": true,
                      "description": "Redis pub/sub for collaborative editing.",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "API_BASE_URL": {
                      "isOptional": true,
                      "description": "Private API URL used by the live server.",
                      "defaultValue": "http://${{api.RAILWAY_PRIVATE_DOMAIN}}:8000"
                    },
                    "LIVE_BASE_PATH": {
                      "isOptional": true,
                      "description": "Path prefix routed by the proxy.",
                      "defaultValue": "/live"
                    },
                    "LIVE_SERVER_SECRET_KEY": {
                      "isOptional": true,
                      "description": "Shared secret with api.",
                      "defaultValue": "${{api.LIVE_SERVER_SECRET_KEY}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "f6405847-c99b-5bb2-97bc-bc6c154eb774": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/aws.svg",
                  "name": "bucket-cors",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"aws s3api put-bucket-cors --bucket $BUCKET_NAME --endpoint-url $S3_ENDPOINT --region $S3_REGION --cors-configuration \\\"$CORS_CONFIGURATION\\\" && echo 'Bucket CORS configured for' $PUBLIC_ORIGIN\"",
                    "restartPolicyType": "NEVER"
                  },
                  "source": {
                    "image": "amazon/aws-cli:2.37.12"
                  },
                  "variables": {
                    "S3_REGION": {
                      "isOptional": true,
                      "description": "Bucket region.",
                      "defaultValue": "${{Bucket.REGION}}"
                    },
                    "BUCKET_NAME": {
                      "isOptional": true,
                      "description": "Bucket to configure.",
                      "defaultValue": "${{Bucket.BUCKET}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": true,
                      "description": "Bucket S3 endpoint.",
                      "defaultValue": "${{Bucket.ENDPOINT}}"
                    },
                    "PUBLIC_ORIGIN": {
                      "isOptional": true,
                      "description": "Plane's public origin (for the log line).",
                      "defaultValue": "https://${{proxy.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": true,
                      "description": "Bucket access key.",
                      "defaultValue": "${{Bucket.ACCESS_KEY_ID}}"
                    },
                    "CORS_CONFIGURATION": {
                      "isOptional": true,
                      "description": "CORS rule letting browsers on Plane's domain upload to / read from the bucket with presigned URLs. Add custom domains to AllowedOrigins and redeploy this service.",
                      "defaultValue": "{\"CORSRules\":[{\"AllowedOrigins\":[\"https://${{proxy.RAILWAY_PUBLIC_DOMAIN}}\"],\"AllowedMethods\":[\"GET\",\"HEAD\",\"PUT\",\"POST\"],\"AllowedHeaders\":[\"*\"],\"ExposeHeaders\":[\"ETag\"],\"MaxAgeSeconds\":3600}]}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "Bucket secret key.",
                      "defaultValue": "${{Bucket.SECRET_ACCESS_KEY}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "proxy",
      "method": "GET",
      "path": "/proxy-health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 12,
    "needs_volume": true
  },
  "generated_at": "2026-10-11T16:14:40.554Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-10-11T14:43:22.963Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_d42898f6395f4a559f57",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ]
  }
}
