-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (49 loc) · 995 Bytes
/
docker-compose.yml
File metadata and controls
53 lines (49 loc) · 995 Bytes
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
services:
postgres:
image: pgvector/pgvector:pg17
container_name: "postgres"
shm_size: 1g
env_file:
- path: .env
required: true
ports:
- 5455:5432
volumes:
- ./data:/var/lib/postgresql/data
restart: unless-stopped
networks:
- cairo_coder
backend:
build:
context: .
dockerfile: backend.dockerfile
container_name: "cairo-coder-backend"
env_file:
- path: .env
required: true
ports:
- 3001:3001
depends_on:
postgres:
condition: service_started
restart: unless-stopped
networks:
- cairo_coder
ingester:
platform: linux/amd64
container_name: "cairo-coder-ingester"
env_file:
- path: .env
required: true
build:
context: .
dockerfile: ingester.dockerfile
depends_on:
postgres:
condition: service_started
networks:
- cairo_coder
networks:
cairo_coder:
volumes:
postgres_data: