-
Notifications
You must be signed in to change notification settings - Fork 32
/
docker-compose.yml
37 lines (37 loc) · 1.07 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
version: '3'
services:
klevr-console:
image: klevry/klevr-console:latest
ports:
- "8091:80"
depends_on:
- klevr-manager
environment:
## Please make a new .env file in same directory with docker-compose.yml for the Klevr manager server finding like this -> KLEVR_MANAGER_IP=192.168.0.1:8090
- KLEVR_MANAGER_IP=${KLEVR_MANAGER_IP}
klevr-db:
image: mariadb
restart: always
volumes:
- ./data/mariadb:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
healthcheck:
test: "/usr/bin/mysql --user=root --password=root --execute \"show databases;\""
interval: 3s
timeout: 1s
retries: 10
ports:
- "3306:3306"
klevr-manager:
image: klevry/klevr-manager:latest
ports:
- "8090:8090"
depends_on:
- klevr-db
environment:
- DB_MGMT_USER_NAME=root
- DB_MGMT_USER_PASSWORD=root
- DB_APP_USER=klevr
- DB_APP_PASSWORD=klevr
- KLEVR_SERVER_EVENTHANDLER=""