mirror of
https://github.com/jeequan/jeepay
synced 2024-11-17 23:08:03 +08:00
完善统一前端部署
This commit is contained in:
parent
b3b37a3a69
commit
1ff8994da4
@ -8,6 +8,10 @@ version: '3'
|
||||
# 重新创建 docker-composer up --force-recreate
|
||||
# 重新编译并覆盖之前的 docker-composer up --build --force-recreate
|
||||
|
||||
|
||||
# 编译前端请先执行 git submodule updata --init --recursive
|
||||
# 或者 git clone https://gitee.com/jeequan/jeepay-ui.git
|
||||
|
||||
services:
|
||||
mysql:
|
||||
hostname: mysql
|
||||
@ -118,7 +122,7 @@ services:
|
||||
args:
|
||||
PORT: 9216
|
||||
PLATFORM: payment
|
||||
image: jeepay_payment:latest
|
||||
image: jeepay-payment:latest
|
||||
hostname: payment
|
||||
container_name: jeepay-payment
|
||||
ports:
|
||||
@ -142,7 +146,7 @@ services:
|
||||
args:
|
||||
PORT: 9217
|
||||
PLATFORM: manager
|
||||
image: jeepay_manager:latest
|
||||
image: jeepay-manager:latest
|
||||
hostname: manager
|
||||
container_name: jeepay-manager
|
||||
ports:
|
||||
@ -166,7 +170,7 @@ services:
|
||||
args:
|
||||
PORT: 9218
|
||||
PLATFORM: merchant
|
||||
image: jeepay_merchant:latest
|
||||
image: jeepay-merchant:latest
|
||||
hostname: merchant
|
||||
container_name: jeepay-merchant
|
||||
ports:
|
||||
@ -183,6 +187,60 @@ services:
|
||||
volumes:
|
||||
- ./logs/merchant:/workspace/logs
|
||||
- ./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:
|
||||
jeepay:
|
||||
|
Loading…
Reference in New Issue
Block a user