How it helps your business
Key Benefits
- Unified Workspace: Seamlessly switch between document, whiteboard, and database modes on any page.
- Data Sovereignty: Retain full ownership of your database, server, and all user data.
- Offline Capability: Work locally at high speed and sync when connected.
- Team Collaboration: Enable real-time editing for teams without vendor lock-in.
- Open Standards: Export content as Markdown or JSON for maximum portability.
Production Architecture Overview
- Core Server: The main application backend.
- PostgreSQL: Primary database for metadata and workspace management.
- Redis: Handles real-time synchronization and session states.
- S3 / Compatible Storage: Stores user-uploaded files and attachments.
- Reverse Proxy (NGINX/Caddy): Manages SSL/TLS termination and load balancing.
How we deploy this for you
Security Hardened
Firewalls, SSL, and hardened kernels out of the box.
Performance Tuned
Optimized for speed with cache and DB fine-tuning.
Automated Backups
Daily off-site backups so you never lose your data.
Private Cloud
You own the server and the data. No middleman.
Implementation Blueprint
Prerequisites
sudo apt update && sudo apt upgrade -y
sudo apt install docker.io docker-compose -y
sudo systemctl enable docker
sudo systemctl start dockerDocker Compose Production Setup
version: '3'
services:
core:
image: ghcr.io/example/core-server:latest
ports:
- "8080:8080"
environment:
- CORE_CONFIG_PATH=/app/config
- DATABASE_URL=postgres://core:password@db:5432/core
- REDIS_URL=redis://redis:6379
depends_on:
- db
- redis
volumes:
- core_data:/app/data
restart: always
db:
image: postgres:15-alpine
environment:
- POSTGRES_USER=core
- POSTGRES_PASSWORD=password
- POSTGRES_DB=core
volumes:
- pg_data:/var/lib/postgresql/data
restart: always
redis:
image: redis:7-alpine
restart: always
volumes:
core_data:
pg_data:Kubernetes Production Deployment (Recommended)
# Deploy using a standard Deployment and Service
kubectl create deployment core --image=ghcr.io/example/core-server:latest
kubectl expose deployment core --port=8080- Elastic Scalability: Scale application pods based on user load and data volume.
- Persistent Storage: Use PersistentVolumeClaims for workspace data and object storage for attachments.
- Zero-Downtime Updates: Roll out new versions without disrupting user workflows.
Scaling Strategy
- Object Storage: Utilize S3-compatible storage for file attachments in production.
- Database Optimization: Regularly tune PostgreSQL for efficient metadata operations.
- Caching: Employ Redis for high-performance real-time state management.
- CDN Integration: Serve static frontend assets via a global CDN to enhance load times.
Backup & Safety
- Database Backups: Automate regular PostgreSQL backups and store them securely offsite.
- Volume Snapshots: Schedule snapshots of persistent volumes containing workspace data.
- HTTPS Enforcement: Always deploy Core behind a secure reverse proxy with TLS encryption.
- Network Security: Restrict access to the Core instance via corporate VPN or zero-trust network policies.
Includes Security & performance standards
Best place to host Core
We recommend Hostinger for its reliability and low cost. It's the perfect home for your new apps, featuring easy setup and 24/7 support.
Get Started on HostingerCompare Similar Tools
Kubernetes
Kubernetes is a production-grade, open-source platform for automating deployment, scaling, and operations of application containers.
Supabase
Supabase is the leading open-source alternative to Firebase. It provides a full backend-as-a-service (BaaS) powered by PostgreSQL, including authentication, real-time subscriptions, and storage.