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.

chore

Ahmed Essam92e3eab0849d
diff --git a/.env-example b/.env.example
similarity index 96%
rename from .env-example
rename to .env.example
index dcb5b101..46af653f 100644
--- a/.env-example
+++ b/.env.example
@@ -15,5 +15,3 @@ RUNTIME_DOMAIN="http://localhost:5053"
DATABASE_URL="mysql://username:password@localhost:3306/smythos-local?allowPublicKeyRetrieval=true&useSSL=false"
DEFAULT_AGENT_DOMAIN="localagent.stage.smyth.ai" # staging agents domain
PROD_AGENT_DOMAIN="localagent.stage.smyth.ai" # deployed / prod agent domain
-
-LOCAL_MODE=true
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index e618e45b..a3fae087 100644
--- a/.gitignore
+++ b/.gitignore
@@ -86,7 +86,6 @@ web_modules/
# dotenv environment variable files
.env
-.env.*
# parcel-bundler cache (https://parceljs.org/)
.cache
diff --git a/Dockerfile b/Dockerfile
index 95df73a5..db84a3b9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -44,8 +44,7 @@ RUN mkdir -p /root && mkdir -p /root/smyth-ui-data && echo '{}' > /root/smyth-u
COPY docker-endpoint.sh /app/start.sh
-
-RUN chmod +x /app/start.sh
+RUN sed -i 's/\r$//' /app/start.sh && chmod +x /app/start.sh
# Expose only the app port
EXPOSE 4000
diff --git a/docker-compose.yml b/docker-compose.yml
index 42779e3e..7e6a4d76 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -52,6 +52,13 @@ services:
REDIS_SENTINEL_HOSTS: ""
REDIS_MASTER_NAME: ""
OPENAI_API_KEY: '{YOUR_OPENAI_API_KEY}'
+ # Default port configurations (can be overridden by .env file)
+ MIDDLEWARE_API_PORT: ${MIDDLEWARE_API_PORT:-5000}
+ APP_PORT: ${APP_PORT:-4000}
+ APP_DEV_SERVER_PORT: ${APP_DEV_SERVER_PORT:-4001}
+ RUNTIME_PORT: ${RUNTIME_PORT:-5053}
+ APP_DOMAIN: ${APP_DOMAIN:-http://localhost:4000}
+ RUNTIME_DOMAIN: ${RUNTIME_DOMAIN:-http://localhost:5053}
volumes:
- smythos_data:/app/data