-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·49 lines (44 loc) · 967 Bytes
/
docker-compose.yml
File metadata and controls
executable file
·49 lines (44 loc) · 967 Bytes
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
version: '2.3'
services:
rts: #ir-engine-realtime-server
image: ir-engine/realtime-server
restart: always
environment:
NAF_LISTEN_PORT: 8081
ports:
- '8081:8081'
server:
image: ir-engine/server
restart: always
environment:
PORT: 3030
# take care, db not 127.0.0.1, because compose uses an intenal DNS
MYSQL_URL: mysql://server:password@db:3306/ir-engine
ports:
- '3030:3030'
depends_on:
- db
client:
image: ir-engine/client
restart: always
ports:
- '3000:3000'
# DB Server
db:
image: mariadb:10.7
restart: always
environment:
MYSQL_ROOT_PASSWORD: ir-engine-root-pa$$w0rd
MYSQL_DATABASE: ir-engine
MYSQL_USER: server
MYSQL_PASSWORD: password
ports:
- '3306:3306'
# lets you view the database
adminer:
image: adminer
restart: always
ports:
- "8080:8080"
depends_on:
- db