{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b7af17ad-f0fc-4301-9058-a2dd8d166e1b",
    "slug": "outline-wiki",
    "name": "Outline Wiki",
    "description": "Fast, collaborative knowledge base and wiki for your team.",
    "url": "https://railway.com/deploy/outline-wiki",
    "upstream": {
      "image": "outlinewiki/outline:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "tcp_ports": [
        5432
      ],
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        6379
      ],
      "http": false
    },
    {
      "name": "Outline",
      "source": {
        "image": "outlinewiki/outline:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "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": "DATABASE_PUBLIC_URL",
      "service": "Postgres",
      "description": "Public URL to connect to Postgres database, used by the Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Allow Postgres to cleanly shut down",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Redis server hostname. Auto-injected by Railway.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Redis server port.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Redis authentication username.",
      "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 for REDIS_PASSWORD for client compatibility.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Redis authentication password. Auto-generated on deployment.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Connection string for connecting to Redis externally.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "URL",
      "service": "Outline",
      "description": "Publicly accessible URL of your Outline instance, e.g. https://wiki.mycompany.com",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PORT",
      "service": "Outline",
      "description": "Port Outline listens on.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "NODE_ENV",
      "service": "Outline",
      "description": "Node environment. Should always be production for deployed instances.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "REDIS_URL",
      "service": "Outline",
      "description": "Redis connection URL. Auto-injected from the Redis service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SMTP_HOST",
      "service": "Outline",
      "description": "SMTP server hostname, e.g. smtp.resend.com. Required for invitations and notifications.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SMTP_PORT",
      "service": "Outline",
      "description": "SMTP server port. Usually 465 for TLS or 587 for STARTTLS.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_REGION",
      "service": "Outline",
      "description": "Storage bucket region. Auto-injected from the Railway Bucket service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_S3_ACL",
      "service": "Outline",
      "description": "Access control for uploaded files. Private serves files via signed URLs.",
      "secret": false,
      "strategy": "default",
      "default": "private"
    },
    {
      "key": "SECRET_KEY",
      "service": "Outline",
      "description": "Hex-encoded 32-byte secret key for encrypting session data. Auto-generated on deployment.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "FORCE_HTTPS",
      "service": "Outline",
      "description": "Auto-redirect HTTP to HTTPS. Set to false if SSL is terminated at an external load balancer.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SMTP_SECURE",
      "service": "Outline",
      "description": "Optional. Use TLS for SMTP. Defaults to true. Set to false for STARTTLS on port 587.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DATABASE_URL",
      "service": "Outline",
      "description": "PostgreSQL connection URL. Auto-injected from the Postgres service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FILE_STORAGE",
      "service": "Outline",
      "description": "Storage backend for file uploads. Set to s3 for S3-compatible services, or local to store on disk.",
      "secret": false,
      "strategy": "default",
      "default": "s3"
    },
    {
      "key": "UTILS_SECRET",
      "service": "Outline",
      "description": "Hex-encoded 32-byte secret key for utility functions. Auto-generated on deployment.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SMTP_PASSWORD",
      "service": "Outline",
      "description": "SMTP authentication password.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SMTP_USERNAME",
      "service": "Outline",
      "description": "SMTP authentication username.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ENABLE_UPDATES",
      "service": "Outline",
      "description": "Send anonymized statistics to the maintainers to check for updates.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SMTP_FROM_EMAIL",
      "service": "Outline",
      "description": "Sender address for outgoing emails. Supports mailbox format, e.g. Outline <noreply@mycompany.com>",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WEB_CONCURRENCY",
      "service": "Outline",
      "description": "Number of server processes to spawn. Divide available memory by 512 for a rough estimate.",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "GOOGLE_CLIENT_ID",
      "service": "Outline",
      "description": "Google OAuth client ID. Required if using Google as your authentication provider.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "Outline",
      "description": "Storage access key ID. Auto-injected from the Railway Bucket service.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GOOGLE_CLIENT_SECRET",
      "service": "Outline",
      "description": "Google OAuth client secret. Required if using Google as your authentication provider.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "Outline",
      "description": "Storage secret access key. Auto-injected from the Railway Bucket service.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_S3_FORCE_PATH_STYLE",
      "service": "Outline",
      "description": "Use path-style S3 URLs. Required for Railway Buckets and most S3-compatible services.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "AWS_S3_UPLOAD_BUCKET_URL",
      "service": "Outline",
      "description": "Storage endpoint URL. Auto-injected from the Railway Bucket service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_S3_UPLOAD_BUCKET_NAME",
      "service": "Outline",
      "description": "Storage bucket name. Auto-injected from the Railway Bucket service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FILE_STORAGE_UPLOAD_MAX_SIZE",
      "service": "Outline",
      "description": "Maximum upload size in bytes. Default is 26214400 (25MB).",
      "secret": false,
      "strategy": "default",
      "default": "26214400"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "outline-wiki"
      }
    },
    "cli": "railway deploy --template outline-wiki",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b7af17ad-f0fc-4301-9058-a2dd8d166e1b",
            "serializedConfig": {
              "buckets": {
                "2a14eb76-3676-4441-9dd3-96b4cbe474c7": {
                  "name": "Storage"
                }
              },
              "services": {
                "5efba0e9-1ddd-43d6-ad33-27f242f5d2d9": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {
                    "requiredMountPath": "/var/lib/postgresql/data"
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:17"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Port to connect to Postgres.",
                      "defaultValue": "5432"
                    },
                    "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_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "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_PUBLIC_URL": {
                      "description": "Public URL to connect to Postgres database, used by the Data panel.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Allow Postgres to cleanly shut down",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "5efba0e9-1ddd-43d6-ad33-27f242f5d2d9": {
                      "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."
                  }
                },
                "f65a3abf-2b10-4d60-8642-3f43068654f9": {
                  "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\""
                  },
                  "source": {
                    "image": "redis:8.2.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Redis server hostname. Auto-injected by Railway.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Redis server port.",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Redis authentication username.",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Connection string for connecting to Redis using the private network.",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Alias for REDIS_PASSWORD for client compatibility.",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis authentication password. Auto-generated on deployment.",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "description": "Connection string for connecting to Redis externally.",
                      "defaultValue": "redis://default:${{ REDIS_PASSWORD }}@${{ RAILWAY_TCP_PROXY_DOMAIN }}:${{ RAILWAY_TCP_PROXY_PORT }}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    }
                  },
                  "volumeMounts": {
                    "f65a3abf-2b10-4d60-8642-3f43068654f9": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                },
                "fa2dbb6a-096e-4f2f-8afa-01c1085728cb": {
                  "icon": "https://devicons.railway.com/i/outline.svg",
                  "name": "Outline",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/_health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "outlinewiki/outline:latest"
                  },
                  "variables": {
                    "URL": {
                      "isOptional": false,
                      "description": "Publicly accessible URL of your Outline instance, e.g. https://wiki.mycompany.com",
                      "defaultValue": "{{URL}}"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Outline listens on.",
                      "defaultValue": "3000"
                    },
                    "NODE_ENV": {
                      "isOptional": false,
                      "description": "Node environment. Should always be production for deployed instances.",
                      "defaultValue": "production"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis connection URL. Auto-injected from the Redis service.",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "SMTP_HOST": {
                      "isOptional": false,
                      "description": "SMTP server hostname, e.g. smtp.resend.com. Required for invitations and notifications.",
                      "defaultValue": "{{SMTP_HOST}}"
                    },
                    "SMTP_PORT": {
                      "isOptional": false,
                      "description": "SMTP server port. Usually 465 for TLS or 587 for STARTTLS.",
                      "defaultValue": "{{SMTP_PORT}}"
                    },
                    "AWS_REGION": {
                      "isOptional": false,
                      "description": "Storage bucket region. Auto-injected from the Railway Bucket service.",
                      "defaultValue": "${{Storage.REGION}}"
                    },
                    "AWS_S3_ACL": {
                      "isOptional": false,
                      "description": "Access control for uploaded files. Private serves files via signed URLs.",
                      "defaultValue": "private"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "Hex-encoded 32-byte secret key for encrypting session data. Auto-generated on deployment.",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "FORCE_HTTPS": {
                      "isOptional": false,
                      "description": "Auto-redirect HTTP to HTTPS. Set to false if SSL is terminated at an external load balancer.",
                      "defaultValue": "true"
                    },
                    "SMTP_SECURE": {
                      "isOptional": true,
                      "description": "Optional. Use TLS for SMTP. Defaults to true. Set to false for STARTTLS on port 587.",
                      "defaultValue": "true"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "PostgreSQL connection URL. Auto-injected from the Postgres service.",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "FILE_STORAGE": {
                      "isOptional": false,
                      "description": "Storage backend for file uploads. Set to s3 for S3-compatible services, or local to store on disk.",
                      "defaultValue": "s3"
                    },
                    "UTILS_SECRET": {
                      "isOptional": false,
                      "description": "Hex-encoded 32-byte secret key for utility functions. Auto-generated on deployment.",
                      "defaultValue": "{{UTILS_SECRET}}"
                    },
                    "OIDC_AUTH_URI": {
                      "isOptional": true,
                      "description": "Optional. OIDC authorization endpoint URI.",
                      "defaultValue": ""
                    },
                    "SMTP_PASSWORD": {
                      "isOptional": false,
                      "description": "SMTP authentication password.",
                      "defaultValue": "{{SMTP_PASSWORD}}"
                    },
                    "SMTP_USERNAME": {
                      "isOptional": false,
                      "description": "SMTP authentication username.",
                      "defaultValue": "{{SMTP_USERNAME}}"
                    },
                    "ENABLE_UPDATES": {
                      "isOptional": false,
                      "description": "Send anonymized statistics to the maintainers to check for updates.",
                      "defaultValue": "true"
                    },
                    "OIDC_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Optional. OIDC client ID. Required if using a generic OIDC provider for authentication.",
                      "defaultValue": ""
                    },
                    "OIDC_TOKEN_URI": {
                      "isOptional": true,
                      "description": "Optional. OIDC token endpoint URI.",
                      "defaultValue": ""
                    },
                    "AZURE_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Optional. Microsoft Entra client ID. Required if using Microsoft as your authentication provider.",
                      "defaultValue": ""
                    },
                    "SLACK_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Optional. Slack OAuth client ID. Required if using Slack as your authentication provider.",
                      "defaultValue": ""
                    },
                    "SMTP_FROM_EMAIL": {
                      "isOptional": false,
                      "description": "Sender address for outgoing emails. Supports mailbox format, e.g. Outline <noreply@mycompany.com>",
                      "defaultValue": "{{SMTP_FROM_EMAIL}}"
                    },
                    "WEB_CONCURRENCY": {
                      "isOptional": false,
                      "description": "Number of server processes to spawn. Divide available memory by 512 for a rough estimate.",
                      "defaultValue": "2"
                    },
                    "GOOGLE_CLIENT_ID": {
                      "isOptional": false,
                      "description": "Google OAuth client ID. Required if using Google as your authentication provider.",
                      "defaultValue": "{{GOOGLE_CLIENT_ID}}"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Storage access key ID. Auto-injected from the Railway Bucket service.",
                      "defaultValue": "${{Storage.ACCESS_KEY_ID}}"
                    },
                    "DISCORD_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Optional. Discord OAuth client ID. Required if using Discord as your authentication provider.",
                      "defaultValue": ""
                    },
                    "DISCORD_SERVER_ID": {
                      "isOptional": true,
                      "description": "Optional. Discord server ID to restrict sign-in to members of a specific server.",
                      "defaultValue": ""
                    },
                    "OIDC_DISPLAY_NAME": {
                      "isOptional": true,
                      "description": "Optional. Display name shown on the sign-in button for your OIDC provider.",
                      "defaultValue": ""
                    },
                    "OIDC_USERINFO_URI": {
                      "isOptional": true,
                      "description": "Optional. OIDC userinfo endpoint URI.",
                      "defaultValue": ""
                    },
                    "OIDC_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Optional. OIDC client secret. Required if using a generic OIDC provider for authentication.",
                      "defaultValue": ""
                    },
                    "AZURE_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Optional. Microsoft Entra client secret. Required if using Microsoft as your authentication provider.",
                      "defaultValue": ""
                    },
                    "SLACK_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Optional. Slack OAuth client secret. Required if using Slack as your authentication provider.",
                      "defaultValue": ""
                    },
                    "DISCORD_SERVER_ROLES": {
                      "isOptional": true,
                      "description": "Optional. Comma-separated Discord role IDs to restrict sign-in to specific roles.",
                      "defaultValue": ""
                    },
                    "GOOGLE_CLIENT_SECRET": {
                      "isOptional": false,
                      "description": "Google OAuth client secret. Required if using Google as your authentication provider.",
                      "defaultValue": "{{GOOGLE_CLIENT_SECRET}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Storage secret access key. Auto-injected from the Railway Bucket service.",
                      "defaultValue": "${{Storage.SECRET_ACCESS_KEY}}"
                    },
                    "AZURE_RESOURCE_APP_ID": {
                      "isOptional": true,
                      "description": "Optional. Microsoft Entra resource app ID. Required if using Microsoft as your authentication provider.",
                      "defaultValue": ""
                    },
                    "DISCORD_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Optional. Discord OAuth client secret. Required if using Discord as your authentication provider.",
                      "defaultValue": ""
                    },
                    "AWS_S3_FORCE_PATH_STYLE": {
                      "isOptional": false,
                      "description": "Use path-style S3 URLs. Required for Railway Buckets and most S3-compatible services.",
                      "defaultValue": "true"
                    },
                    "AWS_S3_UPLOAD_BUCKET_URL": {
                      "isOptional": false,
                      "description": "Storage endpoint URL. Auto-injected from the Railway Bucket service.",
                      "defaultValue": "${{Storage.ENDPOINT}}"
                    },
                    "AWS_S3_UPLOAD_BUCKET_NAME": {
                      "isOptional": false,
                      "description": "Storage bucket name. Auto-injected from the Railway Bucket service.",
                      "defaultValue": "${{Storage.BUCKET}}"
                    },
                    "FILE_STORAGE_UPLOAD_MAX_SIZE": {
                      "isOptional": false,
                      "description": "Maximum upload size in bytes. Default is 26214400 (25MB).",
                      "defaultValue": "26214400"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Outline",
      "method": "GET",
      "path": "/_health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0"
}
