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

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

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

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

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