-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
152 lines (135 loc) · 3.35 KB
/
docker-compose.yml
File metadata and controls
152 lines (135 loc) · 3.35 KB
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
# 使用说明 V3.8.0
# 1. 使用docker-compose 宿主机不需要配置host来发现
# 2. 无需修改源码,根目录 docker-compose up 即可
# 3. 静静等待服务启动
version: '2'
services:
pigx-mysql:
build:
context: ./db
environment:
MYSQL_ROOT_PASSWORD: root
restart: always
container_name: pigx-mysql
image: pigx-mysql
ports:
- 3306:3306
volumes:
- ./pigx-mysql:/var/lib/mysql
command: --lower_case_table_names=1
pigx-xxl:
container_name: pigx-xxl
image: xuxueli/xxl-job-admin:2.2.0
restart: always
environment:
PARAMS: "--server.port=9080 --spring.datasource.url=jdbc:mysql://pigx-mysql:3306/pigxx_job?Unicode=true&characterEncoding=UTF-8 --spring.datasource.username=root --spring.datasource.password=root"
ports:
- 9080:9080
pigx-redis:
container_name: pigx-redis
image: redis:5.0.7
restart: always
ports:
- 6379:6379
pigx-minio:
container_name: pigx-minio
image: minio/minio
command: server /data
ports:
- 9000:9000
volumes:
- ./data:/data
- ./config:/root/.minio
environment:
- MINIO_DOMAIN=pigx-minio
- MINIO_ACCESS_KEY=lengleng
- MINIO_SECRET_KEY=lengleng
pigx-register:
build:
context: ./pigx-register
restart: always
container_name: pigx-register
image: pigx-register
ports:
- 8848:8848
pigx-gateway:
build:
context: ./pigx-gateway
restart: always
container_name: pigx-gateway
image: pigx-gateway
ports:
- 9999:9999
pigx-auth:
build:
context: ./pigx-auth
restart: always
container_name: pigx-auth
image: pigx-auth
pigx-upms:
build:
context: ./pigx-upms/pigx-upms-biz
restart: always
container_name: pigx-upms
image: pigx-upms
pigx-monitor:
build:
context: ./pigx-visual/pigx-monitor
restart: always
image: pigx-monitor
container_name: pigx-monitor
ports:
- 5001:5001
pigx-daemon-quartz:
build:
context: ./pigx-visual/pigx-daemon-quartz
restart: always
image: pigx-daemon-quartz
container_name: pigx-daemon-quartz
pigx-daemon-elastic-job:
build:
context: ./pigx-visual/pigx-daemon-elastic-job
restart: always
image: pigx-daemon-elastic-job
container_name: pigx-daemon-elastic-job
pigx-codegen:
build:
context: ./pigx-visual/pigx-codegen
restart: always
image: pigx-codegen
container_name: pigx-codegen
pigx-mp-platform:
build:
context: ./pigx-visual/pigx-mp-platform
restart: always
image: pigx-mp-platform
container_name: pigx-mp-platform
pigx-pay-platform:
build:
context: ./pigx-visual/pigx-pay-platform
restart: always
image: pigx-pay-platform
container_name: pigx-pay-platform
pigx-oa-platform:
build:
context: ./pigx-visual/pigx-oa-platform
restart: always
image: pigx-oa-platform
container_name: pigx-oa-platform
pigx-tx-manager:
build:
context: ./pigx-visual/pigx-tx-manager
restart: always
image: pigx-tx-manager
container_name: pigx-tx-manager
ports:
- 5004:5004
- 9998:9998
pigx-sentinel:
build:
context: ./pigx-visual/pigx-sentinel-dashboard
restart: always
image: pigx-sentinel
container_name: pigx-sentinel
ports:
- 5020:5020