forked from prontera/spring-cloud-rest-tcc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
infrastructure-compose.yml
38 lines (37 loc) · 1.2 KB
/
infrastructure-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
version: "3"
services:
jce_java:
build: ./docker-jce-jre
image: pronter/jce-java
read_only: true
command: echo "jce java"
environment:
- TZ=Asia/Shanghai
rabbitmq:
image: rabbitmq:3.6.6-management
ports:
- "5671:5671"
- "5672:5672"
- "15672:15672"
hostname: prontera-rabbit
volumes:
- "./docker-rabbitmq/share/:/opt/"
environment:
- TZ=Asia/Shanghai
- RABBITMQ_DEFAULT_USER=chris
- RABBITMQ_DEFAULT_PASS=123123
- RABBITMQ_DEFAULT_VHOST=prontera
solar_mysql:
image: mysql:5.7.17
ports:
- "3306:3306"
volumes:
- "./docker-mysql/share/:/share/"
- "./docker-mysql/db/:/docker-entrypoint-initdb.d/:ro"
- "./docker-mysql/master/lib/:/var/lib/mysql/"
- "./docker-mysql/master/log/:/var/log/mysql/"
- "./docker-mysql/master/conf.d/:/etc/mysql/mysql.conf.d/"
- "/usr/share/zoneinfo/Asia/Shanghai:/usr/share/zoneinfo/Asia/Shanghai:ro"
environment:
- TZ=Asia/Shanghai
- MYSQL_ROOT_PASSWORD=123456