mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-15 06:29:01 +08:00
♻️ 重构代码。 gateway 降级获取原请求 ,docker-compose优化,日志优化
This commit is contained in:
1 parent
e6723861e8
commit
02846103cd
5 files changed
+12
-40
No files matched your search
@@ -5,14 +5,12 @@ services:
|
||||
ports:
|
||||
- 2181:2181
|
||||
restart: always
|
||||
container_name: pigx-zookeeper
|
||||
|
||||
pigx-redis:
|
||||
image: redis:4.0.10
|
||||
ports:
|
||||
- 6379:6379
|
||||
restart: always
|
||||
container_name: pigx-redis
|
||||
|
||||
pigx-eureka:
|
||||
build:
|
||||
@@ -21,88 +19,56 @@ services:
|
||||
restart: always
|
||||
ports:
|
||||
- 1025:1025
|
||||
container_name: pigx-eureka
|
||||
|
||||
pigx-config:
|
||||
links:
|
||||
- pigx-eureka
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-config/Dockerfile
|
||||
restart: always
|
||||
container_name: pigx-config
|
||||
|
||||
pigx-gateway:
|
||||
links:
|
||||
- pigx-eureka
|
||||
- pigx-redis
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-gateway/Dockerfile
|
||||
restart: always
|
||||
ports:
|
||||
- 9999:9999
|
||||
container_name: pigx-gateway
|
||||
|
||||
pigx-auth:
|
||||
links:
|
||||
- pigx-eureka
|
||||
- pigx-redis
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-auth/Dockerfile
|
||||
restart: always
|
||||
container_name: pigx-auth
|
||||
|
||||
pigx-upms:
|
||||
links:
|
||||
- pigx-eureka
|
||||
- pigx-redis
|
||||
- pigx-gateway
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-upms/pigx-upms-biz/Dockerfile
|
||||
restart: always
|
||||
container_name: pigx-upms
|
||||
|
||||
pigx-monitor:
|
||||
links:
|
||||
- pigx-eureka
|
||||
- pigx-redis
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-visual/pigx-monitor/Dockerfile
|
||||
restart: always
|
||||
ports:
|
||||
- 5001:5001
|
||||
container_name: pigx-monitor
|
||||
|
||||
pigx-daemon:
|
||||
links:
|
||||
- pigx-eureka
|
||||
- pigx-redis
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-visual/pigx-daemon/Dockerfile
|
||||
restart: always
|
||||
ports:
|
||||
- 5002:5002
|
||||
container_name: pigx-daemon
|
||||
|
||||
pigx-codegen:
|
||||
links:
|
||||
- pigx-eureka
|
||||
- pigx-redis
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-visual/pigx-codegen/Dockerfile
|
||||
restart: always
|
||||
container_name: pigx-codegen
|
||||
|
||||
pigx-tx-manager:
|
||||
links:
|
||||
- pigx-eureka
|
||||
- pigx-redis
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-visual/pigx-tx-manager/Dockerfile
|
||||
@@ -110,4 +76,3 @@ services:
|
||||
ports:
|
||||
- 5004:5004
|
||||
- 9998:9998
|
||||
container_name: pigx-tx-manager
|
||||
Reference in new issue
Block a user