Local Chatgpt With Memory: Per-user memory chat (mem0+qdrant+ollama), fully local
Deploy from this page: TryDirect provisions the server, starts the services, generates the deployment credentials and wires the 3 containers together. Nothing is shared between deployments and no secrets ship with the stack.
What's included
| Service | Port | Description |
|---|---|---|
| app | 8501 (public) | optimum/local-chatgpt-with-memory:1.0.0 |
| qdrant | internal | Vector database |
| ollama | internal | LLM runtime |
What you configure
- Domain (
commonDomain): the hostname the stack is served on - Defaults provided:
OLLAMA_BASE_URL,QDRANT_HOSTship prefilled and can be adjusted in the deploy form
Requirements
- A cloud account connected to TryDirect (the deploy form provisions
the server) or one of your own servers
- A server that fits 3 containers (2 GB RAM or more recommended)
- A DNS record for the domain you set in the deploy form
Alternative: deploy with the Stacker CLI
Everything above also works from the command line:
git clone https://github.com/trydirect/awesome-selfhosted-stacker.git
cd awesome-selfhosted-stacker/stacker-projects/local-chatgpt-with-memory
# Generate secrets
cp .env.example .env
./scripts/generate-secrets.sh
# Deploy
stacker deploy63Views
Supported Clouds
Verifications
4 / 8 passedSecurity Reviewed
Vulnerability Scanned
Hardened Images
HTTPS Ready
Open Source
Actively Maintained
Deployment Tested
Community Rated