Usage & Enterprise Capabilities
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.
Implementation Blueprint
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.
Recommended Hosting for Core
For systems like Core, we recommend high-performance VPS hosting. Hostinger offers dedicated setups for open-source tools with one-click installer scripts and 24/7 priority support.
Get Started on HostingerExplore Alternative Tools Infrastructure
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.