pig/docker-compose.yml

107 lines
2.0 KiB
YAML
Raw Permalink Normal View History

version: '3'
2019-02-01 21:06:59 +08:00
services:
pig-mysql:
build:
context: ./db
2019-02-01 21:06:59 +08:00
environment:
MYSQL_ROOT_HOST: "%"
2019-02-01 21:06:59 +08:00
MYSQL_ROOT_PASSWORD: root
restart: always
container_name: pig-mysql
image: pig-mysql
2024-05-20 23:13:55 +08:00
ports:
- 33306:3306
networks:
- spring_cloud_default
2019-02-01 21:06:59 +08:00
pig-redis:
2024-06-07 20:04:45 +08:00
image: registry.cn-hangzhou.aliyuncs.com/dockerhub_mirror/redis
2024-05-20 23:13:55 +08:00
ports:
- 36379:6379
2019-02-01 21:06:59 +08:00
restart: always
container_name: pig-redis
hostname: pig-redis
networks:
- spring_cloud_default
2019-02-01 21:06:59 +08:00
pig-register:
2019-02-01 21:06:59 +08:00
build:
context: ./pig-register
2019-02-01 21:06:59 +08:00
restart: always
ports:
- 8848:8848
- 9848:9848
container_name: pig-register
hostname: pig-register
image: pig-register
networks:
- spring_cloud_default
2019-02-01 21:06:59 +08:00
pig-gateway:
build:
context: ./pig-gateway
2019-02-01 21:06:59 +08:00
restart: always
ports:
- 9999:9999
container_name: pig-gateway
hostname: pig-gateway
image: pig-gateway
networks:
- spring_cloud_default
2019-02-01 21:06:59 +08:00
pig-auth:
build:
context: ./pig-auth
2019-02-01 21:06:59 +08:00
restart: always
container_name: pig-auth
hostname: pig-auth
image: pig-auth
networks:
- spring_cloud_default
2019-02-01 21:06:59 +08:00
pig-upms:
build:
context: ./pig-upms/pig-upms-biz
2019-02-01 21:06:59 +08:00
restart: always
container_name: pig-upms
hostname: pig-upms
image: pig-upms
networks:
- spring_cloud_default
2019-02-01 21:06:59 +08:00
pig-monitor:
build:
context: ./pig-visual/pig-monitor
2019-02-01 21:06:59 +08:00
restart: always
ports:
- 5001:5001
container_name: pig-monitor
hostname: pig-monitor
image: pig-monitor
networks:
- spring_cloud_default
2019-02-01 21:06:59 +08:00
pig-codegen:
build:
context: ./pig-visual/pig-codegen
2019-02-01 21:06:59 +08:00
restart: always
container_name: pig-codegen
hostname: pig-codegen
image: pig-codegen
networks:
- spring_cloud_default
pig-quartz:
build:
context: ./pig-visual/pig-quartz
restart: always
image: pig-quartz
container_name: pig-quartz
networks:
- spring_cloud_default
networks:
spring_cloud_default:
name: spring_cloud_default
driver: bridge