-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
152 lines (140 loc) · 3.38 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
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
version: '2'
services:
ngx:
image: nginx
restart: always
ports:
- "85:80"
links:
- agilebpm
volumes:
- ./default.conf:/etc/nginx/conf.d/default.conf
- ./agilebpm-ui:/home/agilebpm-ui
- ./bpm-app:/home/bpm-app
mongo:
image: shawoo/mongo:4
restart: always
volumes:
- ./bson/db:/data/db
- ./bson/configdb:/data/configdb
command: mongod --port 27017 --bind_ip 0.0.0.0
express:
image: mongo-express
restart: always
environment:
- ME_CONFIG_BASICAUTH_USERNAME=admin
- ME_CONFIG_BASICAUTH_PASSWORD=ME
links:
- mongo
ports:
- "8081:8081"
mongoskin:
image: shawoo/mongo:4
restart: always
links:
- mongo
mysqlmaster:
image: mysql:5.7.15
restart: always
hostname: mysqlmaster
environment:
MYSQL_ROOT_PASSWORD: 100861
volumes:
- ./data/mysql-master:/var/lib/mysql/
- ./config/mysql-master:/etc/mysql/conf.d/
mysqlslave:
image: shawoo/mysql:5.7.15
restart: always
hostname: mysqlslave
environment:
- "MYSQL_ROOT_PASSWORD=100861"
volumes:
#- nfs:/nfs
- ./data/mysql-slave:/var/lib/mysql/
- ./config/mysql-slave:/etc/mysql/conf.d/
mysqlclient:
image: shawoo/mysql:5.7.15
depends_on:
- mysqlmaster
- mysqlslave
environment:
- "MYSQL_SLAVE_PASSWORD=100861"
- "MYSQL_MASTER_PASSWORD=100861"
- "MYSQL_ROOT_PASSWORD=100861"
- "MYSQL_REPLICATION_USER=repl"
- "MYSQL_REPLICATION_PASSWORD=repl"
volumes:
#- nfs:/nfs
- ./mysql_connector.sh:/tmp/mysql_connector.sh
command: /bin/bash -x /tmp/mysql_connector.sh
stdin_open: true
tty: true
sendmail:
image: shawoo/sendmail
restart: always
hostname: mail.feg.cn
stdin_open: true
tty: true
activemq:
image: rmohr/activemq
ports:
- "61616:61616"
- "8161:8161"
redisdb:
image: redis
restart: always
volumes:
- ./redis.conf:/etc/redis/redis.conf
command: redis-server /etc/redis/redis.conf
mosquitto:
image: shawoo/mosquitto
restart: always
ports:
- "1883:1883"
bpm:
image: shawoo/bpm:hr
restart: always
command: /bin/bash ./start.sh
#node bpm.js
volumes:
- ./public/:/opt/bpm/public/
- ./bpm/BDD/:/opt/bpm/BDD/
- ./bpm/bddApi.js:/opt/bpm/bddApi.js
- ./bpm/bpm.js:/opt/bpm/bpm.js
- ./bpm/start.sh:/opt/bpm/start.sh
- ./build/:/opt/bpm/dist/
environment:
- URI=ateam.feg.cn
- ENV=prd
depends_on:
- mosquitto
- redisdb
- mysqlmaster
- mongo
links:
- mosquitto
- redisdb
- mysqlmaster
- mongo
agilebpm:
image: shawoo/agilebpm
restart: always
ports:
- "8080:8080"
#command:
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
#- ./agilebpm-spring-boot-samples-1.2.0-Beta.jar:/opt/agilebpm-base-spring-boot/agilebpm-spring-boot-samples/target/agilebpm-spring-boot-samples-1.2.1.jar
- ./application.yml:/opt/agilebpm-base-spring-boot/agilebpm-spring-boot-samples/src/main/resources/application.yml
environment:
LANG: zh_CN.UTF-8
depends_on:
- redisdb
- mysqlmaster
- activemq
links:
- redisdb
- mysqlmaster
- activemq
- sendmail