mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 12:39:05 +08:00
🐳 Work about Docker. docker-compose.yml
This commit is contained in:
1 parent
d6dcdba8f8
commit
406d83e8be
1 file changed
+57
-8
+57
-8
@@ -1,4 +1,4 @@
|
||||
# 使用说明 V4.4.0
|
||||
# 使用说明 V5.2
|
||||
# 1. 使用docker-compose 宿主机不需要配置host来发现
|
||||
# 2. 无需修改源码,根目录 docker-compose up 即可
|
||||
# 3. 静静等待服务启动
|
||||
@@ -17,11 +17,15 @@ services:
|
||||
volumes:
|
||||
- ./pigx-mysql:/var/lib/mysql
|
||||
command: --lower_case_table_names=1
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-redis:
|
||||
container_name: pigx-redis
|
||||
image: redis:6.2.6
|
||||
restart: always
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-register:
|
||||
build:
|
||||
@@ -31,6 +35,8 @@ services:
|
||||
image: pigx-register
|
||||
ports:
|
||||
- 8848:8848
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-gateway:
|
||||
build:
|
||||
@@ -40,6 +46,8 @@ services:
|
||||
image: pigx-gateway
|
||||
ports:
|
||||
- 9999:9999
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-auth:
|
||||
build:
|
||||
@@ -47,6 +55,8 @@ services:
|
||||
restart: always
|
||||
container_name: pigx-auth
|
||||
image: pigx-auth
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-upms:
|
||||
build:
|
||||
@@ -54,7 +64,26 @@ services:
|
||||
restart: always
|
||||
container_name: pigx-upms
|
||||
image: pigx-upms
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-flow-task:
|
||||
build:
|
||||
context: ./pigx-flow/pigx-flow-task/pigx-flow-task-biz
|
||||
restart: always
|
||||
container_name: pigx-flow-task
|
||||
image: pigx-flow-task
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-flow-engine:
|
||||
build:
|
||||
context: ./pigx-flow/pigx-flow-engine/pigx-flow-engine-biz
|
||||
restart: always
|
||||
container_name: pigx-flow-engine
|
||||
image: pigx-flow-engine
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-app-server:
|
||||
build:
|
||||
@@ -62,6 +91,8 @@ services:
|
||||
restart: always
|
||||
container_name: pigx-app-server
|
||||
image: pigx-app-server
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-monitor:
|
||||
build:
|
||||
@@ -71,6 +102,8 @@ services:
|
||||
container_name: pigx-monitor
|
||||
ports:
|
||||
- 5001:5001
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-daemon-quartz:
|
||||
build:
|
||||
@@ -78,6 +111,8 @@ services:
|
||||
restart: always
|
||||
image: pigx-daemon-quartz
|
||||
container_name: pigx-daemon-quartz
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-daemon-elastic-job:
|
||||
build:
|
||||
@@ -85,6 +120,8 @@ services:
|
||||
restart: always
|
||||
image: pigx-daemon-elastic-job
|
||||
container_name: pigx-daemon-elastic-job
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-codegen:
|
||||
build:
|
||||
@@ -92,6 +129,8 @@ services:
|
||||
restart: always
|
||||
image: pigx-codegen
|
||||
container_name: pigx-codegen
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-mp-platform:
|
||||
build:
|
||||
@@ -99,6 +138,8 @@ services:
|
||||
restart: always
|
||||
image: pigx-mp-platform
|
||||
container_name: pigx-mp-platform
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-pay-platform:
|
||||
build:
|
||||
@@ -106,13 +147,8 @@ services:
|
||||
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
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-report-platform:
|
||||
build:
|
||||
@@ -122,6 +158,8 @@ services:
|
||||
container_name: pigx-report-platform
|
||||
ports:
|
||||
- 9095:9095
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-jimu-platform:
|
||||
build:
|
||||
@@ -131,6 +169,8 @@ services:
|
||||
container_name: pigx-jimu-platform
|
||||
ports:
|
||||
- 5008:5008
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigxx-job:
|
||||
build:
|
||||
@@ -141,6 +181,8 @@ services:
|
||||
image: pigx-job
|
||||
ports:
|
||||
- 9080:9080
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-sentinel:
|
||||
build:
|
||||
@@ -150,3 +192,10 @@ services:
|
||||
container_name: pigx-sentinel
|
||||
ports:
|
||||
- 5020:5020
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
networks:
|
||||
spring_cloud_default:
|
||||
name: spring_cloud_default
|
||||
driver: bridge
|
||||
Reference in new issue
Block a user