mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-13 05:59:01 +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
|
restart: always
|
||||||
container_name: pigx-mysql
|
container_name: pigx-mysql
|
||||||
image: pigx-mysql
|
image: pigx-mysql
|
||||||
volumes:
|
|
||||||
- ./pigx-mysql:/var/lib/mysql
|
|
||||||
command: --lower_case_table_names=1
|
command: --lower_case_table_names=1
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-redis:
|
pigx-redis:
|
||||||
container_name: pigx-redis
|
container_name: pigx-redis
|
||||||
image: redis:6.2.6
|
image: redis:6.2.6
|
||||||
restart: always
|
restart: always
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-register:
|
pigx-register:
|
||||||
build:
|
build:
|
||||||
@@ -31,6 +33,8 @@ services:
|
|||||||
image: pigx-register
|
image: pigx-register
|
||||||
ports:
|
ports:
|
||||||
- 8848:8848
|
- 8848:8848
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-gateway:
|
pigx-gateway:
|
||||||
build:
|
build:
|
||||||
@@ -40,6 +44,8 @@ services:
|
|||||||
image: pigx-gateway
|
image: pigx-gateway
|
||||||
ports:
|
ports:
|
||||||
- 9999:9999
|
- 9999:9999
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-auth:
|
pigx-auth:
|
||||||
build:
|
build:
|
||||||
@@ -47,6 +53,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
container_name: pigx-auth
|
container_name: pigx-auth
|
||||||
image: pigx-auth
|
image: pigx-auth
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-upms:
|
pigx-upms:
|
||||||
build:
|
build:
|
||||||
@@ -54,6 +62,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
container_name: pigx-upms
|
container_name: pigx-upms
|
||||||
image: pigx-upms
|
image: pigx-upms
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-flow-task:
|
pigx-flow-task:
|
||||||
build:
|
build:
|
||||||
@@ -61,6 +71,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
container_name: pigx-flow-task
|
container_name: pigx-flow-task
|
||||||
image: pigx-flow-task
|
image: pigx-flow-task
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-flow-engine:
|
pigx-flow-engine:
|
||||||
build:
|
build:
|
||||||
@@ -68,6 +80,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
container_name: pigx-flow-engine
|
container_name: pigx-flow-engine
|
||||||
image: pigx-flow-engine
|
image: pigx-flow-engine
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-app-server:
|
pigx-app-server:
|
||||||
build:
|
build:
|
||||||
@@ -75,6 +89,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
container_name: pigx-app-server
|
container_name: pigx-app-server
|
||||||
image: pigx-app-server
|
image: pigx-app-server
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-monitor:
|
pigx-monitor:
|
||||||
build:
|
build:
|
||||||
@@ -84,6 +100,8 @@ services:
|
|||||||
container_name: pigx-monitor
|
container_name: pigx-monitor
|
||||||
ports:
|
ports:
|
||||||
- 5001:5001
|
- 5001:5001
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-daemon-quartz:
|
pigx-daemon-quartz:
|
||||||
build:
|
build:
|
||||||
@@ -91,6 +109,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
image: pigx-daemon-quartz
|
image: pigx-daemon-quartz
|
||||||
container_name: pigx-daemon-quartz
|
container_name: pigx-daemon-quartz
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-daemon-elastic-job:
|
pigx-daemon-elastic-job:
|
||||||
build:
|
build:
|
||||||
@@ -98,6 +118,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
image: pigx-daemon-elastic-job
|
image: pigx-daemon-elastic-job
|
||||||
container_name: pigx-daemon-elastic-job
|
container_name: pigx-daemon-elastic-job
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-codegen:
|
pigx-codegen:
|
||||||
build:
|
build:
|
||||||
@@ -105,6 +127,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
image: pigx-codegen
|
image: pigx-codegen
|
||||||
container_name: pigx-codegen
|
container_name: pigx-codegen
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-mp-platform:
|
pigx-mp-platform:
|
||||||
build:
|
build:
|
||||||
@@ -112,6 +136,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
image: pigx-mp-platform
|
image: pigx-mp-platform
|
||||||
container_name: pigx-mp-platform
|
container_name: pigx-mp-platform
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-pay-platform:
|
pigx-pay-platform:
|
||||||
build:
|
build:
|
||||||
@@ -119,6 +145,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
image: pigx-pay-platform
|
image: pigx-pay-platform
|
||||||
container_name: pigx-pay-platform
|
container_name: pigx-pay-platform
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-report-platform:
|
pigx-report-platform:
|
||||||
build:
|
build:
|
||||||
@@ -128,6 +156,8 @@ services:
|
|||||||
container_name: pigx-report-platform
|
container_name: pigx-report-platform
|
||||||
ports:
|
ports:
|
||||||
- 9095:9095
|
- 9095:9095
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigx-jimu-platform:
|
pigx-jimu-platform:
|
||||||
build:
|
build:
|
||||||
@@ -137,22 +167,10 @@ services:
|
|||||||
container_name: pigx-jimu-platform
|
container_name: pigx-jimu-platform
|
||||||
ports:
|
ports:
|
||||||
- 5008:5008
|
- 5008:5008
|
||||||
|
networks:
|
||||||
|
- spring_cloud_default
|
||||||
|
|
||||||
pigxx-job:
|
networks:
|
||||||
build:
|
spring_cloud_default:
|
||||||
context: ./pigx-visual/pigx-xxl-job-admin
|
name: spring_cloud_default
|
||||||
restart: always
|
driver: bridge
|
||||||
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
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM moxm/java:1.8-full
|
FROM alibabadragonwell/dragonwell:17-anolis
|
||||||
|
|
||||||
RUN mkdir -p /pigx-register
|
RUN mkdir -p /pigx-register
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user