2019-02-01 21:06:59 +08:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
pig-mysql:
|
|
|
|
build:
|
|
|
|
context: ./
|
2019-02-14 11:34:39 +08:00
|
|
|
dockerfile: ./db/Dockerfile
|
2019-02-01 21:06:59 +08:00
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: root
|
|
|
|
restart: always
|
|
|
|
container_name: pig-mysql
|
|
|
|
image: pig-mysql
|
|
|
|
ports:
|
|
|
|
- 3306:3306
|
|
|
|
|
|
|
|
pig-redis:
|
|
|
|
image: redis:5.0
|
|
|
|
ports:
|
|
|
|
- 6379:6379
|
|
|
|
restart: always
|
|
|
|
container_name: pig-redis
|
|
|
|
hostname: pig-redis
|
|
|
|
|
2019-11-29 17:20:52 +08:00
|
|
|
pig-register:
|
2019-02-01 21:06:59 +08:00
|
|
|
build:
|
|
|
|
context: ./
|
2019-11-29 17:20:52 +08:00
|
|
|
dockerfile: ./pig-register/Dockerfile
|
2019-02-01 21:06:59 +08:00
|
|
|
restart: always
|
|
|
|
ports:
|
2019-11-29 17:20:52 +08:00
|
|
|
- 8848:8848
|
|
|
|
container_name: pig-register
|
|
|
|
hostname: pig-register
|
|
|
|
image: pig-register
|
2019-02-01 21:06:59 +08:00
|
|
|
|
|
|
|
pig-gateway:
|
|
|
|
build:
|
|
|
|
context: ./
|
|
|
|
dockerfile: ./pig-gateway/Dockerfile
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 9999:9999
|
|
|
|
container_name: pig-gateway
|
|
|
|
hostname: pig-gateway
|
|
|
|
image: pig-gateway
|
|
|
|
|
|
|
|
pig-auth:
|
|
|
|
build:
|
|
|
|
context: ./
|
|
|
|
dockerfile: ./pig-auth/Dockerfile
|
|
|
|
restart: always
|
|
|
|
container_name: pig-auth
|
|
|
|
hostname: pig-auth
|
|
|
|
image: pig-auth
|
|
|
|
|
|
|
|
pig-upms:
|
|
|
|
build:
|
|
|
|
context: ./
|
|
|
|
dockerfile: ./pig-upms/pig-upms-biz/Dockerfile
|
|
|
|
restart: always
|
|
|
|
container_name: pig-upms
|
|
|
|
hostname: pig-upms
|
|
|
|
image: pig-upms
|
|
|
|
|
|
|
|
pig-monitor:
|
|
|
|
build:
|
|
|
|
context: ./
|
2019-11-29 17:20:52 +08:00
|
|
|
dockerfile: ./pig-monitor/Dockerfile
|
2019-02-01 21:06:59 +08:00
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 5001:5001
|
|
|
|
container_name: pig-monitor
|
|
|
|
hostname: pig-monitor
|
|
|
|
image: pig-monitor
|
|
|
|
|
|
|
|
pig-codegen:
|
|
|
|
build:
|
|
|
|
context: ./
|
2019-11-29 17:20:52 +08:00
|
|
|
dockerfile: ./pig-codegen/Dockerfile
|
2019-02-01 21:06:59 +08:00
|
|
|
restart: always
|
|
|
|
container_name: pig-codegen
|
|
|
|
hostname: pig-codegen
|
|
|
|
image: pig-codegen
|