Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions blueprints/simstudio/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
version: "3.8"

services:
simstudio:
image: ghcr.io/simstudioai/simstudio:v0.6.10
restart: unless-stopped
expose:
- 3000
deploy:
resources:
limits:
memory: 8G
environment:
- NODE_ENV=production
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
- BETTER_AUTH_URL
- NEXT_PUBLIC_APP_URL
- BETTER_AUTH_SECRET
- ENCRYPTION_KEY
- API_ENCRYPTION_KEY
- INTERNAL_API_SECRET
- REDIS_URL
- COPILOT_API_KEY
- SIM_AGENT_API_URL
- OLLAMA_URL
- SOCKET_SERVER_URL=http://realtime:3002
- NEXT_PUBLIC_SOCKET_URL
depends_on:
db:
condition: service_healthy
migrations:
condition: service_completed_successfully
realtime:
condition: service_healthy
healthcheck:
test: ['CMD', 'wget', '--spider', '--quiet', 'http://127.0.0.1:3000']
interval: 90s
timeout: 5s
retries: 3
start_period: 10s

realtime:
image: ghcr.io/simstudioai/realtime:v0.6.10
restart: unless-stopped
expose:
- 3002
deploy:
resources:
limits:
memory: 1G
environment:
- NODE_ENV=production
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
- NEXT_PUBLIC_APP_URL
- BETTER_AUTH_URL
- BETTER_AUTH_SECRET
- INTERNAL_API_SECRET
- REDIS_URL
depends_on:
db:
condition: service_healthy
healthcheck:
test: ['CMD', 'wget', '--spider', '--quiet', 'http://127.0.0.1:3002/health']
interval: 90s
timeout: 5s
retries: 3
start_period: 10s

migrations:
image: ghcr.io/simstudioai/migrations:v0.6.10
working_dir: /app/packages/db
environment:
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
depends_on:
db:
condition: service_healthy
command: ['bun', 'run', 'db:migrate']
restart: 'no'

db:
image: pgvector/pgvector:pg17
restart: unless-stopped
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
volumes:
- simstudio_postgres_data:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U ${POSTGRES_USER:-postgres}']
interval: 5s
timeout: 5s
retries: 5

volumes:
simstudio_postgres_data:
1 change: 1 addition & 0 deletions blueprints/simstudio/simstudio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions blueprints/simstudio/template.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[variables]
main_domain = "${domain}"
postgres_password = "${password:32}"
better_auth_secret = "${password:32}"
encryption_key = "${password:32}"
internal_api_secret = "${password:32}"

[config]
env = [
"POSTGRES_USER=postgres",
"POSTGRES_PASSWORD=${postgres_password}",
"POSTGRES_DB=simstudio",
"BETTER_AUTH_SECRET=${better_auth_secret}",
"ENCRYPTION_KEY=${encryption_key}",
"INTERNAL_API_SECRET=${internal_api_secret}",
"NEXT_PUBLIC_APP_URL=https://${main_domain}",
"BETTER_AUTH_URL=https://${main_domain}",
"NEXT_PUBLIC_SOCKET_URL=https://${main_domain}",
"API_ENCRYPTION_KEY=",
"REDIS_URL=",
"COPILOT_API_KEY=",
"SIM_AGENT_API_URL=",
"OLLAMA_URL=",
]
mounts = []

[[config.domains]]
serviceName = "simstudio"
port = 3_000
host = "${main_domain}"
37 changes: 19 additions & 18 deletions meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -5759,6 +5759,25 @@
"markdown"
]
},
{
"id": "simstudio",
"name": "Sim Studio",
"version": "v0.6.10",
"description": "Sim Studio is an open-source AI workflow builder for simulating and testing multi-agent pipelines with real-time collaboration.",
"logo": "simstudio.svg",
"links": {
"github": "https://github.com/simstudioai/sim",
"website": "https://simstudio.ai/",
"docs": "https://docs.simstudio.ai/"
},
"tags": [
"ai",
"workflow",
"agents",
"llm",
"automation"
]
},
{
"id": "slash",
"name": "Slash",
Expand Down Expand Up @@ -5952,24 +5971,6 @@
"media"
]
},
{
"id": "strapi",
"name": "Strapi",
"version": "v5.33.0",
"description": "Open-source headless CMS to build powerful APIs with built-in content management.",
"logo": "strapi.svg",
"links": {
"github": "https://github.com/strapi/strapi",
"discord": "https://discord.com/invite/strapi",
"docs": "https://docs.strapi.io",
"website": "https://strapi.io"
},
"tags": [
"headless",
"cms",
"content-management"
]
},
{
"id": "supabase",
"name": "SupaBase",
Expand Down
Loading