
Deploy Eclaire
Self-hosted AI assistant for your notes, tasks, documents and bookmarks
Just deployed
/var/lib/postgresql/data
Just deployed
/app/data
Deploy and Host Eclaire on Railway
Eclaire is an open-source (MIT), self-hosted AI assistant for your tasks, notes, documents, photos and bookmarks. It stores everything in your own database, extracts text from uploads and web pages, tags and summarises them with an AI model you choose, and lets you chat with the assistant about your own data.
About Hosting Eclaire
This template runs Eclaire v0.6.3 from its official image, pinned by digest and built from a public GitHub repo, with Railway Postgres for records, users, sessions and the job queue. The Eclaire service runs the web app, API, workers and scheduler in one process, and keeps uploaded files on a volume. On first boot it runs database migrations and creates your admin account from generated variables, then closes public sign-up. You bring one API key for an OpenAI-compatible provider. Updates arrive as Railway update notices when the template repo changes.
Common Use Cases
- A private, searchable home for notes, tasks, bookmarks, documents and photos, with AI tagging and summaries
- Saving web pages as bookmarks with screenshots, extracted text and AI summaries
- Chatting with an AI assistant that can find and act on your own notes, tasks and documents
Dependencies for Eclaire Hosting
- An API key for an OpenAI-compatible AI provider (OpenAI, OpenRouter or any compatible endpoint)
- Railway Postgres (deployed by this template)
Deployment Dependencies
- Eclaire on GitHub: https://github.com/eclaire-labs/eclaire
- Template repo (Dockerfile, start script, changelog): https://github.com/aalfath/eclaire-railway-template
- OpenAI API keys: https://platform.openai.com/api-keys
Implementation Details
Services:
- Eclaire: web app, API, background workers and scheduler, with a volume at
/app/datafor files. Health check/health. - Postgres: Railway Postgres with its own volume.
The only prompt is LLM_API_KEY. LLM_BASE_URL defaults to https://api.openai.com/v1 and LLM_MODEL to gpt-4o-mini. Change them for another provider or model, then redeploy. The model should support tool calls, and images for photo processing.
After deploy, open the Eclaire URL and sign in with ADMIN_EMAIL (default admin@eclaire.local) and ADMIN_PASSWORD. You can find both in the Eclaire service's Variables tab. Never change BETTER_AUTH_SECRET, MASTER_ENCRYPTION_KEY or API_KEY_HMAC_KEY_V1 after the first deploy.
Security: Eclaire's authors say it is not hardened for direct exposure to the internet. This template keeps its login on, closes sign-up (ECLAIRE_ALLOW_SIGNUP=true reopens it) and generates every secret. Still use a strong password, and don't store highly sensitive data on a public URL.
Resources: the template needs two volumes, so use the Trial, Hobby or a higher plan, because Free allows one per project. Eclaire uses about 250 MB. Notes, AI chat, documents and most bookmarks work at 0.5 GB. Give it 1 GB or more for heavy web pages: Chromium can run out of memory on large pages at 0.5 GB, and those bookmark jobs then fail without stopping the app. Full-page screenshots switch on from 2 GB.
Left out: Docling (heavy and optional: set DOCLING_SERVER_URL to a Docling Serve service for better PDF extraction; without it, PDFs and Office files use the built-in pdftotext and LibreOffice). Redis isn't needed because the job queue runs in Postgres. Local llama.cpp model servers are left out because they need far more RAM or a GPU.
Updates: read the repo's CHANGELOG.md, back up Postgres, then apply Railway's update notice. Migrations run on start.
Why Deploy Eclaire 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 Eclaire 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
LLM_API_KEY
API key for your OpenAI-compatible AI provider, e.g. from platform.openai.com/api-keys or openrouter.ai/keys.

