Skip to content

Commit 7ae8957

Browse files
committed
Use default models; explicit Dockerfile
1 parent 562d3e8 commit 7ae8957

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

samples/crew-django-redis-postgres/compose.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ services:
2020
app:
2121
build:
2222
context: ./app
23+
dockerfile: Dockerfile
2324
command: ./run.sh
2425
ports:
2526
- "8000:8000"
@@ -43,6 +44,7 @@ services:
4344
worker:
4445
build:
4546
context: ./app
47+
dockerfile: Dockerfile
4648
command: celery -A config worker -l info
4749
depends_on:
4850
- postgres
@@ -60,7 +62,7 @@ services:
6062
provider:
6163
type: model
6264
options:
63-
model: anthropic.claude-3-haiku-20240307-v1:0
65+
model: chat-default
6466
x-defang-llm: true
6567
environment:
6668
OPENAI_API_KEY: "defang"
@@ -70,7 +72,7 @@ services:
7072
provider:
7173
type: model
7274
options:
73-
model: amazon.titan-embed-text-v2:0
75+
model: embedding-default
7476
x-defang-llm: true
7577
environment:
7678
OPENAI_API_KEY: "defang"

0 commit comments

Comments
 (0)