-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
61 lines (59 loc) · 1.66 KB
/
docker-compose.yaml
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:
papper-neo4j:
image: neo4j:5.17.0-enterprise
container_name: papper-neo4j
restart: unless-stopped
volumes:
- papper-neo4j-volume:/data
environment:
- NEO4J_AUTH=neo4j/${NEO4J_PASSWORD}
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
ports:
- 8290:7474
- 8291:7687
networks:
- papper-vaults-service-network
papper-graph-kb-service:
build: graph_kb_service
container_name: papper-graph-kb-service
restart: unless-stopped
volumes:
- ./graph_kb_service:/usr/src/graph_kb_service
env_file:
- ./graph_kb_service/.env
depends_on:
- papper-neo4j
ports:
- 8210:8000
command: >
sh -c "uvicorn main:app --host 0.0.0.0 --port 8000 --reload --log-config /usr/src/graph_kb_service/uvicorn_logging.conf"
networks:
- papper-vaults-service-network
papper-graph-rag-service:
build: graph_rag_service
container_name: papper-graph-rag-service
restart: unless-stopped
volumes:
- ./graph_rag_service:/usr/src/graph_rag_service
env_file:
- ./graph_rag_service/.env
depends_on:
- papper-neo4j
ports:
- 8500:8000
command: >
sh -c "uvicorn main:app --host 0.0.0.0 --port 8000 --reload --log-config /usr/src/graph_rag_service/uvicorn_logging.conf"
networks:
- papper-graph-rag-service-network
- papper-vaults-service-network
- papper-backend
volumes:
papper-neo4j-volume:
networks:
papper-vaults-service-network:
name: papper-vaults-service-network
papper-graph-rag-service-network:
name: papper-graph-rag-service-network
papper-backend:
name: papper-backend
external: true