-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
61 lines (56 loc) · 1.15 KB
/
compose.yaml
File metadata and controls
61 lines (56 loc) · 1.15 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
services:
vector_db:
image: pgvector/pgvector:pg17
container_name: vector_db
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: vectordb
ports:
- 5432:5432
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- sightcall_qa
reverse-proxy:
image: traefik:v3.4.0
command:
- "--api.insecure=true"
- "--providers.docker=true"
ports:
- 80:80
- 8080:8080 # Traefik dashboard
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- sightcall_qa
app:
build:
context: .
labels:
- "traefik.http.routers.app.rule=Host(`sightcall-qa.localhost`)"
ports:
- mode: ingress
target: 3000
protocol: tcp
restart: always
develop:
watch:
- action: rebuild
path: ./sightcall_qa_api
target: /app
ignore:
- .venv/
env_file:
- .env
depends_on:
- vector_db
networks:
- sightcall_qa
extra_hosts:
- host.docker.internal:host-gateway
volumes:
pgdata:
networks:
sightcall_qa:
driver: bridge