mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 04:39:00 +08:00
135 lines
2.8 KiB
YAML
135 lines
2.8 KiB
YAML
# 使用说明 V2.7.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
|
|
|
|
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-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
|