
Deploy COREY
View, Validate, Edit IFC files - Official railway template
Just deployed
/var/lib/postgresql/data
Just deployed
Just deployed
Just deployed
Deploy and Host COREY on Railway
COREY helps project teams review IFC model data visually for IFC data validation workflows. It lets users open IFC files, inspect elements in 3D, configure checking clauses, validate model data, export issues to Excel, batch-edit values, import corrections, and validate again before submissions.
About Hosting COREY
Hosting COREY involves deploying the Next.js application and configuring its optional backend services. COREY can run local-first in the browser, where IFC files do not leave the user’s computer.
For a shared or self-hosted deployment, the backend stores model metadata in PostgreSQL and model files in S3-compatible object storage.
Common Use Cases
- Validate IFC model data before CORENET X or IFC-SG submission.
- Review IFC models visually with a 3D viewer, model tree, property inspection, and rule-based validation.
- Export IFC data to Excel, batch-correct repeated property issues, import the changes, and validate again.
Dependencies for COREY Hosting
- COREY application service built from the GitHub repository, Dockerfile, or GHCR image.
- PostgreSQL database for backend model metadata, drafts, rules, and persisted review data.
- S3-compatible object storage, such as MinIO, for server-backed IFC model files.
- Environment variables for database connection, object storage, model size limits, and optional user-header authentication.
- Optional reverse proxy or authentication layer for public multi-user deployments.
Deployment Dependencies
- COREY GitHub repository: https://github.com/JHJHJHJH/COREY
- COREY documentation: https://coreyifc.com/docs
- COREY deployment guide: https://coreyifc.com/docs/deployment
Implementation Details
Example Railway environment variables for a COREY app service connected to Railway Postgres and a MinIO service:
PORT="4000"
HOSTNAME="0.0.0.0"
DATABASE_URL="${{Postgres.DATABASE_URL}}"
S3_BUCKET="corey-models"
S3_REGION="ap-southeast-1"
S3_ENDPOINT="http://${{Bucket.RAILWAY_PRIVATE_DOMAIN}}:9000"
S3_ACCESS_KEY="${{Bucket.MINIO_ROOT_USER}}"
S3_SECRET_KEY="${{Bucket.MINIO_ROOT_PASSWORD}}"
COREY_MAX_MODEL_BYTES="262144000"
COREY_USER_HEADER="x-forwarded-user"
COREY_DEFAULT_USER="local"
COREY_REQUIRE_USER="false"
DOCS_EXTERNAL_URL="https://coreyifc.com/docs"
## Why Deploy COREY on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it. By deploying COREY on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
