{
  "manifest_version": "1.0.0",
  "template": {
    "id": "55fd454e-2890-44f9-9142-bf1a67a068b2",
    "slug": "excalidraw-plus-community-edition",
    "name": "Excalidraw Plus Community Edition",
    "description": "Self-hosted team workspace for Excalidraw with live collaboration",
    "url": "https://railway.com/deploy/excalidraw-plus-community-edition",
    "upstream": {
      "image": "ghcr.io/bzvstudio/excalidraw-plus-community-edition:1"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Excalidraw Plus Community Edition",
      "source": {
        "image": "ghcr.io/bzvstudio/excalidraw-plus-community-edition:1"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Excalidraw Plus Community Edition",
      "description": "The port the app listens on. The public domain and health check both use it, so leave this as it is",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "S3_BUCKET",
      "service": "Excalidraw Plus Community Edition",
      "description": "Name of the storage bucket that holds images and thumbnails. Set automatically",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_REGION",
      "service": "Excalidraw Plus Community Edition",
      "description": "Region of the storage bucket. Set automatically",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AUTH_SECRET",
      "service": "Excalidraw Plus Community Edition",
      "description": "Signs session cookies and tokens. Generated for this deployment. Changing it signs everyone out",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "Excalidraw Plus Community Edition",
      "description": "Address of the storage bucket's S3 API. Set automatically",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "Excalidraw Plus Community Edition",
      "description": "Connection string for the Postgres service in this project. Set automatically",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENCRYPTION_KEY",
      "service": "Excalidraw Plus Community Edition",
      "description": "Encrypts scenes, comments, libraries, images and stored AI keys. Generated for this deployment. Keep it safe: losing it loses your data",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PUBLIC_BASE_URL",
      "service": "Excalidraw Plus Community Edition",
      "description": "The app's public address, with https. After adding a custom domain, check it shows the new address, then redeploy",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "CLIENT_IP_HEADER",
      "service": "Excalidraw Plus Community Edition",
      "description": "The header holding the visitor's address, used for sign-in rate limits. Railway sets X-Real-IP, so leave this as it is",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "S3_ACCESS_KEY_ID",
      "service": "Excalidraw Plus Community Edition",
      "description": "Access key for the storage bucket. Set automatically",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STORAGE_PROVIDER",
      "service": "Excalidraw Plus Community Edition",
      "description": "Where images are stored. s3 uses this project's bucket, and production requires it.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "S3_SECRET_ACCESS_KEY",
      "service": "Excalidraw Plus Community Edition",
      "description": "Secret key for the storage bucket. Set automatically",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Excalidraw Plus Community Edition",
      "description": "Seconds the old deployment gets to save open scenes during a redeploy",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Folder inside the volume where Postgres keeps its data",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Private hostname of this database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Port Postgres listens on.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Database username, for Postgres clients",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Name of the database, for Postgres clients",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Password for the database user, for Postgres clients",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Name of the database created on first start",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Connection string other services use to reach this database, over the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Database user created on first start",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "Days the database's self-signed SSL certificate stays valid",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Password for the database user. Generated for this deployment",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Seconds Postgres gets to shut down cleanly during a redeploy",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "excalidraw-plus-community-edition"
      }
    },
    "cli": "railway deploy --template excalidraw-plus-community-edition",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "55fd454e-2890-44f9-9142-bf1a67a068b2",
            "serializedConfig": {
              "buckets": {
                "5bf64b04-f946-499b-8347-bbf3b385865f": {
                  "name": "Bucket"
                }
              },
              "services": {
                "6aad36d1-74fe-4158-a6a1-4be47e91f205": {
                  "icon": "https://docs.excalidraw.com/img/logo.svg",
                  "name": "Excalidraw Plus Community Edition",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bzvstudio/excalidraw-plus-community-edition:1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port the app listens on. The public domain and health check both use it, so leave this as it is",
                      "defaultValue": "{{PORT}}"
                    },
                    "S3_BUCKET": {
                      "isOptional": false,
                      "description": "Name of the storage bucket that holds images and thumbnails. Set automatically",
                      "defaultValue": "${{Bucket.BUCKET}}"
                    },
                    "S3_REGION": {
                      "isOptional": false,
                      "description": "Region of the storage bucket. Set automatically",
                      "defaultValue": "${{Bucket.REGION}}"
                    },
                    "AUTH_SECRET": {
                      "isOptional": false,
                      "description": "Signs session cookies and tokens. Generated for this deployment. Changing it signs everyone out",
                      "defaultValue": "{{AUTH_SECRET}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": false,
                      "description": "Address of the storage bucket's S3 API. Set automatically",
                      "defaultValue": "${{Bucket.ENDPOINT}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Connection string for the Postgres service in this project. Set automatically",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "Encrypts scenes, comments, libraries, images and stored AI keys. Generated for this deployment. Keep it safe: losing it loses your data",
                      "defaultValue": "{{ENCRYPTION_KEY}}"
                    },
                    "PUBLIC_BASE_URL": {
                      "isOptional": false,
                      "description": "The app's public address, with https. After adding a custom domain, check it shows the new address, then redeploy",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "CLIENT_IP_HEADER": {
                      "isOptional": false,
                      "description": "The header holding the visitor's address, used for sign-in rate limits. Railway sets X-Real-IP, so leave this as it is",
                      "defaultValue": "{{CLIENT_IP_HEADER}}"
                    },
                    "S3_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Access key for the storage bucket. Set automatically",
                      "defaultValue": "${{Bucket.ACCESS_KEY_ID}}"
                    },
                    "STORAGE_PROVIDER": {
                      "isOptional": false,
                      "description": "Where images are stored. s3 uses this project's bucket, and production requires it.",
                      "defaultValue": "{{STORAGE_PROVIDER}}"
                    },
                    "S3_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Secret key for the storage bucket. Set automatically",
                      "defaultValue": "${{Bucket.SECRET_ACCESS_KEY}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Seconds the old deployment gets to save open scenes during a redeploy",
                      "defaultValue": "{{RAILWAY_DEPLOYMENT_DRAINING_SECONDS}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3100": {
                        "port": 3100
                      }
                    }
                  }
                },
                "a2804c60-1c37-4e04-9ddc-cd8b5b45cf91": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Folder inside the volume where Postgres keeps its data",
                      "defaultValue": "{{PGDATA}}"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Private hostname of this database",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Port Postgres listens on.",
                      "defaultValue": "{{PGPORT}}"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Database username, for Postgres clients",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Name of the database, for Postgres clients",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Password for the database user, for Postgres clients",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Name of the database created on first start",
                      "defaultValue": "{{POSTGRES_DB}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Connection string other services use to reach this database, over the private network",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Database user created on first start",
                      "defaultValue": "{{POSTGRES_USER}}"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "Days the database's self-signed SSL certificate stays valid",
                      "defaultValue": "{{SSL_CERT_DAYS}}"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the database user. Generated for this deployment",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Seconds Postgres gets to shut down cleanly during a redeploy",
                      "defaultValue": "{{RAILWAY_DEPLOYMENT_DRAINING_SECONDS}}"
                    }
                  },
                  "volumeMounts": {
                    "a2804c60-1c37-4e04-9ddc-cd8b5b45cf91": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Excalidraw Plus Community Edition",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-11-01T04:15:07.855Z",
  "generator_version": "0.1.0"
}
