123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- # 使用说明 V2.1.0
- # 1. 使用docker-compose 宿主机不需要配置host来发现
- # 2. 无需修改源码,根目录 docker-compose up 即可
- # 3. 静静等待服务启动
- version: '2'
- services:
- pigx-mysql:
- build:
- context: ./
- dockerfile: ./doc/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-daemon:
- build:
- context: ./
- dockerfile: ./pigx-visual/pigx-daemon/Dockerfile
- restart: always
- image: pigx-daemon
- container_name: pigx-daemon
- 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
|