Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
1ff8994d
Commit
1ff8994d
authored
Mar 30, 2022
by
陈泉
Browse files
完善统一前端部署
parent
b3b37a3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
1ff8994d
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment