代码拉取完成,页面将自动刷新
同步操作将从 计全科技/jeepay 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3'
# Maven 依赖提前编译,修改 MQ 队列 (修改 jeepay-components-mq 依赖) 也需要重新运行此命令
# docker build -t jeepay-deps:latest -f docs/Dockerfile .
# 启动命令 docker-compose up
# 启动并运行在后台 docker-compose up -d
# 重新编译 docker-compose up --build
# 重新创建 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:
# activemq:
# build:
# context: ./docker/activemq
# dockerfile: Dockerfile
# hostname: activemq
# container_name: jeepay-activemq
# image: jeepay-activemq:latest
# ports:
# #- "1883:1883"
# #- "5672:5672"
# - "8161:8161"
# #- "61613:61613"
# #- "61614:61614"
# - "61616:61616"
# volumes:
# - activemq:/opt/activemq
# - ./docker/activemq/activemq.xml:/opt/activemq/conf/activemq.xml
# networks:
# jeepay:
# ipv4_address: 172.20.0.11
payment:
build:
context: ./jeepay-payment
dockerfile: Dockerfile
args:
PORT: 9216
PLATFORM: payment
image: jeepay-payment:latest
hostname: payment
container_name: jeepay-payment
ports:
- "9216:9216"
# networks:
# jeepay:
# ipv4_address: 172.20.0.21
volumes:
- ./logs/payment:/workspace/logs
- ./conf/payment/application.yml:/workspace/application.yml
- ./uploads:/home/jeepay/upload
manager:
build:
context: ./jeepay-manager
dockerfile: Dockerfile
args:
PORT: 9217
PLATFORM: manager
image: jeepay-manager:latest
hostname: manager
container_name: jeepay-manager
ports:
- "9217:9217"
# networks:
# jeepay:
# ipv4_address: 172.20.0.22
volumes:
- ./logs/manager:/workspace/logs
- ./conf/manager/application.yml:/workspace/application.yml
- ./uploads:/home/jeepay/upload
merchant:
build:
context: ./jeepay-merchant
dockerfile: Dockerfile
args:
PORT: 9218
PLATFORM: merchant
image: jeepay-merchant:latest
hostname: merchant
container_name: jeepay-merchant
ports:
- "9218:9218"
# networks:
# jeepay:
# ipv4_address: 172.20.0.23
volumes:
- ./logs/merchant:/workspace/logs
- ./conf/merchant/application.yml:/workspace/application.yml
- ./uploads:/home/jeepay/upload
ui-payment:
build:
context: ${UI_BASE_DIR}/jeepay-ui
dockerfile: Dockerfile
args:
PLATFORM: cashier
image: jeepay-ui-payment:latest
hostname: payment-ui
container_name: jeepay-ui-payment
environment:
- BACKEND_HOST=127.0.0.1:9216
ports:
- "9226:80"
depends_on:
- payment
ui-manager:
build:
context: ${UI_BASE_DIR}/jeepay-ui
dockerfile: Dockerfile
args:
PLATFORM: manager
image: jeepay-ui-manager:latest
hostname: manager-ui
container_name: jeepay-ui-manager
environment:
- BACKEND_HOST=127.0.0.1:9217
ports:
- "9227:80"
depends_on:
- manager
ui-merchant:
build:
context: ${UI_BASE_DIR}/jeepay-ui
dockerfile: Dockerfile
args:
PLATFORM: merchant
image: jeepay-ui-merchant:latest
hostname: merchant-ui
container_name: jeepay-ui-merchant
environment:
- BACKEND_HOST=127.0.0.1:9218
ports:
- "9228:80"
depends_on:
- merchant
# 如果你需要对外完整配置,可以使用下面的方式
# https://www.digitalocean.com/community/tools/nginx?domains.0.server.domain=pay.test.com&domains.0.server.documentRoot=&domains.0.server.redirectSubdomains=false&domains.0.https.hsts=false&domains.0.https.hstsPreload=true&domains.0.php.php=false&domains.0.reverseProxy.reverseProxy=true&domains.0.reverseProxy.proxyPass=http%3A%2F%2F172.20.0.26%3A9226&domains.0.routing.index=index.html&domains.0.routing.fallbackHtml=true&domains.0.routing.fallbackPhp=false&domains.0.logging.accessLog=true&domains.0.logging.errorLog=true&global.reverseProxy.proxyCoexistenceXForwarded=remove&global.app.lang=zhCN
# 访问并配置好所有域名和代理,下载文件放到项目根目录下取名叫做 nginx.tar.gz
#nginx:
# image: nginx:latest
# hostname: nginx
# container_name: jeepay-nginx
# ports:
# - "80:80"
# - "443:443"
# depends_on:
# - ui-manager
# - ui-payment
# - ui-merchant
# volumes:
# - ./nginx.tar.gz:/etc/nginx/nginx.tar.gz
# # 需要给权限比如 chmod a+r ./conf/nginx.sh
# - ./docker/nginx.sh:/docker-entrypoint.d/nginx.sh
#networks:
# jeepay:
# ipam:
# config:
# - subnet: 172.20.0.0/16
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。