Self-Hosted Studio with Docker
What’s Included
Self-hosting gives you the Studio experience on your own machine or server, including:
- Visual Canvas for building agents
- Built-in authentication, Vault, and environment variable management
- Debug, Inspect, and run history
System Requirements
Before starting, make sure your environment meets these minimums:
- Docker and Docker Compose v2
- At least 4 CPU cores and 8 GB RAM recommended
- A MySQL compatible database (local or managed)
Quickstart
1. Clone the Repository
git clone https://github.com/SmythOS/smythos-studio.git
cd smythos-studio
2. Create Your Environment File
cp .env.compose.example .env
Open .env
and set at minimum:
DATABASE_URL="mysql://user:pass@db:3306/smythos"
APP_BASE_URL="http://localhost"
SESSION_SECRET="long-random-string"
OPENAI_API_KEY="sk-your-key" # optional
3. Start the Stack
docker compose up -d
Optional: Watch logs to see services start
docker compose logs -f
When services are healthy, open:
http://localhost
You should see the Studio page. Create your first agent and run a quick test.
aawa6
Troubleshooting
Port already in use
Stop the conflicting service or change the published ports in Compose.
Cannot connect to database
Check DATABASE_URL
. Ensure the DB is running and accessible.
Blank UI or 502 error
Review container logs for middleware or runtime errors. Fix .env
or networking issues, then restart.
Login loop
Confirm APP_BASE_URL
matches the actual URL and that proxies forward headers correctly.
FAQ
Can I run this on a laptop?
Yes. It's completly private to your device when you run it locally using Docker.
Do I need a public domain?
No. Local setups work without a domain. For shared access, add a reverse proxy and HTTPS.
Is Community the same as Cloud?
Community focuses on self-hosting. Some features differ from the cloud version.
Where can I get help?
Open an issue on GitHub or join the community discussions.
Next Steps
- Go to Quickstart
- Learn the Core Concepts of Canvas
- Build Your First Workflow