-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
89 lines (84 loc) · 2.47 KB
/
docker-compose.yml
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
services:
postgres:
image: postgres@sha256:4ec37d2a07a0067f176fdcc9d4bb633a5724d2cc4f892c7a2046d054bb6939e5
ports:
- "5432:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_DB=converg
volumes:
- pg-volume:/var/lib/postgresql/data
command: ["postgres", "-c", "log_duration=on", "-c", "log_statement=all", "-c", "log_destination=stderr,jsonlog", "-c", "logging_collector=on"]
deploy:
resources:
limits:
cpus: ${BD_CPU_LIMITATION:-0.000}
memory: ${BD_RAM_LIMITATION:-16Gb}
postgres-test:
image: postgres@sha256:4ec37d2a07a0067f176fdcc9d4bb633a5724d2cc4f892c7a2046d054bb6939e5
ports:
- "5433:5432"
environment:
- POSTGRES_USER=postgres-test
- POSTGRES_PASSWORD=password-test
- POSTGRES_DB=converg-test
volumes:
- pg-volume-test:/var/lib/postgresql/data
deploy:
resources:
limits:
cpus: ${BD_CPU_LIMITATION:-0.000}
memory: ${BD_RAM_LIMITATION:-16Gb}
blazegraph:
image: vcity/blazegraph-cors@sha256:c6f9556ca53ff01304557e349d2f10b3e121dae7230426f4c64fa42b2cbaf805
ports:
- "9999:8080"
container_name: blazegraph
environment:
- "BLAZEGRAPH_QUADS=true"
- "BLAZEGRAPH_TIMEOUT=600000"
- "BLAZEGRAPH_MEMORY=12G"
deploy:
resources:
limits:
cpus: ${BD_CPU_LIMITATION:-0.000}
memory: ${BD_RAM_LIMITATION:-16Gb}
ud-quads-loader:
image: vcity/quads-loader
depends_on:
- postgres
environment:
- "SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/converg"
- "SPRING_DATASOURCE_USERNAME=postgres"
- "SPRING_DATASOURCE_PASSWORD=password"
ports:
- "8080:8080"
container_name: quads-loader
ud-quads-query:
build:
context: quads-query
dockerfile: Dockerfile
args:
- DATASOURCE_URL=jdbc:postgresql://postgres:5432/converg
- DATASOURCE_USERNAME=postgres
- DATASOURCE_PASSWORD=password
depends_on:
- postgres
environment:
- "DATASOURCE_URL=jdbc:postgresql://postgres:5432/converg"
- "DATASOURCE_USERNAME=postgres"
- "DATASOURCE_PASSWORD=password"
ports:
- "8081:8081"
container_name: quads-query
deploy:
resources:
limits:
cpus: ${QUERY_CPU_LIMITATION:-0.000}
memory: ${QUERY_RAM_LIMITATION:-16Gb}
volumes:
pg-volume:
driver: local
pg-volume-test:
driver: local