Integrated Software Tools for workflow automation and optimisation using n8n, twenty, huly/plane, Cal.Com, and supabse.
─────────────────────────────────────────────
─────────────────────────────────────────────
User is setting up a unified Docker Compose-based SaaS/automation stack on a VPS.
Apps include: n8n (automation), TwentyCRM, Cal.com (calendar booking), Supabase (auth/db), and PostgreSQL (shared).
Reverse proxy is Traefik v3.1, managed via Coolify.
The stack must support integration with RAG (Retrieval-Augmented Generation) and vector DBs later.
─────────────────────────────────────────────
─────────────────────────────────────────────
- n8n → Workflow automation
- Cal.com → Booking/calendar app
- Supabase → Auth, Postgres, and potential RAG backend
- PostgreSQL → One central instance with multiple DBs/users
─────────────────────────────────────────────
─────────────────────────────────────────────
Single Git repo containing:
- supabase.yml (optional or future)
.env → root-level global environment variables
- init.sql → User-defined init script for Postgres
─────────────────────────────────────────────
📄 COMPOSE FILE SCHEME (ALL SERVICES)
─────────────────────────────────────────────
- All services use internal port 3000
- All services on external network: coolify-net
- All services must expose healthchecks if possible
- All services must have Traefik labels:
traefik.http.routers..rule=Host(<subdomain>)
traefik.http.routers..entrypoints=https
traefik.http.routers..tls.certresolver=letsencrypt
traefik.http.services..loadbalancer.server.port=3000
- Supabase, if used, will be split into its own folder or compose file
─────────────────────────────────────────────
─────────────────────────────────────────────
GENERIC_TIMEZONE=Europe/Berlin
POSTGRES_SUPERPASS=supersecurepassword
TWENTY_DB_USER=twenty_user
TWENTY_DB_PASS=twenty_password
CALCOM_DB_USER=calcom_user
CALCOM_DB_PASS=calcom_password
N8N_HOST=n8n.biocentra.eu
TWENTY_HOST=twenty.biocentra.eu
CALCOM_HOST=calendar.biocentra.eu
CALENDSO_ENCRYPTION_KEY=...
Supabase env (optional, not yet defined)
─────────────────────────────────────────────
─────────────────────────────────────────────
Orchestration: Coolify (used for app deployment + env mgmt)
Reverse proxy: Traefik v3.1 (inside container: coolify-proxy)
Docker network: all services must use external network: coolify-net
Data: Docker volumes for persistent storage
DNS: Domains like *.biocentra.eu are pointed to VPS and used in Host() rules
─────────────────────────────────────────────
─────────────────────────────────────────────
- Vector DB integration for RAG (likely via Supabase / pgvector)
- Optional embedding workers
- Enhanced auth (possibly via Supabase)