SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
update docs
Ahmed Essam62b042629aca
diff --git a/DOCKER_COMPOSE.md b/DOCKER_COMPOSE.mdindex b300b3bf..bac31771 100644--- a/DOCKER_COMPOSE.md+++ b/DOCKER_COMPOSE.md@@ -16,22 +16,16 @@ This guide explains how to run SmythOS UI using Docker, both with the standalone- [Network Architecture](#network-architecture)- [Volume Management](#volume-management)- [Standalone Dockerfile Usage](#standalone-dockerfile-usage)- - [Building the Image](#building-the-image)- [Running the Container](#running-the-container)- [Environment Variables](#environment-variables)- [Required Variables](#required-variables)- - [Optional Variables](#optional-variables)- [Production Deployment](#production-deployment)- [Domain & SSL/TLS Configuration](#domain-ssltls-configuration)- [Security Considerations](#security-considerations)- - [Development with Docker](#development-with-docker)- [Troubleshooting](#troubleshooting)- [Common Issues](#common-issues)- - [Logs and Debugging](#logs-and-debugging)- [Maintenance](#maintenance)- [Updates](#updates)- - [Backups](#backups)- - [Cleanup](#cleanup)## Prerequisites@@ -49,7 +43,14 @@ This guide explains how to run SmythOS UI using Docker, both with the standaloneThe docker compose setup provides a complete production-ready environment with all necessary services.-### 1. Environment Setup+### 1. Clone the Repository++```bash+git clone https://github.com/SmythOS/smythos-studio.git+cd smythos-studio+```++### 2. Environment SetupCreate your environment file:@@ -60,7 +61,7 @@ cp .env.compose.example .env(Optional) Edit the `.env` file with your configuration (e.g. changing default passwords, your domains, etc.)-### 2. Start All Services+### 3. Start All ServicesLaunch the complete SmythOS UI stack:@@ -74,7 +75,7 @@ docker compose up -ddocker compose logs -f```-### 3. Access the Application+### 4. Access the ApplicationOnce all services are healthy:@@ -119,30 +120,11 @@ Once all services are healthy:## Standalone Dockerfile Usage-For custom deployments or development, you can use the Dockerfile directly.--### Building the Image--```bash-# Build the SmythOS UI image-docker build -t smythos-ui:latest .--# Build with specific tag-docker build -t smythos-ui:v1.0.0 .-```+For custom configurations, you can use the Dockerfile directly.### Running the Container```bash-# Run with external database-docker run -d \- --name smythos-app \- -p 5050:5050 \- -p 5053:5053 \- -e DATABASE_URL="mysql://user:password@host:3306/database" \- -v smythos_data:/home/node/smythos-data \- smythos-ui:latest-# Run with environment filedocker run -d \--name smythos-app \@@ -205,21 +187,8 @@ The docker compose setup includes automatic SSL certificate generation via Let's### Common Issues-**1. Can't access subdomain URLs (runtime.localhost, prod.localhost, etc.):**--This only applies when using the default localhost domain configuration. In case you can't access the subdomain URLs above, add them to your hosts file:--**Solution - Add to hosts file:**-```bash-# Linux/macOS-sudo sh -c 'echo "127.0.0.1 runtime.localhost prod.localhost default.localhost" >> /etc/hosts'--# Windows (run as Administrator)-echo 127.0.0.1 runtime.localhost prod.localhost default.localhost >> C:\Windows\System32\drivers\etc\hosts-```--**2. Services not starting:**+**1. Services not starting:**```bash# Check service statusdocker compose ps@@ -229,7 +198,7 @@ docker compose logs mysqldocker compose logs smythos```-**3. Database connection errors:**+**2. Database connection errors:**```bash# Verify MySQL is healthydocker compose exec mysql mysqladmin ping -u root -p@@ -238,7 +207,7 @@ docker compose exec mysql mysqladmin ping -u root -pdocker compose exec smythos sh -c "mysql -h mysql -u \$DATABASE_USER -p\$DATABASE_PASSWORD -e 'SELECT 1'"```-**4. Port conflicts:**+**3. Port conflicts:**```bash# Check what's using the portsnetstat -tlnp | grep :80diff --git a/README.md b/README.mdindex 396750d9..36de19af 100644--- a/README.md+++ b/README.md@@ -35,7 +35,25 @@ This approach makes AI agent development **accessible to everyone** - from busin## Quick Start-### Method 1: Local Development Setup+### Method 1: Docker Quick Start++Get up and running instantly with Docker Compose.++```bash+# Copy environment configuration+cp .env.compose.example .env+docker compose up -d++```++**Access your application:** http://localhost:5050++🐳 **Full Docker Setup**: See our [Docker Compose Guide](DOCKER_COMPOSE.md) for production-ready multi-container deployment with automatic SSL, database, and caching.++---+++### Method 2: Local Development SetupPerfect for development, customization, and contributing to the project.@@ -62,31 +80,6 @@ pnpm dev📖 **Detailed Setup**: See our [Contributing Guide](CONTRIBUTING.md) for complete development setup instructions.-### Method 2: Docker Quick Start--Get up and running instantly with a single Docker command.--```bash-# Copy environment configuration-cp .env.example .env-# REQUIRED: Edit .env with your database credentials--# Build and run with Docker-docker build -t smythos-ui .-docker run -d \- --name smythos-ui \- -p 5050:5050 \- -p 5053:5053 \- --env-file .env \- -v smythos_data:/home/node/smythos-data \- smythos-ui:latest-```--**Access your application:** http://localhost:5050--🐳 **Full Docker Setup**: See our [Docker Compose Guide](DOCKER_COMPOSE.md) for production-ready multi-container deployment with automatic SSL, database, and caching.-----## Repository Structurediff --git a/docker-compose.yml b/docker-compose.ymlindex 61a57dad..a5f409f2 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -27,7 +27,7 @@ services:- "${EXPOSE_TRAEFIK_PORT:-80}:80"- "${EXPOSE_HTTPS_TRAEFIK_PORT:-443}:443"# Traefik dashboard (optional, can be removed in production)- - "${EXPOSE_TRAEFIK_DASHBOARD_PORT:-8080}:8080"+ - "${EXPOSE_TRAEFIK_DASHBOARD_PORT:-8089}:8080"# Optional: Direct access ports for testing without hosts file# - "5050:5050" # Uncomment to access UI directly# - "5053:5053" # Uncomment to access Runtime directly