-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
72 lines (69 loc) · 1.54 KB
/
docker-compose.override.yml
File metadata and controls
72 lines (69 loc) · 1.54 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
services:
django:
build:
context: .
dockerfile: ./dev/django.Dockerfile
command: [
"./manage.py",
"runserver_plus", "0.0.0.0:8000"
]
# Log printing is enhanced by a TTY
tty: true
working_dir: /home/vscode/bats-ai
env_file: ./dev/.env.docker-compose
volumes:
- .:/home/vscode/bats-ai
- pkg_cache:/home/vscode/pkg-cache
ports:
- 8000:8000
depends_on:
postgres:
condition: service_healthy
rabbitmq:
condition: service_healthy
minio:
condition: service_healthy
celery:
build:
context: .
dockerfile: ./dev/django.Dockerfile
command: [
"uv", "run",
"--extra" ,"tasks",
"celery",
"--app", "bats_ai.celery",
"worker",
"--loglevel", "INFO",
"--without-heartbeat"
]
# uv progress doesn't display properly with a Docker TTY
tty: false
working_dir: /home/vscode/bats-ai
env_file: ./dev/.env.docker-compose
volumes:
- .:/home/vscode/bats-ai
- pkg_cache:/home/vscode/pkg-cache
depends_on:
postgres:
condition: service_healthy
rabbitmq:
condition: service_healthy
minio:
condition: service_healthy
client:
image: node:24.15.0
working_dir: /app
command: >
sh -c "
npm install &&
npm run dev -- --host 0.0.0.0
"
ports:
- 8080:8080
volumes:
- ./client:/app
- /app/node_modules
env_file:
- ./dev/.env.docker-compose
volumes:
pkg_cache: