-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose-dev.yml
153 lines (142 loc) · 3.76 KB
/
docker-compose-dev.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
version: '3.3'
services:
platform-controller:
image: hobbitproject/hobbit-platform-controller:dev
networks:
- hobbit
- hobbit-core
environment:
HOBBIT_RABBIT_IMAGE: "rabbitmq:management"
HOBBIT_RABBIT_HOST: "rabbit"
HOBBIT_REDIS_HOST: "redis"
DEPLOY_ENV: "develop"
GITLAB_USER: "${GITLAB_USER}"
GITLAB_EMAIL: "${GITLAB_EMAIL}"
GITLAB_TOKEN: "${GITLAB_TOKEN}"
#LOGGING_GELF_ADDRESS: "udp://localhost:12201"
SWARM_NODE_NUMBER: "1"
PROMETHEUS_HOST: prometheus
PROMETHEUS_PORT: 9090
USE_GITLAB: "false"
LOCAL_METADATA_DIRECTORY: "/metadata"
DOCKER_AUTOPULL: "0"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./metadata:/metadata
# HOBBIT GUI
gui:
image: hobbitproject/hobbit-gui:dev
ports:
- "8080:8080"
networks:
- hobbit-core
- hobbit
environment:
- HOBBIT_RABBIT_HOST=rabbit
#- KEYCLOAK_AUTH_URL=http://192.168.99.100:8181/auth
- KEYCLOAK_AUTH_URL=http://localhost:8181/auth
- CHECK_REALM_URL=false
- KEYCLOAK_DIRECT_URL=http://keycloak:8080/auth
- ELASTICSEARCH_HOST=elasticsearch
- ELASTICSEARCH_HTTP_PORT=9200
- USE_UI_AUTH=false
#volumes:
#- /data/docker/messages/global.html:/var/lib/jetty/webapps/messages/global.html
#- /data/docker/messages/benchmark.html:/var/lib/jetty/webapps/messages/benchmark.html
#- /data/docker/messages/status.html:/var/lib/jetty/webapps/messages/status.html
# Keycloak user management (used by the GUI)
# keycloak:
# image: hobbitproject/hobbit-keycloak:latest
# ports:
# - "8181:8080"
# networks:
# - hobbit
# volumes:
# - ./config/keycloak:/opt/jboss/keycloak/standalone/data/db
# HOBBIT Analysis component
analysis:
image: hobbitproject/hobbit-analysis-component:dev
networks:
- hobbit-core
environment:
- HOBBIT_RABBIT_HOST=rabbit
# message bus
rabbit:
image: rabbitmq:management
networks:
- hobbit
- hobbit-core
ports:
- "8081:15672"
# Forwarding the port for testing
- "5672:5672"
# DB for controller
redis:
image: redis:4.0.7
volumes:
- ./config/redis-db:/data
command: ["redis-server", "/data/redis.conf"]
networks:
- hobbit-core
ports:
# Forwarding the port for tests
- "6379:6379"
# Triple store
vos:
image: hobbitproject/virtuoso_opensource:v07.20.3217
hostname: vos
container_name: vos
stop_signal: SIGINT
stop_grace_period: 2m
volumes:
- ./config/db:/opt/virtuoso-opensource/var/lib/virtuoso/db
#- ./config/db:/opt/virtuoso-opensource/database
networks:
- hobbit-core
ports:
- "8890:8890"
# Storage service
storage-service:
image: hobbitproject/hobbit-storage-service:dev
networks:
- hobbit-core
environment:
- SPARQL_ENDPOINT_URL=http://vos:8890/sparql
- HOBBIT_RABBIT_HOST=rabbit
- SPARQL_ENDPOINT_USERNAME=dba
- SPARQL_ENDPOINT_PASSWORD=dba
node-exporter:
image: prom/node-exporter
networks:
- hobbit-core
cadvisor:
image: gcr.io/cadvisor/cadvisor
networks:
- hobbit-core
volumes:
- /:/rootfs:ro
- /dev/disk:/dev/disk:ro
- /sys:/sys:ro
- /var/lib/docker:/var/lib/docker:ro
- /var/run:/var/run:rw
prometheus:
image: prom/prometheus
networks:
- hobbit-core
ports:
- "9090:9090"
volumes:
- ./config/prometheus:/config:ro
command: --config.file=/config/prometheus.conf
depends_on:
- node-exporter
- cadvisor
networks:
hobbit:
name: hobbit
external: true
driver: overlay
hobbit-core:
name: hobbit-core
external: true
driver: overlay