123456789101112131415161718192021222324252627282930313233343536373839404142 |
- # 使用说明 V4.6.0
- # 1. 使用docker-compose 宿主机不需要配置host来发现
- # 2. 无需修改源码,根目录 docker-compose up 即可
- # 3. 静静等待服务启动
- version: '3'
- services:
- pigx-mysql:
- build:
- context: ./db
- environment:
- MYSQL_ROOT_HOST: "%"
- MYSQL_ROOT_PASSWORD: root
- restart: always
- container_name: pigx-mysql
- image: pigx-mysql
- ports:
- - 3306:3306
- volumes:
- - ./pigx-mysql:/var/lib/mysql
- command: --lower_case_table_names=1
- pigx-redis:
- container_name: pigx-redis
- image: redis:6.2.6
- restart: always
- ports:
- - 6379:6379
- pigx-upms:
- build:
- context: ./pigx-upms/pigx-upms-biz
- restart: always
- container_name: pigx-upms
- image: pigx-upms
- pigx-codegen:
- build:
- context: ./pigx-visual/pigx-codegen
- restart: always
- image: pigx-codegen
- container_name: pigx-codegen
|