This guide will help you install Obiente Cloud on your infrastructure. Choose the installation method that best fits your needs.
Before installing, ensure you have:
- Docker 24.0 or higher installed
- Docker Compose 2.0 or higher (for local development)
- Linux OS (Ubuntu 22.04+ recommended)
- Minimum 4GB RAM (8GB+ recommended)
- 20GB+ free disk space
- Network access for pulling Docker images
docker --version
docker compose version # Or docker compose --versionChoose the method that best suits your needs:
- Docker Compose - Simple, single-server deployment
- Docker Swarm - Simple - Distributed deployment with basic HA
- Docker Swarm - HA - Full high availability setup
For local development or testing:
# Clone the repository
git clone https://github.com/obiente/cloud.git
cd cloud
# Copy environment template
cp .env.example .env
# Edit .env with your configuration
nano .env
# Start services
docker compose up -d
# Verify installation
docker compose psFor production environments:
# Initialize Docker Swarm
docker swarm init
# Deploy the stack
docker stack deploy -c docker-compose.swarm.yml obiente
# Check status
docker service ls
docker stack services obienteSee Production Deployment for detailed instructions.
After installation, verify everything is working:
# Docker Compose (databases/services)
docker compose ps
# Docker Swarm (if using Swarm deployment)
docker service ls# If running API locally: view the terminal output running `go run`
# Docker Swarm (API in Swarm)
docker service logs obiente_api# Health check (includes metrics system status)
curl http://localhost:3001/health
# Should return: {"status":"healthy","version":"1.0.0","metrics_healthy":true}
# Check metrics observability
curl http://localhost:3001/metrics/observability# Test PostgreSQL (main database)
docker exec -it obiente-postgres psql -U obiente-postgres -d obiente -c "\dt"
# Test TimescaleDB (metrics database)
docker exec -it obiente-timescaledb psql -U postgres -d obiente_metrics -c "\dt"After successful installation:
- Configure Authentication - Set up Zitadel
- Configure Domains - Set up custom domains
- Set up Monitoring - Configure Prometheus and Grafana See the Troubleshooting guide
# Ubuntu/Debian
sudo apt-get install docker-compose-plugin
# Or install via Docker Desktop# Add user to docker group
sudo usermod -aG docker $USER
# Log out and back inEdit docker-compose.yml or docker-compose.swarm.yml and change the port mappings.
docker compose down -vdocker stack rm obienteThis removes all services and data volumes. Warning: This will delete all data!
Having trouble? Check out:
Next: Configuration