-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
100 lines (94 loc) · 2.95 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
90
91
92
93
94
95
96
97
98
99
100
version: '3'
services:
mobsos-data-processing:
image: registry.tech4comp.dbis.rwth-aachen.de/rwthacis/mobsos-data-processing:ma-lakhoune
environment:
MYSQL_HOST: db
MYSQL_PORT: ${DATABASE_PORT:-3306}
MYSQL_USER: ${DATABASE_USER:-root}
MYSQL_PASSWORD: ${DATABASE_PASSWORD:-root}
LAS2PEER_PORT: 9013
BOOTSTRAP: social-bot-manager:9011
ports:
- "9013:9013"
depends_on:
- social-bot-manager
social-bot-manager:
image: las2peersocialbotmanagerservice:latest
environment:
DATABASE_NAME: ${DATABASE_NAME:-SBF}
DATABASE_HOST: db
DATABASE_PORT: ${DATABASE_PORT:-3306}
DATABASE_USER: ${DATABASE_USER:-root}
DATABASE_PASSWORD: ${DATABASE_PASSWORD:-root}
WEBCONNECTOR_URL: ${WEBCONNECTOR_URL:-http://127.0.0.1:8080}
MONGO_HOST: ${MONGO_HOST:-mongo:8080}
MONGO_DB: ${MONGO_DB:-sbf}
MONGO_USER: ${MONGO_USER:-admin}
MONGO_PASSWORD: ${MONGO_PASSWORD:-password}
MONGO_AUTH: ${MONGO_AUTH:-auth}
LRS_URL: ${LRL_URL:-http://127.0.0.1:8080}
LRS_AUTH_TOKEN: ${LRL_AUTH_TOKEN:-token}
ports:
- "8080:8080"
- "9011:9011"
depends_on:
- db
yjs:
image: lakhoune/y-websocket:latest
ports:
- "1234:1234"
rasa:
image: ${RASA_IMAGE:-rasa/rasa:3.3.10-full}
command: run --enable-api -m models --cors "*" --debug
ports:
- "5005:5005"
db:
image: mysql:8
platform: ${TARGETPLATFORM:-linux/amd64}
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: ${DATABASE_PASSWORD:-root}
MYSQL_DATABASE: ${DATABASE_NAME:-SBF}
MYSQL_INITDB_SQL: /docker-entrypoint-initdb.d/init.sql
volumes:
- ./assets/SBF.sql:/docker-entrypoint-initdb.d/init.sql
ports:
- "8085:3306"
frontend:
image: registry.tech4comp.dbis.rwth-aachen.de/rwthacis/sbf-utils:ma-lakhoune
environment:
YJS: ${YJS:-localhost:1234}
PORT: ${PORT:-8082}
OIDC_CLIENT_ID: ${OIDC_CLIENT_ID:-localtestclient}
YJS_RESOURCE_PATH: ${YJS_RESOURCE_PATH:-/socket.io}
RASA_NLU: ${RASA_NLU:-http://rasa:5005}
SBF_MANAGER: ${SBF_MANAGER:-http://localhost:8080/SBFmanager}
CONTACT_SERVICE_URL: ${CONTACT_SERVICE_URL:-http://localhost:8080/contactservice}
YJS_PROTOCOL: ${YJS_PROTOCOL:-ws}
depends_on:
- yjs
- rasa
- social-bot-manager
ports:
- "8082:8082"
mongo:
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USER:-admin}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORD:-password}
event-log-generator:
build:
context: .
dockerfile: Dockerfile
environment:
MYSQL_USER: ${DATABASE_USER:-root}
MYSQL_PASSWORD: ${DATABASE_PASSWORD:-root}
MYSQL_HOST: db
MYSQL_PORT: ${DATABASE_PORT:-3306}
MYSQL_DATABASE: ${DATABASE_NAME:-LAS2PEERMON}
ports:
- "8087:8087"
depends_on:
- db