mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 04:39:00 +08:00
📝 修改工单模板,针对不予解决情况说明 配置文件添加读取环境变量的支持: 作用: 1.通过加持环境变量让运行更加灵活; 2.支持Docker官方的Docker Swarm多主机的集群支持; 说明: defaultZone: http://pig:pig@${EUREKA-HOST:pigx-eureka}:${EUREKA-PORT:8761}/eureka/ 如果配置了大括号里面的冒号前面的环境变量则使用,否则使用冒号后面的默认值. 🔧 修改配置文件。支持环境变量设置参数支持 🐳 Work about Docker. 修改dockerfile 🐳 Work about Docker. 修改dockerfile 🐳 Work about Docker. 修改dockerfile 🐛 Fixing a bug. 表名字处理 🐛 Fixing a bug. 修正租户表管理 🗃️ 执行数据库相关的变化。修改数据库数据
144 lines
3.1 KiB
YAML
144 lines
3.1 KiB
YAML
# 使用说明 V2.8.0
|
|
# 1. 使用docker-compose 宿主机不需要配置host来发现
|
|
# 2. 无需修改源码,根目录 docker-compose up 即可
|
|
# 3. 静静等待服务启动
|
|
|
|
version: '2'
|
|
services:
|
|
pigx-mysql:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./db/Dockerfile
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: root
|
|
restart: always
|
|
container_name: pigx-mysql
|
|
image: pigx-mysql
|
|
ports:
|
|
- 3306:3306
|
|
command: --lower_case_table_names=1
|
|
|
|
pigx-zookeeper:
|
|
image: zookeeper:3.4.13
|
|
restart: always
|
|
|
|
pigx-redis:
|
|
image: redis:4.0.10
|
|
restart: always
|
|
container_name: pigx-redis
|
|
|
|
pigx-eureka:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./pigx-eureka/Dockerfile
|
|
restart: always
|
|
container_name: pigx-eureka
|
|
image: pigx-eureka
|
|
ports:
|
|
- 8761:8761
|
|
|
|
pigx-config:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./pigx-config/Dockerfile
|
|
restart: always
|
|
container_name: pigx-config
|
|
image: pigx-config
|
|
|
|
pigx-gateway:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./pigx-gateway/Dockerfile
|
|
restart: always
|
|
container_name: pigx-gateway
|
|
image: pigx-gateway
|
|
ports:
|
|
- 9999:9999
|
|
|
|
pigx-auth:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./pigx-auth/Dockerfile
|
|
restart: always
|
|
container_name: pigx-auth
|
|
image: pigx-auth
|
|
|
|
pigx-upms:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./pigx-upms/pigx-upms-biz/Dockerfile
|
|
restart: always
|
|
container_name: pigx-upms
|
|
image: pigx-upms
|
|
|
|
pigx-monitor:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./pigx-visual/pigx-monitor/Dockerfile
|
|
restart: always
|
|
image: pigx-monitor
|
|
container_name: pigx-monitor
|
|
ports:
|
|
- 5001:5001
|
|
|
|
pigx-zipkin:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./pigx-visual/pigx-zipkin/Dockerfile
|
|
restart: always
|
|
image: pigx-zipkin
|
|
container_name: pigx-zipkin
|
|
ports:
|
|
- 5006:5006
|
|
|
|
pigx-daemon-quartz:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./pigx-visual/pigx-daemon-quartz/Dockerfile
|
|
restart: always
|
|
image: pigx-daemon-quartz
|
|
container_name: pigx-daemon-quartz
|
|
|
|
pigx-daemon-elastic-job:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./pigx-visual/pigx-daemon-elastic-job/Dockerfile
|
|
restart: always
|
|
image: pigx-daemon-elastic-job
|
|
container_name: pigx-daemon-elastic-job
|
|
|
|
pigx-codegen:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./pigx-visual/pigx-codegen/Dockerfile
|
|
restart: always
|
|
image: pigx-codegen
|
|
container_name: pigx-codegen
|
|
|
|
pigx-mp-manager:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./pigx-visual/pigx-mp-manager/Dockerfile
|
|
restart: always
|
|
image: pigx-mp-manager
|
|
container_name: pigx-mp-manager
|
|
|
|
pigx-activiti:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./pigx-visual/pigx-activiti/Dockerfile
|
|
restart: always
|
|
image: pigx-activiti
|
|
container_name: pigx-activiti
|
|
|
|
pigx-tx-manager:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./pigx-visual/pigx-tx-manager/Dockerfile
|
|
restart: always
|
|
image: pigx-tx-manager
|
|
container_name: pigx-tx-manager
|
|
ports:
|
|
- 5004:5004
|
|
- 9998:9998
|