Skip to content
Merged
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
1 change: 1 addition & 0 deletions samples/agentic-autogen/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: agentic-autogen
services:
autogen:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/agentic-langgraph/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: agentic-langgraph
services:
app:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/agentic-strands/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: agentic-strands
services:
app:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/angular-express/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: angular-express
services:
angular-frontend:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/arduino-wifi/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: arduino-wifi
services:
flask:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/bullmq-bullboard-redis/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bullmq-bullboard-redis
services:
board:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/crewai/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: crewai
services:
postgres:
image: pgvector/pgvector:pg16
Expand Down
1 change: 1 addition & 0 deletions samples/csharp-dotnet/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: csharp-dotnet
services:
web:
image: csharp-dotnet
Expand Down
1 change: 1 addition & 0 deletions samples/defang-provider-handoff/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: defang-provider-handoff
services:
app:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/django-celery/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: django-celery
services:
web:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/django-postgres/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: django-postgres
services:
db:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/django-railpack/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: django-railpack
services:
django:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/django-redis-postgres/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: django-redis-postgres
services:
app:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/django/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: django
services:
django:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/elysia/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: elysia
services:
elysia:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/fastapi-postgres-pubsub/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: fastapi-postgres-pubsub
services:
app_a:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/fastapi-postgres/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: fastapi-postgres
services:
fastapi:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/fastapi/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: fastapi
services:
fastapi:
restart: always
Expand Down
1 change: 1 addition & 0 deletions samples/feathersjs/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: feathersjs
services:
app:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/flask-railpack/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: flask-railpack
services:
flask:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/flask/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: flask
services:
flask:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/golang-http-form/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: golang-http-form
services:
app:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/golang-http/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: golang-http
services:
app:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/golang-mongodb/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: golang-mongodb
services:
app:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/golang-openai/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: golang-openai
services:
app:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/golang-railpack/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: golang-railpack
services:
app:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/golang-rest-api/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: golang-rest-api
services:
app:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/golang-s3/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: golang-s3
services:
app:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/golang-slackbot/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: golang-slackbot
services:
bot:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/google-adk/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: google-adk
services:
agent:
build: .
Expand Down
1 change: 1 addition & 0 deletions samples/hasura/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: hasura
services:
hasura:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/html-css-js/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: html-css-js
services:
app:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/huginn/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: huginn
services:
huginn:
image: ghcr.io/huginn/huginn
Expand Down
1 change: 1 addition & 0 deletions samples/imgproxy/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: imgproxy
services:
imgproxy:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/javalin/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: javalin
services:
javalin-app:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/jupyter-postgres/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: jupyter-postgres
services:
jupyter:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/langchain/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: langchain
services:
langchain-app:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/managed-llm-provider/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: managed-llm-provider
services:
app:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/managed-llm/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: managed-llm
services:
app:
build:
Expand Down
35 changes: 20 additions & 15 deletions samples/mastra-extended/compose.dev.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: mastra-extended-dev
services:
app:
build:
Expand All @@ -11,14 +12,12 @@ services:
QUEUE_NAME: support-sync
LOCAL_FAST_DATA: "true"
MOCK_AGENT: "false"
models:
OPENAI_API_KEY: defang
depends_on:
chat:
endpoint_var: CHAT_URL
model_var: CHAT_MODEL
condition: service_started
embedding:
endpoint_var: EMBEDDING_URL
model_var: EMBEDDING_MODEL
depends_on:
condition: service_started
postgres:
condition: service_healthy
redis:
Expand All @@ -35,14 +34,12 @@ services:
QUEUE_NAME: support-sync
LOCAL_FAST_DATA: "true"
MOCK_AGENT: "false"
models:
OPENAI_API_KEY: defang
depends_on:
chat:
endpoint_var: CHAT_URL
model_var: CHAT_MODEL
condition: service_started
embedding:
endpoint_var: EMBEDDING_URL
model_var: EMBEDDING_MODEL
depends_on:
condition: service_started
postgres:
condition: service_healthy
redis:
Expand Down Expand Up @@ -73,11 +70,19 @@ services:
ports:
- 6379:6379

models:
chat:
model: ai/gemma3:1B-Q4_K_M
provider:
type: model
options:
model: ai/qwen2.5:3B-Q4_K_M
x-defang-llm: true

embedding:
model: ai/mxbai-embed-large
provider:
type: model
options:
model: ai/mxbai-embed-large
x-defang-llm: true

volumes:
pgdata:
47 changes: 31 additions & 16 deletions samples/mastra-extended/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: mastra-extended
services:
app:
build:
Expand All @@ -12,14 +13,11 @@ services:
REDIS_URL: redis://redis:6379
QUEUE_NAME: support-sync
MOCK_AGENT: "false"
models:
depends_on:
chat:
endpoint_var: CHAT_URL
model_var: CHAT_MODEL
condition: service_started
embedding:
endpoint_var: EMBEDDING_URL
model_var: EMBEDDING_MODEL
depends_on:
condition: service_started
postgres:
condition: service_healthy
redis:
Expand Down Expand Up @@ -49,14 +47,11 @@ services:
REDIS_URL: redis://redis:6379
QUEUE_NAME: support-sync
MOCK_AGENT: "false"
models:
depends_on:
chat:
endpoint_var: CHAT_URL
model_var: CHAT_MODEL
condition: service_started
embedding:
endpoint_var: EMBEDDING_URL
model_var: EMBEDDING_MODEL
depends_on:
condition: service_started
postgres:
condition: service_healthy
redis:
Expand Down Expand Up @@ -104,9 +99,29 @@ services:
reservations:
cpus: "0.25"
memory: 256M

models:
chat:
model: ai/chat-default
provider:
type: model
options:
model: chat-default
x-defang-llm: true
environment:
OPENAI_API_KEY: defang
deploy:
resources:
reservations:
cpus: "0.5"
memory: 512M
embedding:
model: ai/embedding-default
provider:
type: model
options:
model: embedding-default
x-defang-llm: true
environment:
OPENAI_API_KEY: defang
deploy:
resources:
reservations:
cpus: "0.5"
memory: 512M
1 change: 1 addition & 0 deletions samples/mastra-nextjs/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: mastra-nextjs
services:
app:
x-defang-llm: true
Expand Down
1 change: 1 addition & 0 deletions samples/mcp/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: mcp
services:
service-1:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/metabase/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: metabase
services:
metabase:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/n8n/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: n8n
services:
postgres:
image: postgres:16
Expand Down
1 change: 1 addition & 0 deletions samples/nextjs-blog/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: nextjs-blog
services:
blogstarter:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/nextjs-claude/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: nextjs-claude
services:
nextjs-claude:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/nextjs-cv/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: nextjs-cv
services:
app:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/nextjs-documentation/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: nextjs-documentation
services:
documentstarter:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/nextjs-postgres/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: nextjs-postgres
services:
app:
build:
Expand Down
1 change: 1 addition & 0 deletions samples/nextjs-railpack/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: nextjs-railpack
services:
app:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/nextjs/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: nextjs
services:
app:
restart: unless-stopped
Expand Down
1 change: 1 addition & 0 deletions samples/nocodb/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: nocodb
services:
nocodb:
image: nocodb/nocodb:0.252.0
Expand Down
Loading
Loading