Self-improving AI Employees for everyone
Python ai-agentsai-employeeai-employeesassistantautonomous-agentsco-employeescompanygrok-botinstinctloop-agentsmuseown-your-datapersonalself-hosted
fix docker prod
trohitg0517d004e3dc
diff --git a/README.md b/README.mdindex fc670ff2..1c44291f 100644--- a/README.md+++ b/README.md@@ -7,7 +7,8 @@ Visual workflow automation platform. Build workflows by connecting nodes - like```bashgit clone https://github.com/trohitg/MachinaOS.gitcd MachinaOs-npm run docker:build && npm run docker:up+npm run docker:build+npm run docker:up```Open http://localhost:3000@@ -32,12 +33,20 @@ npm run start## Docker Commands+### Development (hot reload, larger images)| Command | Description ||---------|-------------|-| `npm run docker:up` | Start containers |+| `npm run docker:build` | Build dev images |+| `npm run docker:up` | Start dev containers || `npm run docker:down` | Stop containers || `npm run docker:logs` | View logs |-| `npm run docker:build` | Rebuild images |++### Production (optimized, smaller images)+| Command | Description |+|---------|-------------|+| `npm run docker:prod:build` | Build prod images |+| `npm run docker:prod:up` | Start prod containers |+| `npm run docker:prod:logs` | View logs |**Redis (optional):** Set `REDIS_ENABLED=true` in `.env`diff --git a/docker-compose.prod.yml b/docker-compose.prod.ymlindex eca1a1b1..c17fdd86 100644--- a/docker-compose.prod.yml+++ b/docker-compose.prod.yml@@ -86,7 +86,7 @@ services:# Privileged mode for proper SQLite WAL mmap supportprivileged: truehealthcheck:- test: ["CMD", "curl", "-f", "http://localhost:9400/health"]+ test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:9400/health"]interval: 30stimeout: 10sretries: 3