完善统一前端部署
This commit is contained in:
parent
b3b37a3a69
commit
1ff8994da4
|
|
@ -8,6 +8,10 @@ version: '3'
|
||||||
# 重新创建 docker-composer up --force-recreate
|
# 重新创建 docker-composer up --force-recreate
|
||||||
# 重新编译并覆盖之前的 docker-composer up --build --force-recreate
|
# 重新编译并覆盖之前的 docker-composer up --build --force-recreate
|
||||||
|
|
||||||
|
|
||||||
|
# 编译前端请先执行 git submodule updata --init --recursive
|
||||||
|
# 或者 git clone https://gitee.com/jeequan/jeepay-ui.git
|
||||||
|
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
hostname: mysql
|
hostname: mysql
|
||||||
|
|
@ -118,7 +122,7 @@ services:
|
||||||
args:
|
args:
|
||||||
PORT: 9216
|
PORT: 9216
|
||||||
PLATFORM: payment
|
PLATFORM: payment
|
||||||
image: jeepay_payment:latest
|
image: jeepay-payment:latest
|
||||||
hostname: payment
|
hostname: payment
|
||||||
container_name: jeepay-payment
|
container_name: jeepay-payment
|
||||||
ports:
|
ports:
|
||||||
|
|
@ -142,7 +146,7 @@ services:
|
||||||
args:
|
args:
|
||||||
PORT: 9217
|
PORT: 9217
|
||||||
PLATFORM: manager
|
PLATFORM: manager
|
||||||
image: jeepay_manager:latest
|
image: jeepay-manager:latest
|
||||||
hostname: manager
|
hostname: manager
|
||||||
container_name: jeepay-manager
|
container_name: jeepay-manager
|
||||||
ports:
|
ports:
|
||||||
|
|
@ -166,7 +170,7 @@ services:
|
||||||
args:
|
args:
|
||||||
PORT: 9218
|
PORT: 9218
|
||||||
PLATFORM: merchant
|
PLATFORM: merchant
|
||||||
image: jeepay_merchant:latest
|
image: jeepay-merchant:latest
|
||||||
hostname: merchant
|
hostname: merchant
|
||||||
container_name: jeepay-merchant
|
container_name: jeepay-merchant
|
||||||
ports:
|
ports:
|
||||||
|
|
@ -183,6 +187,60 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./logs/merchant:/workspace/logs
|
- ./logs/merchant:/workspace/logs
|
||||||
- ./conf/merchant/application.yml:/workspace/application.yml
|
- ./conf/merchant/application.yml:/workspace/application.yml
|
||||||
|
ui-payment:
|
||||||
|
build:
|
||||||
|
context: ./jeepay-ui
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
args:
|
||||||
|
PLATFORM: cashier
|
||||||
|
image: jeepay-ui-payment:latest
|
||||||
|
hostname: payment-ui
|
||||||
|
container_name: jeepay-ui-payment
|
||||||
|
environment:
|
||||||
|
- BACKEND_HOST=172.20.0.21:9216
|
||||||
|
ports:
|
||||||
|
- "9226:80"
|
||||||
|
depends_on:
|
||||||
|
- payment
|
||||||
|
networks:
|
||||||
|
jeepay:
|
||||||
|
ipv4_address: 172.20.0.31
|
||||||
|
ui-manager:
|
||||||
|
build:
|
||||||
|
context: ./jeepay-ui
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
args:
|
||||||
|
PLATFORM: manager
|
||||||
|
image: jeepay-ui-manager:latest
|
||||||
|
hostname: manager-ui
|
||||||
|
container_name: jeepay-ui-manager
|
||||||
|
environment:
|
||||||
|
- BACKEND_HOST=172.20.0.22:9217
|
||||||
|
ports:
|
||||||
|
- "9227:80"
|
||||||
|
depends_on:
|
||||||
|
- manager
|
||||||
|
networks:
|
||||||
|
jeepay:
|
||||||
|
ipv4_address: 172.20.0.32
|
||||||
|
ui-merchant:
|
||||||
|
build:
|
||||||
|
context: ./jeepay-ui
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
args:
|
||||||
|
PLATFORM: merchant
|
||||||
|
image: jeepay-ui-merchant:latest
|
||||||
|
hostname: merchant-ui
|
||||||
|
container_name: jeepay-ui-merchant
|
||||||
|
environment:
|
||||||
|
- BACKEND_HOST=172.20.0.23:9218
|
||||||
|
ports:
|
||||||
|
- "9228:80"
|
||||||
|
depends_on:
|
||||||
|
- merchant
|
||||||
|
networks:
|
||||||
|
jeepay:
|
||||||
|
ipv4_address: 172.20.0.33
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
jeepay:
|
jeepay:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue