-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
61 lines (54 loc) · 1.25 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
# version: '3.8'
services:
uce-fuseki-sparql:
build:
context: ./sparql
dockerfile: ./Dockerfile
args:
JENA_VERSION: 5.2.0
image: fuseki
ports:
- "8030:5430"
volumes:
- ./../sparql/run/databases/biofid-search:/fuseki/databases/biofid-search
command: --update --tdb2 --port 5430 --loc /fuseki/databases/biofid-search /biofid-search
networks:
- app_net
uce-rag-service:
build:
context: .
dockerfile: ./rag/Dockerfile
ports:
- "8080:5678"
depends_on:
- uce-postgresql-db
networks:
- app_net
uce-web:
build:
context: .
dockerfile: ./uce.portal/uce.web/Dockerfile
ports:
- "8008:4567"
depends_on:
- uce-postgresql-db
networks:
- app_net
volumes:
- "./../releases/uceConfig.json:/app/config/uceConfig.json"
command: ["java", "-jar", "./target/webportal-jar-with-dependencies.jar", "-cf", "/app/config/uceConfig.json"]
uce-postgresql-db:
image: pgvector/pgvector:pg16
environment:
POSTGRES_DB: uce
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 1234
ports:
- "8002:5432"
networks:
- app_net
networks:
app_net:
driver: bridge
volumes:
pgdata: