-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
49 lines (49 loc) · 1.29 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
version: '3'
services:
app:
container_name: evergreen-app
image: hazelcast/evergreencache/app:1.0
environment:
SPRING_PROFILES_ACTIVE: deploy
SPRING_DATASOURCE_USERNAME: root
SPRING_DATASOURCE_PASSWORD: root
MYSQL_HOST: evergreen-db
ports:
- "8080:8080"
depends_on:
- database
pipeline:
container_name: evergreen-pipeline
image: hazelcast/evergreencache/pipeline:1.0
environment:
MYSQL_HOST: evergreen-db
MYSQL_USER: root
MYSQL_PASSWORD: root
WAIT_TIME: 12000
CACHE_HOST: evergreen-app
depends_on:
- database
- app
management_center:
container_name: evergreen-mc
image: hazelcast/management-center:5.0.1
environment:
MC_HTTP_PORT: 8081
MC_INIT_CMD: >-
cd bin;
./mc-conf.sh dev-mode configure;
./mc-conf.sh cluster add --lenient -H=/data -cn=cache -ma=evergreen-app -v;
ports:
- "8081:8081"
depends_on:
- app
database:
container_name: evergreen-db
image: mysql:8.0
command: mysqld --log-bin=ON --binlog_format=ROW --server-id=1 --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: root
ports:
- "3306:3306"
volumes:
- ./docker:/docker-entrypoint-initdb.d