{
  "manifest_version": "1.0.0",
  "template": {
    "id": "05f58aac-2109-44c6-82e1-8a55faf39fcf",
    "slug": "LNLiaz",
    "name": "Outline Knowledge Base",
    "description": "Beautiful, realtime collaborative, feature packed, and markdown compatible.",
    "url": "https://railway.com/deploy/LNLiaz",
    "upstream": {
      "image": "outlinewiki/outline"
    }
  },
  "services": [
    {
      "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
    },
    {
      "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"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/outline/data",
      "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": "REDISHOST",
      "service": "Redis",
      "description": "The hostname or IP address of the Redis server (e.g., redis.railway.internal or an external host like redis.example.com).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "The port number on which the Redis server is listening (default is usually 6379 for non-TLS connections).",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "The username for authenticating to the Redis server (required for ACL-enabled Redis instances; often blank or \"default\" if not using ACLs).",
      "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": "The password for authenticating to the Redis server (used in combination with REDISUSER for ACL authentication).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Alternative or legacy name for the Redis authentication password (some clients/templates use this instead of REDISPASSWORD; Outline's underlying ioredis library supports password via this or in the URL).",
      "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": "URL should point to the fully qualified, publicly accessible URL. If using a proxy the port in URL and PORT may be different.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PORT",
      "service": "Outline",
      "description": "URL should point to the fully qualified, publicly accessible URL. If using a proxy the port in URL and PORT may be different.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "NODE_ENV",
      "service": "Outline",
      "description": "Set Node Environment",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "LOG_LEVEL",
      "service": "Outline",
      "description": "Configure lowest severity level for server logs. Should be one of error, warn, info, http, verbose, debug and silly",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "PGSSLMODE",
      "service": "Outline",
      "description": "Disable SSL for connecting to Postgres",
      "secret": false,
      "strategy": "default",
      "default": "disable"
    },
    {
      "key": "REDIS_URL",
      "service": "Outline",
      "description": "Redis URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SECRET_KEY",
      "service": "Outline",
      "description": "Generate a hex-encoded 64-byte random key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "FORCE_HTTPS",
      "service": "Outline",
      "description": "Auto-redirect to https in production. The default is true but you may set to false if you can be sure that SSL is terminated at an external loadbalancer.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DATABASE_URL",
      "service": "Outline",
      "description": "Postgres Database URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FILE_STORAGE",
      "service": "Outline",
      "description": "Specify what storage system to use. Possible value is one of \"s3\" or \"local\". For \"local\", the avatar images and document attachments will be saved on local disk.",
      "secret": false,
      "strategy": "default",
      "default": "local"
    },
    {
      "key": "UTILS_SECRET",
      "service": "Outline",
      "description": "Generate a unique random key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ENABLE_UPDATES",
      "service": "Outline",
      "description": "Have the installation check for updates by sending anonymized statistics to the maintainers",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Outline",
      "description": "Set Railway Mount Permissions",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "WEB_CONCURRENCY",
      "service": "Outline",
      "description": "How many processes should be spawned. As a reasonable rule divide your servers available memory by 512 for a rough estimate",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "DEFAULT_LANGUAGE",
      "service": "Outline",
      "description": "The default interface language. See translate.getoutline.com for a list of available language codes and their rough percentage translated.",
      "secret": false,
      "strategy": "default",
      "default": "en_US"
    },
    {
      "key": "RATE_LIMITER_ENABLED",
      "service": "Outline",
      "description": "Optionally enable rate limiter at application web server",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RATE_LIMITER_REQUESTS",
      "service": "Outline",
      "description": "Configure default throttling parameters for rate limiter",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "SLACK_MESSAGE_ACTIONS",
      "service": "Outline",
      "description": "https://wiki.generaloutline.com/share/be25efd1-b3ef-4450-b8e5-c4a4fc11e02a",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "FILE_STORAGE_LOCAL_ROOT_DIR",
      "service": "Outline",
      "description": "If \"local\" is configured for FILE_STORAGE above, then this sets the parent directory under which all attachments/images go. Make sure that the process has permissions to create this path and also to write files to it.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FILE_STORAGE_IMPORT_MAX_SIZE",
      "service": "Outline",
      "description": "Override the maximum size of document imports, could be required if you have especially large Word documents with embedded imagery",
      "secret": false,
      "strategy": "default",
      "default": "5120000"
    },
    {
      "key": "FILE_STORAGE_UPLOAD_MAX_SIZE",
      "service": "Outline",
      "description": "Maximum allowed size for the uploaded attachment.",
      "secret": false,
      "strategy": "default",
      "default": "26214400"
    },
    {
      "key": "RATE_LIMITER_DURATION_WINDOW",
      "service": "Outline",
      "description": "Configure default throttling parameters for rate limiter",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "ENABLE_ALPINE_PRIVATE_NETWORKING",
      "service": "Outline",
      "description": "When set to \"true\" or \"1\", enables Outline's private networking optimizations for Alpine-based deployments (e.g., in Railway or similar container platforms). This can improve performance and reduce overhead in private/internal network setups.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE",
      "service": "Outline",
      "description": "Set to \"1\" or \"true\" to suppress the AWS SDK for JavaScript v2 maintenance mode / deprecation warning in console logs. (The v2 SDK is in maintenance mode since 2024 and will reach end-of-support in 2025; this var silences the repeated startup nag message without affecting functionality.)",
      "secret": false,
      "strategy": "default",
      "default": "1"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "LNLiaz"
      }
    },
    "cli": "railway deploy --template LNLiaz",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "05f58aac-2109-44c6-82e1-8a55faf39fcf",
            "serializedConfig": {
              "services": {
                "0ef54594-72ba-4dd2-a006-ceb3f365931e": {
                  "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 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}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "0ef54594-72ba-4dd2-a006-ceb3f365931e": {
                      "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."
                  }
                },
                "2d2dd4c5-19de-4457-8169-a1a22f90335f": {
                  "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": "The hostname or IP address of the Redis server (e.g., redis.railway.internal or an external host like redis.example.com).",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "The port number on which the Redis server is listening (default is usually 6379 for non-TLS connections).",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "The username for authenticating to the Redis server (required for ACL-enabled Redis instances; often blank or \"default\" if not using ACLs).",
                      "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": "The password for authenticating to the Redis server (used in combination with REDISUSER for ACL authentication).",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Alternative or legacy name for the Redis authentication password (some clients/templates use this instead of REDISPASSWORD; Outline's underlying ioredis library supports password via this or in the URL).",
                      "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": {
                    "2d2dd4c5-19de-4457-8169-a1a22f90335f": {
                      "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."
                  }
                },
                "7a78035b-7983-4ea0-a6ca-1673f3ed8da6": {
                  "icon": "https://outline-production-attachments.s3-accelerate.amazonaws.com/public/292079f8-0319-4111-bb5b-315e8ae8f14e/2a65015e-9770-4b35-ac9b-907ce0d2c9b6/555601440978_d74a1103147f1f9f506e_192.png",
                  "name": "Outline",
                  "build": {},
                  "deploy": {
                    "cronSchedule": null,
                    "healthcheckPath": "/_health"
                  },
                  "source": {
                    "image": "outlinewiki/outline"
                  },
                  "variables": {
                    "URL": {
                      "isOptional": false,
                      "description": "URL should point to the fully qualified, publicly accessible URL. If using a proxy the port in URL and PORT may be different.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "URL should point to the fully qualified, publicly accessible URL. If using a proxy the port in URL and PORT may be different.",
                      "defaultValue": "3000"
                    },
                    "CDN_URL": {
                      "isOptional": true,
                      "description": "If using a Cloudfront/Cloudflare distribution or similar it can be set below. This will cause paths to javascript, stylesheets, and images to be updated to the hostname defined in CDN_URL. In your CDN configuration the origin server should be set to the same as URL.",
                      "defaultValue": ""
                    },
                    "NODE_ENV": {
                      "isOptional": false,
                      "description": "Set Node Environment",
                      "defaultValue": "production"
                    },
                    "LOG_LEVEL": {
                      "isOptional": true,
                      "description": "Configure lowest severity level for server logs. Should be one of error, warn, info, http, verbose, debug and silly",
                      "defaultValue": "info"
                    },
                    "PGSSLMODE": {
                      "isOptional": false,
                      "description": "Disable SSL for connecting to Postgres",
                      "defaultValue": "disable"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis URL",
                      "defaultValue": "${{Redis.REDIS_URL}}?family=6"
                    },
                    "SMTP_HOST": {
                      "isOptional": true,
                      "description": "To support sending outgoing transactional emails such as \"document updated\" or \"you've been invited\" you'll need to provide authentication for an SMTP server",
                      "defaultValue": ""
                    },
                    "SMTP_PORT": {
                      "isOptional": true,
                      "description": "To support sending outgoing transactional emails such as \"document updated\" or \"you've been invited\" you'll need to provide authentication for an SMTP server",
                      "defaultValue": ""
                    },
                    "AWS_REGION": {
                      "isOptional": true,
                      "description": "https://wiki.generaloutline.com/share/125de1cc-9ff6-424b-8415-0d58c809a40f",
                      "defaultValue": ""
                    },
                    "AWS_S3_ACL": {
                      "isOptional": true,
                      "description": "https://wiki.generaloutline.com/share/125de1cc-9ff6-424b-8415-0d58c809a40f",
                      "defaultValue": ""
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "Generate a hex-encoded 64-byte random key.",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "SENTRY_DSN": {
                      "isOptional": true,
                      "description": "Optionally enable Sentry (sentry.io) to track errors and performance",
                      "defaultValue": ""
                    },
                    "FORCE_HTTPS": {
                      "isOptional": false,
                      "description": "Auto-redirect to https in production. The default is true but you may set to false if you can be sure that SSL is terminated at an external loadbalancer.",
                      "defaultValue": "true"
                    },
                    "OIDC_SCOPES": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/oidc-8CPBm6uC0I",
                      "defaultValue": ""
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres Database URL",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "FILE_STORAGE": {
                      "isOptional": false,
                      "description": "Specify what storage system to use. Possible value is one of \"s3\" or \"local\". For \"local\", the avatar images and document attachments will be saved on local disk.",
                      "defaultValue": "local"
                    },
                    "SLACK_APP_ID": {
                      "isOptional": true,
                      "description": "https://wiki.generaloutline.com/share/be25efd1-b3ef-4450-b8e5-c4a4fc11e02a",
                      "defaultValue": ""
                    },
                    "UTILS_SECRET": {
                      "isOptional": false,
                      "description": "Generate a unique random key.",
                      "defaultValue": "{{UTILS_SECRET}}"
                    },
                    "OIDC_AUTH_URI": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/oidc-8CPBm6uC0I",
                      "defaultValue": ""
                    },
                    "SENTRY_TUNNEL": {
                      "isOptional": true,
                      "description": "Optionally enable Sentry (sentry.io) to track errors and performance",
                      "defaultValue": ""
                    },
                    "SMTP_PASSWORD": {
                      "isOptional": true,
                      "description": "To support sending outgoing transactional emails such as \"document updated\" or \"you've been invited\" you'll need to provide authentication for an SMTP server",
                      "defaultValue": ""
                    },
                    "SMTP_USERNAME": {
                      "isOptional": true,
                      "description": "To support sending outgoing transactional emails such as \"document updated\" or \"you've been invited\" you'll need to provide authentication for an SMTP server",
                      "defaultValue": ""
                    },
                    "ENABLE_UPDATES": {
                      "isOptional": false,
                      "description": "Have the installation check for updates by sending anonymized statistics to the maintainers",
                      "defaultValue": "true"
                    },
                    "OIDC_CLIENT_ID": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/oidc-8CPBm6uC0I",
                      "defaultValue": ""
                    },
                    "OIDC_TOKEN_URI": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/oidc-8CPBm6uC0I",
                      "defaultValue": ""
                    },
                    "AZURE_CLIENT_ID": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/microsoft-azure-UVz6jsIOcv",
                      "defaultValue": ""
                    },
                    "AZURE_TENANT_ID": {
                      "isOptional": true,
                      "description": "Optional user experience improvement. If user is signed into multiple tenancies, this variable automatically selects the right tenancy.",
                      "defaultValue": ""
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Set Railway Mount Permissions",
                      "defaultValue": "0"
                    },
                    "SLACK_CLIENT_ID": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/slack-sgMujR8J9J",
                      "defaultValue": ""
                    },
                    "SMTP_FROM_EMAIL": {
                      "isOptional": true,
                      "description": "To support sending outgoing transactional emails such as \"document updated\" or \"you've been invited\" you'll need to provide authentication for an SMTP server",
                      "defaultValue": ""
                    },
                    "WEB_CONCURRENCY": {
                      "isOptional": true,
                      "description": "How many processes should be spawned. As a reasonable rule divide your servers available memory by 512 for a rough estimate",
                      "defaultValue": "1"
                    },
                    "DEFAULT_LANGUAGE": {
                      "isOptional": true,
                      "description": "The default interface language. See translate.getoutline.com for a list of available language codes and their rough percentage translated.",
                      "defaultValue": "en_US"
                    },
                    "GOOGLE_CLIENT_ID": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/google-hOuvtCmTqQ",
                      "defaultValue": ""
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": true,
                      "description": "https://wiki.generaloutline.com/share/125de1cc-9ff6-424b-8415-0d58c809a40f",
                      "defaultValue": ""
                    },
                    "COLLABORATION_URL": {
                      "isOptional": true,
                      "description": "https://github.com/outline/outline/blob/main/docs/SERVICES.md",
                      "defaultValue": ""
                    },
                    "OIDC_DISPLAY_NAME": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/oidc-8CPBm6uC0I",
                      "defaultValue": ""
                    },
                    "OIDC_USERINFO_URI": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/oidc-8CPBm6uC0I",
                      "defaultValue": ""
                    },
                    "OIDC_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/oidc-8CPBm6uC0I",
                      "defaultValue": ""
                    },
                    "AZURE_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/microsoft-azure-UVz6jsIOcv",
                      "defaultValue": ""
                    },
                    "GOOGLE_ANALYTICS_ID": {
                      "isOptional": true,
                      "description": "Optionally enable google analytics to track pageviews in the knowledge base",
                      "defaultValue": ""
                    },
                    "OIDC_USERNAME_CLAIM": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/oidc-8CPBm6uC0I",
                      "defaultValue": ""
                    },
                    "SLACK_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/slack-sgMujR8J9J",
                      "defaultValue": ""
                    },
                    "GOOGLE_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/google-hOuvtCmTqQ",
                      "defaultValue": ""
                    },
                    "RATE_LIMITER_ENABLED": {
                      "isOptional": true,
                      "description": "Optionally enable rate limiter at application web server",
                      "defaultValue": "true"
                    },
                    "AWS_S3_ACCELERATE_URL": {
                      "isOptional": true,
                      "description": "https://wiki.generaloutline.com/share/125de1cc-9ff6-424b-8415-0d58c809a40f",
                      "defaultValue": ""
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "https://wiki.generaloutline.com/share/125de1cc-9ff6-424b-8415-0d58c809a40f",
                      "defaultValue": ""
                    },
                    "AZURE_RESOURCE_APP_ID": {
                      "isOptional": true,
                      "description": "https://docs.getoutline.com/s/hosting/doc/microsoft-azure-UVz6jsIOcv",
                      "defaultValue": ""
                    },
                    "RATE_LIMITER_REQUESTS": {
                      "isOptional": true,
                      "description": "Configure default throttling parameters for rate limiter",
                      "defaultValue": "1000"
                    },
                    "SLACK_MESSAGE_ACTIONS": {
                      "isOptional": true,
                      "description": "https://wiki.generaloutline.com/share/be25efd1-b3ef-4450-b8e5-c4a4fc11e02a",
                      "defaultValue": "true"
                    },
                    "AWS_S3_FORCE_PATH_STYLE": {
                      "isOptional": true,
                      "description": "https://wiki.generaloutline.com/share/125de1cc-9ff6-424b-8415-0d58c809a40f",
                      "defaultValue": ""
                    },
                    "AWS_S3_UPLOAD_BUCKET_URL": {
                      "isOptional": true,
                      "description": "https://wiki.generaloutline.com/share/125de1cc-9ff6-424b-8415-0d58c809a40f",
                      "defaultValue": ""
                    },
                    "SLACK_VERIFICATION_TOKEN": {
                      "isOptional": true,
                      "description": "https://wiki.generaloutline.com/share/be25efd1-b3ef-4450-b8e5-c4a4fc11e02a",
                      "defaultValue": ""
                    },
                    "AWS_S3_UPLOAD_BUCKET_NAME": {
                      "isOptional": true,
                      "description": "https://wiki.generaloutline.com/share/125de1cc-9ff6-424b-8415-0d58c809a40f",
                      "defaultValue": ""
                    },
                    "FILE_STORAGE_LOCAL_ROOT_DIR": {
                      "isOptional": false,
                      "description": "If \"local\" is configured for FILE_STORAGE above, then this sets the parent directory under which all attachments/images go. Make sure that the process has permissions to create this path and also to write files to it.",
                      "defaultValue": "${{RAILWAY_VOLUME_MOUNT_PATH}}"
                    },
                    "FILE_STORAGE_IMPORT_MAX_SIZE": {
                      "isOptional": true,
                      "description": "Override the maximum size of document imports, could be required if you have especially large Word documents with embedded imagery",
                      "defaultValue": "5120000"
                    },
                    "FILE_STORAGE_UPLOAD_MAX_SIZE": {
                      "isOptional": false,
                      "description": "Maximum allowed size for the uploaded attachment.",
                      "defaultValue": "26214400"
                    },
                    "RATE_LIMITER_DURATION_WINDOW": {
                      "isOptional": true,
                      "description": "Configure default throttling parameters for rate limiter",
                      "defaultValue": "60"
                    },
                    "ENABLE_ALPINE_PRIVATE_NETWORKING": {
                      "isOptional": false,
                      "description": "When set to \"true\" or \"1\", enables Outline's private networking optimizations for Alpine-based deployments (e.g., in Railway or similar container platforms). This can improve performance and reduce overhead in private/internal network setups.",
                      "defaultValue": "true"
                    },
                    "AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE": {
                      "isOptional": false,
                      "description": "Set to \"1\" or \"true\" to suppress the AWS SDK for JavaScript v2 maintenance mode / deprecation warning in console logs. (The v2 SDK is in maintenance mode since 2024 and will reach end-of-support in 2025; this var silences the repeated startup nag message without affecting functionality.)",
                      "defaultValue": "1"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "7a78035b-7983-4ea0-a6ca-1673f3ed8da6": {
                      "mountPath": "/var/lib/outline/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Outline",
      "method": "GET",
      "path": "/_health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T15:27:20.136Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_194ef4d73e91406a9eff",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED,SUCCESS,SUCCESS"
      }
    ]
  }
}
