mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 04:39:00 +08:00
🐳 Work about Docker. docker-compose.yml
This commit is contained in:
1 parent
08d904a8ae
commit
6d9b45ca56
2 files changed
+39
-21
No files matched your search
+38
-20
@@ -14,14 +14,16 @@ services:
|
||||
restart: always
|
||||
container_name: pigx-mysql
|
||||
image: pigx-mysql
|
||||
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 +33,8 @@ services:
|
||||
image: pigx-register
|
||||
ports:
|
||||
- 8848:8848
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-gateway:
|
||||
build:
|
||||
@@ -40,6 +44,8 @@ services:
|
||||
image: pigx-gateway
|
||||
ports:
|
||||
- 9999:9999
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-auth:
|
||||
build:
|
||||
@@ -47,6 +53,8 @@ services:
|
||||
restart: always
|
||||
container_name: pigx-auth
|
||||
image: pigx-auth
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-upms:
|
||||
build:
|
||||
@@ -54,6 +62,8 @@ services:
|
||||
restart: always
|
||||
container_name: pigx-upms
|
||||
image: pigx-upms
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-flow-task:
|
||||
build:
|
||||
@@ -61,6 +71,8 @@ services:
|
||||
restart: always
|
||||
container_name: pigx-flow-task
|
||||
image: pigx-flow-task
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-flow-engine:
|
||||
build:
|
||||
@@ -68,6 +80,8 @@ services:
|
||||
restart: always
|
||||
container_name: pigx-flow-engine
|
||||
image: pigx-flow-engine
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-app-server:
|
||||
build:
|
||||
@@ -75,6 +89,8 @@ services:
|
||||
restart: always
|
||||
container_name: pigx-app-server
|
||||
image: pigx-app-server
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-monitor:
|
||||
build:
|
||||
@@ -84,6 +100,8 @@ services:
|
||||
container_name: pigx-monitor
|
||||
ports:
|
||||
- 5001:5001
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-daemon-quartz:
|
||||
build:
|
||||
@@ -91,6 +109,8 @@ services:
|
||||
restart: always
|
||||
image: pigx-daemon-quartz
|
||||
container_name: pigx-daemon-quartz
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-daemon-elastic-job:
|
||||
build:
|
||||
@@ -98,6 +118,8 @@ services:
|
||||
restart: always
|
||||
image: pigx-daemon-elastic-job
|
||||
container_name: pigx-daemon-elastic-job
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-codegen:
|
||||
build:
|
||||
@@ -105,6 +127,8 @@ services:
|
||||
restart: always
|
||||
image: pigx-codegen
|
||||
container_name: pigx-codegen
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-mp-platform:
|
||||
build:
|
||||
@@ -112,6 +136,8 @@ services:
|
||||
restart: always
|
||||
image: pigx-mp-platform
|
||||
container_name: pigx-mp-platform
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-pay-platform:
|
||||
build:
|
||||
@@ -119,6 +145,8 @@ services:
|
||||
restart: always
|
||||
image: pigx-pay-platform
|
||||
container_name: pigx-pay-platform
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-report-platform:
|
||||
build:
|
||||
@@ -128,6 +156,8 @@ services:
|
||||
container_name: pigx-report-platform
|
||||
ports:
|
||||
- 9095:9095
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigx-jimu-platform:
|
||||
build:
|
||||
@@ -137,22 +167,10 @@ services:
|
||||
container_name: pigx-jimu-platform
|
||||
ports:
|
||||
- 5008:5008
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
|
||||
pigxx-job:
|
||||
build:
|
||||
context: ./pigx-visual/pigx-xxl-job-admin
|
||||
restart: always
|
||||
container_name: pigx-job
|
||||
hostname: pigx-job
|
||||
image: pigx-job
|
||||
ports:
|
||||
- 9080:9080
|
||||
|
||||
pigx-sentinel:
|
||||
build:
|
||||
context: ./pigx-visual/pigx-sentinel-dashboard
|
||||
restart: always
|
||||
image: pigx-sentinel
|
||||
container_name: pigx-sentinel
|
||||
ports:
|
||||
- 5020:5020
|
||||
networks:
|
||||
spring_cloud_default:
|
||||
name: spring_cloud_default
|
||||
driver: bridge
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM moxm/java:1.8-full
|
||||
FROM alibabadragonwell/dragonwell:17-anolis
|
||||
|
||||
RUN mkdir -p /pigx-register
|
||||
|
||||
|
||||
Reference in new issue
Block a user