
Deploy Botpress on Your Own Server
Open Source Platform For Developers To Build High-Quality Digital Assistants
Want to deploy Botpress on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is Botpress?
Botpress is a tool to simplify building chat bots for developers. The platform puts together the boilerplate code and infrastructure you need to get a chatbot up and running and gives a complete dev-friendly platform that ships with all the tools you need to build, deploy, and manage production-grade chat bots in record time.
Self-Host Botpress
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
Version
General
PostgreSQL
Redis
Deploy
Copy the configuration and run it on your server.
services:
botpress:
environment:
BPFS_STORAGE: database
BP_DECISION_MIN_CONFIDENCE: "0.5"
BP_MODULE_NLU_DUCKLINGURL: http://botpress-lang:8000
BP_MODULE_NLU_LANGUAGESOURCES: '[{"endpoint": "http://botpress-lang:3100"}]'
BP_PRODUCTION: "true"
DATABASE_URL: postgres://botpress:9c472b145860f722@botpress-db/botpress
EXTERNAL_URL: http://botpress.your-domain.com
FAST_TEXT_CLEANUP_MS: "60000"
FAST_TEXT_VERBOSITY: "0"
REDIS_URL: redis://botpress-cache?password=f1105cc951424ed8
VERBOSITY_LEVEL: "0"
volumes:
- botpress:/botpress/data
depends_on:
- botpress-lang
- botpress-db
- botpress-cache
botpress-cache:
volumes:
- botpress-cache:/data
botpress-db:
image: postgres:11.2-alpine
environment:
POSTGRES_DB: botpress
POSTGRES_PASSWORD: 9c472b145860f722
POSTGRES_USER: botpress
volumes:
- botpress-db:/var/lib/postgresql/data
botpress-lang:
volumes:
- botpress-lang:/botpress/lang
volumes:
botpress: {}
botpress-cache: {}
botpress-db: {}
botpress-lang: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:3000
Why Self-Host Botpress?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Want to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"