-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
93 lines (83 loc) · 1.68 KB
/
docker-compose.override.yml
File metadata and controls
93 lines (83 loc) · 1.68 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
services:
postgres:
restart: "no"
ports:
- "5432:5432"
env_file:
- .env.local
pgadmin:
restart: "no"
env_file:
- .env.local
grafana:
restart: "no"
env_file:
- .env.local
prestart:
env_file:
- .env.local
environment:
- POSTGRES_SERVER=postgres
rabbitmq:
restart: "no"
ports:
- "5672:5672"
env_file:
- .env.local
redis:
restart: "no"
ports:
- "6379:6379"
env_file:
- .env.local
backend:
restart: "no"
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
ports:
- "8000:8000"
env_file:
- .env.local
environment:
- POSTGRES_SERVER=postgres
- RABBITMQ_HOST=rabbitmq
- REDIS_HOST=redis
volumes:
- /app/.venv
develop:
watch:
- path: ./backend
action: sync
target: /app
ignore:
- __pycache__/
- "*.pyc"
- .pytest_cache/
- .venv/
- .cache/
- .benchmarks/
- path: ./backend/pyproject.toml
action: rebuild
- path: ./backend/app/core/config.py
action: sync+restart
target: /app/app/core/config.py
frontend:
build:
context: ./frontend
target: development
command: npm run dev
ports:
- "5173:5173"
volumes:
- /app/node_modules
env_file:
- ./frontend/.env.local
develop:
watch:
- path: ./frontend
action: sync
target: /app
ignore:
- node_modules/
- dist/
- .husky/
- playwrite-report/