{
  "manifest_version": "1.0.0",
  "template": {
    "id": "382bcc24-9b1c-4c3f-b08d-fc83f73e9566",
    "slug": "MrCqPF",
    "name": "Plane",
    "description": "Open-source project management that unlocks customer value",
    "url": "https://railway.com/deploy/MrCqPF",
    "upstream": {
      "repo_url": "https://github.com/railwayapp-templates/plane-caddy-proxy"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Worker",
      "source": {
        "image": "makeplane/plane-backend"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "bitnami/redis"
      },
      "needs_volume": true,
      "volume_mount_path": "/bitnami",
      "tcp_ports": [
        6379
      ],
      "http": false
    },
    {
      "name": "API",
      "source": {
        "image": "makeplane/plane-backend"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Plane",
      "source": {
        "repo": "https://github.com/railwayapp-templates/plane-caddy-proxy"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Space",
      "source": {
        "image": "makeplane/plane-space"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Web",
      "source": {
        "image": "makeplane/plane-frontend"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Beat Worker",
      "source": {
        "image": "makeplane/plane-backend"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Admin",
      "source": {
        "image": "makeplane/plane-admin"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Console",
      "source": {
        "repo": "https://github.com/railwayapp-templates/minio-console"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Bucket",
      "source": {
        "image": "minio/minio:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "tcp_ports": [
        5432
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REDIS_URL",
      "service": "Worker",
      "description": "Private Redis URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY",
      "service": "Worker",
      "description": "Secret Key from API",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "Worker",
      "description": "Private Postgres URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "Worker",
      "description": "<a href=\"https://docs.railway.app/guides/private-networking#workaround-for-alpine-based-images\">Workaround for Alpine-based images</a>",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Railway Private Domain Name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Port to connect to Redis, used by the Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Default user to connect to Redis, needed for the Data panel.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "URL to connect to Redis, used for Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Password to connect to Redis, needed for the Data panel.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Password to connect to Redis.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Redis",
      "description": "Start Redis process as root to allow for writing to the volume",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "REDIS_PRIVATE_URL",
      "service": "Redis",
      "description": "URL to connect to Redis over private network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "RAILWAY_RUN_AS_ROOT",
      "service": "Redis",
      "description": "Start Redis process as root to allow for writing to the volume",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PORT",
      "service": "API",
      "description": "Port for API to listen on",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "WEB_URL",
      "service": "API",
      "description": "Public domain from Plane service",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "REDIS_URL",
      "service": "API",
      "description": "Private Redis URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "USE_MINIO",
      "service": "API",
      "description": "Use Minio or AWS S3",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "MACHINE_ID",
      "service": "API",
      "description": "A unique machine ID",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SECRET_KEY",
      "service": "API",
      "description": "Unique Secret Key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_URL",
      "service": "API",
      "description": "Private Postgres URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GUNICORN_WORKERS",
      "service": "API",
      "description": "Quantity of Gunicorn Workers",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "API",
      "description": "Minio or S3 Root User",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_S3_BUCKET_NAME",
      "service": "API",
      "description": "Minio or S3 Bucket",
      "secret": false,
      "strategy": "default",
      "default": "uploads"
    },
    {
      "key": "AWS_S3_ENDPOINT_URL",
      "service": "API",
      "description": "Minio or S3 Bucket Endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CORS_ALLOWED_ORIGINS",
      "service": "API",
      "description": "CORS Whitelisted Origins",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "API",
      "description": "Minio Root Password or S3 Secret Access Key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "API",
      "description": "Enable Faster Private Network Initialization",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "BUCKET_NAME",
      "service": "Plane",
      "description": "Minio Bucket Name for Object Storage",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "API_ENDPOINT",
      "service": "Plane",
      "description": "Private Domain for API",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "WEB_ENDPOINT",
      "service": "Plane",
      "description": "Private Domain for Frontend",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ADMIN_ENDPOINT",
      "service": "Plane",
      "description": "Private Domain for Admin",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "BUCKET_ENDPOINT",
      "service": "Plane",
      "description": "Private Endpoint for Minio Bucket",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SPACES_ENDPOINT",
      "service": "Plane",
      "description": "Private Domain for Spaces",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "Plane",
      "description": "<a href=\"https://docs.railway.app/guides/private-networking#workaround-for-alpine-based-images\">Workaround for Alpine-based images</a>",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PORT",
      "service": "Space",
      "description": "Port for Spaces to listen on",
      "secret": false,
      "strategy": "default",
      "default": "3001"
    },
    {
      "key": "WEB_URL",
      "service": "Space",
      "description": "Public domain from Plane service",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "HOSTNAME",
      "service": "Space",
      "description": "IPv6 Hostname",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "SECRET_KEY",
      "service": "Space",
      "description": "Secret Key from API",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "Web",
      "description": "Port for Frontend to Listen on",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "WEB_URL",
      "service": "Web",
      "description": "Public domain from Plane service",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "HOSTNAME",
      "service": "Web",
      "description": "IPv6 Hostname",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "NEXT_PUBLIC_DEPLOY_URL",
      "service": "Web",
      "description": "Public domain of the Plane service",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "Web",
      "description": "<a href=\"https://docs.railway.app/guides/private-networking#workaround-for-alpine-based-images\">Workaround for Alpine-based images</a>",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "REDIS_URL",
      "service": "Beat Worker",
      "description": "Private Redis URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY",
      "service": "Beat Worker",
      "description": "Secret Key from API",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "Beat Worker",
      "description": "Private Postgres URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "Beat Worker",
      "description": "<a href=\"https://docs.railway.app/guides/private-networking#workaround-for-alpine-based-images\">Workaround for Alpine-based images</a>",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PORT",
      "service": "Admin",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "WEB_URL",
      "service": "Admin",
      "description": "Provide a value for WEB_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "HOSTNAME",
      "service": "Admin",
      "description": "Provide a value for HOSTNAME.",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "REDIS_URL",
      "service": "Admin",
      "description": "Provide a value for REDIS_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "USE_MINIO",
      "service": "Admin",
      "description": "Provide a value for USE_MINIO.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "SECRET_KEY",
      "service": "Admin",
      "description": "Provide a value for SECRET_KEY.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "Admin",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "Admin",
      "description": "Provide a value for AWS_ACCESS_KEY_ID.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_S3_BUCKET_NAME",
      "service": "Admin",
      "description": "Provide a value for AWS_S3_BUCKET_NAME.",
      "secret": false,
      "strategy": "default",
      "default": "uploads"
    },
    {
      "key": "AWS_S3_ENDPOINT_URL",
      "service": "Admin",
      "description": "Provide a value for AWS_S3_ENDPOINT_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CORS_ALLOWED_ORIGINS",
      "service": "Admin",
      "description": "Provide a value for CORS_ALLOWED_ORIGINS.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "Admin",
      "description": "Provide a value for AWS_SECRET_ACCESS_KEY.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "Admin",
      "description": "Provide a value for ENABLE_ALPINE_PRIVATE_NETWORKING.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PORT",
      "service": "Console",
      "description": "Port for Minio Console to Listen On",
      "secret": false,
      "strategy": "default",
      "default": "9090"
    },
    {
      "key": "Password",
      "service": "Console",
      "description": "Generated Minio Root Password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "USERNAME",
      "service": "Console",
      "description": "Generated Minio Root User",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CONSOLE_MINIO_SERVER",
      "service": "Console",
      "description": "Private URL for Minio Bucket",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "Bucket",
      "description": "Private Port for Minio Bucket to Listen on",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_ROOT_USER",
      "service": "Bucket",
      "description": "Generated Minio Root User",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MINIO_PUBLIC_HOST",
      "service": "Bucket",
      "description": "Public URL for Bucket Access",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MINIO_PUBLIC_PORT",
      "service": "Bucket",
      "description": "Public Port for Minio Bucket to Listen on",
      "secret": false,
      "strategy": "default",
      "default": "443"
    },
    {
      "key": "MINIO_PRIVATE_HOST",
      "service": "Bucket",
      "description": "Private Domain for Minio Bucket",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MINIO_PRIVATE_PORT",
      "service": "Bucket",
      "description": "Private Port for Minio Bucket to Listen on",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "MINIO_ROOT_PASSWORD",
      "service": "Bucket",
      "description": "Generated Minio Root Password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MINIO_PUBLIC_ENDPOINT",
      "service": "Bucket",
      "description": "Public Minio Bucket Endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_PRIVATE_ENDPOINT",
      "service": "Bucket",
      "description": "Private Minio Bucket Endpoint",
      "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 TCP Proxy Domain",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "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": "reference_variable"
    },
    {
      "key": "PGPRIVATEHOST",
      "service": "Postgres",
      "description": "Railway Private Domain",
      "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": "DATABASE_PRIVATE_URL",
      "service": "Postgres",
      "description": "URL to connect to Postgres database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "MrCqPF"
      }
    },
    "cli": "railway deploy --template MrCqPF",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "382bcc24-9b1c-4c3f-b08d-fc83f73e9566",
            "serializedConfig": {
              "services": {
                "2c4e339f-f0a6-44d7-905f-468f3c174dcf": {
                  "icon": "https://cdn-icons-png.flaticon.com/512/3944/3944146.png",
                  "name": "Worker",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"python manage.py wait_for_db && python manage.py wait_for_migrations && celery -A plane worker -l info --concurrency 4\""
                  },
                  "source": {
                    "image": "makeplane/plane-backend"
                  },
                  "variables": {
                    "REDIS_URL": {
                      "description": "Private Redis URL",
                      "defaultValue": "${{Redis.REDIS_PRIVATE_URL}}"
                    },
                    "SECRET_KEY": {
                      "description": "Secret Key from API",
                      "defaultValue": "${{API.SECRET_KEY}}"
                    },
                    "DATABASE_URL": {
                      "description": "Private Postgres URL",
                      "defaultValue": "${{Postgres.DATABASE_PRIVATE_URL}}"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "description": "<a href=\"https://docs.railway.app/guides/private-networking#workaround-for-alpine-based-images\">Workaround for Alpine-based images</a>",
                      "defaultValue": "true"
                    }
                  }
                },
                "47cc52b1-8831-4394-a440-aa6221f39b3e": {
                  "icon": "https://devicons.railway.app/i/redis.svg",
                  "name": "Redis",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "image": "bitnami/redis"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{ RAILWAY_TCP_PROXY_DOMAIN }}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Port to connect to Redis, used by the Data panel.",
                      "defaultValue": "${{ RAILWAY_TCP_PROXY_PORT }}"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Default user to connect to Redis, needed for the Data panel.",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Redis, used for Data panel.",
                      "defaultValue": "redis://default:${{ REDIS_PASSWORD }}@${{ RAILWAY_TCP_PROXY_DOMAIN }}:${{ RAILWAY_TCP_PROXY_PORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Password to connect to Redis, needed for the Data panel.",
                      "defaultValue": "${{ REDIS_PASSWORD }}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Password to connect to Redis.",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Start Redis process as root to allow for writing to the volume",
                      "defaultValue": "0"
                    },
                    "REDIS_PRIVATE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Redis over private network.",
                      "defaultValue": "redis://default:${{ REDIS_PASSWORD }}@${{ RAILWAY_PRIVATE_DOMAIN }}:6379"
                    },
                    "RAILWAY_RUN_AS_ROOT": {
                      "isOptional": false,
                      "description": "Start Redis process as root to allow for writing to the volume",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    }
                  },
                  "volumeMounts": {
                    "47cc52b1-8831-4394-a440-aa6221f39b3e": {
                      "mountPath": "/bitnami"
                    }
                  }
                },
                "639f1eec-dfed-41a7-9b7c-48e490faeacd": {
                  "icon": "https://cdn-icons-png.flaticon.com/512/8297/8297437.png",
                  "name": "API",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"python manage.py wait_for_db && python manage.py migrate && python manage.py register_instance ${MACHINE_ID} && python manage.py configure_instance && python manage.py create_bucket && python manage.py clear_cache; gunicorn -w ${GUNICORN_WORKERS} -k uvicorn.workers.UvicornWorker plane.asgi:application --bind [::]:${PORT} --max-requests 1200 --max-requests-jitter 1000 --access-logfile -\"",
                    "healthcheckPath": "/api/instances/"
                  },
                  "source": {
                    "image": "makeplane/plane-backend"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Port for API to listen on",
                      "defaultValue": "8000"
                    },
                    "WEB_URL": {
                      "description": "Public domain from Plane service",
                      "defaultValue": "https://${{Plane.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "REDIS_URL": {
                      "description": "Private Redis URL",
                      "defaultValue": "${{Redis.REDIS_PRIVATE_URL}}"
                    },
                    "USE_MINIO": {
                      "description": "Use Minio or AWS S3",
                      "defaultValue": "1"
                    },
                    "MACHINE_ID": {
                      "isOptional": false,
                      "description": "A unique machine ID",
                      "defaultValue": "{{MACHINE_ID}}"
                    },
                    "SECRET_KEY": {
                      "description": "Unique Secret Key",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "DATABASE_URL": {
                      "description": "Private Postgres URL",
                      "defaultValue": "${{Postgres.DATABASE_PRIVATE_URL}}"
                    },
                    "GUNICORN_WORKERS": {
                      "description": "Quantity of Gunicorn Workers",
                      "defaultValue": "4"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "description": "Minio or S3 Root User",
                      "defaultValue": "${{Bucket.MINIO_ROOT_USER}}"
                    },
                    "AWS_S3_BUCKET_NAME": {
                      "description": "Minio or S3 Bucket",
                      "defaultValue": "uploads"
                    },
                    "AWS_S3_ENDPOINT_URL": {
                      "description": "Minio or S3 Bucket Endpoint",
                      "defaultValue": "${{Bucket.MINIO_PRIVATE_ENDPOINT}}"
                    },
                    "CORS_ALLOWED_ORIGINS": {
                      "description": "CORS Whitelisted Origins",
                      "defaultValue": "https://${{Plane.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "description": "Minio Root Password or S3 Secret Access Key",
                      "defaultValue": "${{Bucket.MINIO_ROOT_PASSWORD}}"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "description": "Enable Faster Private Network Initialization",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {}
                },
                "6f0ef562-e6c6-4285-ba0a-6a5b5d0e740a": {
                  "icon": "https://mintlify.s3-us-west-1.amazonaws.com/planesoftwareinc/logo/light.svg",
                  "name": "Plane",
                  "deploy": {
                    "healthcheckPath": "/api/instances/"
                  },
                  "source": {
                    "repo": "railwayapp-templates/plane-caddy-proxy",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "BUCKET_NAME": {
                      "description": "Minio Bucket Name for Object Storage",
                      "defaultValue": "${{API.AWS_S3_BUCKET_NAME}}"
                    },
                    "API_ENDPOINT": {
                      "description": "Private Domain for API",
                      "defaultValue": "http://${{API.RAILWAY_PRIVATE_DOMAIN}}:${{API.PORT}}"
                    },
                    "WEB_ENDPOINT": {
                      "description": "Private Domain for Frontend",
                      "defaultValue": "http://${{Web.RAILWAY_PRIVATE_DOMAIN}}:${{Web.PORT}}"
                    },
                    "ADMIN_ENDPOINT": {
                      "isOptional": false,
                      "description": "Private Domain for Admin",
                      "defaultValue": "http://${{Admin.RAILWAY_PRIVATE_DOMAIN}}:${{Admin.PORT}}"
                    },
                    "BUCKET_ENDPOINT": {
                      "description": "Private Endpoint for Minio Bucket",
                      "defaultValue": "${{Bucket.MINIO_PRIVATE_ENDPOINT}}"
                    },
                    "SPACES_ENDPOINT": {
                      "description": "Private Domain for Spaces",
                      "defaultValue": "http://${{Space.RAILWAY_PRIVATE_DOMAIN}}:${{Space.PORT}}"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "description": "<a href=\"https://docs.railway.app/guides/private-networking#workaround-for-alpine-based-images\">Workaround for Alpine-based images</a>",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "7098f895-4cc7-4c9e-a6d7-d3a8fa24d00e": {
                  "icon": "https://cdn-icons-png.flaticon.com/512/1067/1067357.png",
                  "name": "Space",
                  "deploy": {
                    "startCommand": "node space/server.js space",
                    "healthcheckPath": "/spaces/site.webmanifest.json"
                  },
                  "source": {
                    "image": "makeplane/plane-space"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Port for Spaces to listen on",
                      "defaultValue": "3001"
                    },
                    "WEB_URL": {
                      "description": "Public domain from Plane service",
                      "defaultValue": "https://${{Plane.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "HOSTNAME": {
                      "description": "IPv6 Hostname",
                      "defaultValue": "::"
                    },
                    "SECRET_KEY": {
                      "description": "Secret Key from API",
                      "defaultValue": "${{API.SECRET_KEY}}"
                    }
                  },
                  "networking": {}
                },
                "82ec9365-64ff-4a53-8ff3-b06035a00c2e": {
                  "icon": "https://cdn-icons-png.flaticon.com/512/10751/10751558.png",
                  "name": "Web",
                  "deploy": {
                    "startCommand": "node web/server.js web"
                  },
                  "source": {
                    "image": "makeplane/plane-frontend"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Port for Frontend to Listen on",
                      "defaultValue": "3000"
                    },
                    "WEB_URL": {
                      "description": "Public domain from Plane service",
                      "defaultValue": "https://${{Plane.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "HOSTNAME": {
                      "description": "IPv6 Hostname",
                      "defaultValue": "::"
                    },
                    "NEXT_PUBLIC_DEPLOY_URL": {
                      "description": "Public domain of the Plane service",
                      "defaultValue": "https://${{Plane.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "description": "<a href=\"https://docs.railway.app/guides/private-networking#workaround-for-alpine-based-images\">Workaround for Alpine-based images</a>",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {}
                },
                "9200ea60-2289-4ef1-83d6-8b1daabebaa8": {
                  "icon": "https://cdn-icons-png.flaticon.com/512/3944/3944146.png",
                  "name": "Beat Worker",
                  "deploy": {
                    "startCommand": "./bin/docker-entrypoint-beat.sh"
                  },
                  "source": {
                    "image": "makeplane/plane-backend"
                  },
                  "variables": {
                    "REDIS_URL": {
                      "description": "Private Redis URL",
                      "defaultValue": "${{Redis.REDIS_PRIVATE_URL}}"
                    },
                    "SECRET_KEY": {
                      "description": "Secret Key from API",
                      "defaultValue": "${{API.SECRET_KEY}}"
                    },
                    "DATABASE_URL": {
                      "description": "Private Postgres URL",
                      "defaultValue": "${{Postgres.DATABASE_PRIVATE_URL}}"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "description": "<a href=\"https://docs.railway.app/guides/private-networking#workaround-for-alpine-based-images\">Workaround for Alpine-based images</a>",
                      "defaultValue": "true"
                    }
                  }
                },
                "aa205f4c-f3b1-4d96-adb3-2892024a0005": {
                  "icon": "https://cdn-icons-png.flaticon.com/512/5322/5322033.png",
                  "name": "Admin",
                  "deploy": {
                    "startCommand": "node admin/server.js admin"
                  },
                  "source": {
                    "image": "makeplane/plane-admin"
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "3000"
                    },
                    "WEB_URL": {
                      "defaultValue": "https://${{Plane.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "HOSTNAME": {
                      "defaultValue": "::"
                    },
                    "REDIS_URL": {
                      "defaultValue": "${{Redis.REDIS_PRIVATE_URL}}"
                    },
                    "USE_MINIO": {
                      "defaultValue": "1"
                    },
                    "SECRET_KEY": {
                      "defaultValue": "${{API.SECRET_KEY}}"
                    },
                    "DATABASE_URL": {
                      "defaultValue": "${{Postgres.DATABASE_PRIVATE_URL}}"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "defaultValue": "${{Bucket.MINIO_ROOT_USER}}"
                    },
                    "AWS_S3_BUCKET_NAME": {
                      "defaultValue": "uploads"
                    },
                    "AWS_S3_ENDPOINT_URL": {
                      "defaultValue": "${{Bucket.MINIO_PRIVATE_ENDPOINT}}"
                    },
                    "CORS_ALLOWED_ORIGINS": {
                      "defaultValue": "https://${{Plane.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "defaultValue": "${{Bucket.MINIO_ROOT_PASSWORD}}"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "defaultValue": "true"
                    }
                  },
                  "networking": {}
                },
                "cff91cda-bd37-4e6e-aa63-4eb9eb2993d9": {
                  "icon": "https://res.cloudinary.com/h5kvzw/image/upload/v1706062979/MINIO_Bird_vbtpet.png",
                  "name": "Console",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec console server --host 0.0.0.0 --port $PORT\"",
                    "healthcheckPath": "/login"
                  },
                  "source": {
                    "repo": "railwayapp-templates/minio-console",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port for Minio Console to Listen On",
                      "defaultValue": "9090"
                    },
                    "Password": {
                      "isOptional": false,
                      "description": "Generated Minio Root Password",
                      "defaultValue": "${{Bucket.MINIO_ROOT_PASSWORD}}"
                    },
                    "USERNAME": {
                      "isOptional": false,
                      "description": "Generated Minio Root User",
                      "defaultValue": "${{Bucket.MINIO_ROOT_USER}}"
                    },
                    "CONSOLE_MINIO_SERVER": {
                      "isOptional": false,
                      "description": "Private URL for Minio Bucket",
                      "defaultValue": "${{Bucket.MINIO_PRIVATE_ENDPOINT}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "e6b98916-4c59-4210-b1a7-d62ccb387c0c": {
                  "icon": "https://res.cloudinary.com/h5kvzw/image/upload/v1706062979/MINIO_Bird_vbtpet.png",
                  "name": "Bucket",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"minio server --address [::]:$MINIO_PRIVATE_PORT $RAILWAY_VOLUME_MOUNT_PATH\""
                  },
                  "source": {
                    "image": "minio/minio:latest"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Private Port for Minio Bucket to Listen on",
                      "defaultValue": "${{MINIO_PRIVATE_PORT}}"
                    },
                    "MINIO_ROOT_USER": {
                      "description": "Generated Minio Root User",
                      "defaultValue": "{{MINIO_ROOT_USER}}"
                    },
                    "MINIO_PUBLIC_HOST": {
                      "description": "Public URL for Bucket Access",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MINIO_PUBLIC_PORT": {
                      "description": "Public Port for Minio Bucket to Listen on",
                      "defaultValue": "443"
                    },
                    "MINIO_PRIVATE_HOST": {
                      "description": "Private Domain for Minio Bucket",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MINIO_PRIVATE_PORT": {
                      "description": "Private Port for Minio Bucket to Listen on",
                      "defaultValue": "9000"
                    },
                    "MINIO_ROOT_PASSWORD": {
                      "description": "Generated Minio Root Password",
                      "defaultValue": "{{MINIO_ROOT_PASSWORD}}"
                    },
                    "MINIO_PUBLIC_ENDPOINT": {
                      "description": "Public Minio Bucket Endpoint",
                      "defaultValue": "https://${{MINIO_PUBLIC_HOST}}:${{MINIO_PUBLIC_PORT}}"
                    },
                    "MINIO_PRIVATE_ENDPOINT": {
                      "description": "Private Minio Bucket Endpoint",
                      "defaultValue": "http://${{MINIO_PRIVATE_HOST}}:${{MINIO_PRIVATE_PORT}}"
                    }
                  },
                  "networking": {},
                  "volumeMounts": {
                    "e6b98916-4c59-4210-b1a7-d62ccb387c0c": {
                      "mountPath": "/data"
                    }
                  }
                },
                "fe4dc41d-9adb-4188-b304-0ab37165464f": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:latest"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Railway TCP Proxy Domain",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Required variable for the data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database created when image is started.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Postgres database",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "PGPRIVATEHOST": {
                      "isOptional": false,
                      "description": "Railway Private Domain",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "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": false,
                      "description": "Password to connect to DB",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PRIVATE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Postgres database",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    }
                  },
                  "volumeMounts": {
                    "fe4dc41d-9adb-4188-b304-0ab37165464f": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  },
                  "haTemplateCode": "postgres-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxy",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "Routes traffic to the primary",
                      "defaultValue": 3
                    },
                    "replica": {
                      "label": "Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5,
                        6,
                        7
                      ],
                      "nodeLabel": "Postgres",
                      "description": "Streaming replicas for automatic failover",
                      "defaultValue": 2
                    },
                    "internal": {
                      "label": "Coordinator Nodes",
                      "options": [
                        3,
                        5,
                        7,
                        9
                      ],
                      "nodeLabel": "etcd",
                      "defaultValue": 3
                    },
                    "description": "This will convert your Postgres database to an HA cluster with Patroni failover and etcd consensus."
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Plane",
      "method": "GET",
      "path": "/api/instances/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 11,
    "needs_volume": true
  },
  "generated_at": "2026-09-06T17:54:17.775Z",
  "generator_version": "0.1.0"
}
