-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.local.yaml
More file actions
54 lines (48 loc) · 1.22 KB
/
Copy pathcompose.local.yaml
File metadata and controls
54 lines (48 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
services:
postgres:
extends:
service: postgres
file: compose.yaml
image: pgvector/pgvector:pg16
environment:
POSTGRES_PASSWORD: password
volumes:
- pgdata:/var/lib/postgresql/data
redis:
extends:
service: redis
file: compose.yaml
app:
extends:
service: app
file: compose.yaml
command: ["./dev.sh"]
environment:
DATABASE_URL: postgres://postgres:password@postgres:5432/postgres
DJANGO_SECRET_KEY: 5k6qi_gzy65bz2soxl6k(rsrw)0z3ws!zmjzsbe+wkp1ovfayg
volumes:
- ./app:/app
worker:
extends:
service: worker
file: compose.yaml
volumes:
- ./app:/app
command: sh -c "pip install watchdog && watchmedo auto-restart --directory=./ --pattern=*.py --recursive -- celery -A config worker -l info"
environment:
DATABASE_URL: postgres://postgres:password@postgres:5432/postgres
DJANGO_SECRET_KEY: 5k6qi_gzy65bz2soxl6k(rsrw)0z3ws!zmjzsbe+wkp1ovfayg
chat:
provider:
type: model
options:
model: ai/gemma3:1B-Q4_K_M
x-defang-llm: true
embedding:
provider:
type: model
options:
model: ai/mxbai-embed-large
x-defang-llm: true
volumes:
pgdata: