Skip to content

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.

change default port

Ahmed Essam8722319ad4f3
diff --git a/.env.compose.example b/.env.compose.example
index c94f20de..193bba43 100644
--- a/.env.compose.example
+++ b/.env.compose.example
@@ -12,16 +12,14 @@ DATABASE_NAME=smythos-local
DATABASE_URL="$DATABASE_PROVIDER://$DATABASE_USER:$DATABASE_PASSWORD@$DATABASE_HOST:3306/$DATABASE_NAME?allowPublicKeyRetrieval=true&useSSL=false"
APP_DOMAIN="localhost"
-APP_URL="http://$APP_DOMAIN" # Expansion of the APP_DOMAIN variable
+APP_URL="http://$APP_DOMAIN:6060" # Expansion of the APP_DOMAIN variable
RUNTIME_DOMAIN="dev.agent.oss.smyth.ai"
-RUNTIME_URL="http://$RUNTIME_DOMAIN" # Expansion of the RUNTIME_DOMAIN variable
+RUNTIME_URL="http://$RUNTIME_DOMAIN:6060" # Expansion of the RUNTIME_DOMAIN variable
DEFAULT_AGENT_DOMAIN="dev.agent.oss.smyth.ai"
PROD_AGENT_DOMAIN="prod.agent.oss.smyth.ai"
-AGENT_DOMAIN_PORT="80" # remove this when using https (IMPORTANT)
+AGENT_DOMAIN_PORT="6060" # modify this when changing the port of the runtime service
+
-MIDDLEWARE_API_PORT="5000"
-RUNTIME_PORT="5053"
-APP_PORT="5050"
OPENAI_API_KEY="openai-api-key"
SMYTHOS_EDITION="self-hosted"
@@ -37,8 +35,15 @@ SESSION_SECRET=session_secret
# Docker compose scope env variables
-EXPOSE_TRAEFIK_PORT="80"
-EXPOSE_HTTPS_TRAEFIK_PORT="443"
+EXPOSE_TRAEFIK_PORT="6060"
+EXPOSE_HTTPS_TRAEFIK_PORT="6062"
DATABASE_ROOT_PASSWORD=smythos_root_password # used for creating root user for docker db
ENABLE_TLS=false
+
+
+
+# Do not edit - internal ports for the services
+MIDDLEWARE_API_PORT="5000"
+RUNTIME_PORT="5053"
+APP_PORT="5050"
\ No newline at end of file
diff --git a/DOCKER_COMPOSE.md b/DOCKER_COMPOSE.md
index 2a9900ac..997a69a0 100644
--- a/DOCKER_COMPOSE.md
+++ b/DOCKER_COMPOSE.md
@@ -78,8 +78,8 @@ docker compose logs -f
Once all services are healthy:
-- **Main Application**: http://localhost (or your configured APP_URL)
-- **Runtime Server**: http://dev.agent.oss.smyth.ai (or your configured RUNTIME_URL)
+- **Main Application**: http://localhost:6060 (or your configured APP_URL)
+- **Runtime Server**: http://dev.agent.oss.smyth.ai:6060 (or your configured RUNTIME_URL)
diff --git a/README.md b/README.md
index e27e6b7e..7e922619 100644
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ docker compose up -d
```
-**Access your application:** http://localhost
+**Access your application:** http://localhost:6060
🐳 **Full Docker Setup**: See our [Docker Compose Guide](DOCKER_COMPOSE.md) for container deployment with automatic SSL, database, and caching.