Local Setup Guide
This guide walks you through setting up Exosphere locally for development and testing. You'll learn how to run both the state manager and dashboard components, either using Docker Compose for quick setup or running them individually for more control.
Overview
Exosphere consists of two main components that work together:
- State Manager - Backend service that handles workflow execution and state management
- Dashboard - Web interface for monitoring and managing workflows
You can set these up using:
- Docker Compose (recommended for quick start) - runs both services together
- Individual Setup - run each service separately for development
Prerequisites
Before you begin, ensure you have:
- Docker installed (for Docker Compose approach)
- Python 3.12+ (for individual setup)
- Node.js 18+ (for dashboard development)
- MongoDB instance (cloud or local)
Setup
The fastest way to get Exosphere running locally is using Docker Compose. This approach handles all the configuration and networking automatically.
Follow the guide: Get Exosphere running locally with Docker
If you prefer more control over each component or want to develop locally, you can set up the state manager and dashboard separately.
To get Exosphere state manager running, follow State Manager Setup
For complete monitoring dashboard setup details, see our Dashboard Guide.
Testing Your Setup
Once both services are running, test the complete setup:
-
Verify state manager:
-
Verify dashboard:
-
Check API documentation:
- Open http://localhost:8000/docs in your browser
- Test the
/health
endpoint
Next Steps
With your local Exosphere instance running, you're ready to:
- Register your first node - Create custom processing logic
- Create and run workflows - Build your first workflow
- Monitor execution - Use the dashboard to track progress
Related Concepts
- Fanout - Create parallel execution paths dynamically
- Unite - Synchronize parallel execution paths
- Retry Policy - Build resilient workflows
- Store - Persist data across workflow execution
Troubleshooting
Common Issues
Port conflicts: If ports 8000 or 3000 are already in use, modify the port mappings in your Docker commands or configuration files.
MongoDB connection: Ensure your MongoDB instance is accessible and the connection string is correct.
Authentication errors: Verify that EXOSPHERE_API_KEY
matches STATE_MANAGER_SECRET
.
Dashboard can't connect: Check that the state manager is running and accessible at the configured URI.
Getting Help
- Check the Docker Compose Setup Guide for detailed configuration
- Review the State Manager Setup Guide for backend troubleshooting
- Consult the Dashboard Guide for frontend issues
- Join our Discord community for support
Production Considerations
For production deployment options, see our hosted platform or contact our team for enterprise solutions.