指定docker注解映射

This commit is contained in:
冷冷 2018-03-03 18:08:41 +08:00
parent 9372d9d8e0
commit 76a4f25627
1 changed files with 10 additions and 2 deletions

View File

@ -6,29 +6,37 @@ services:
dockerfile: Dockerfile-eureka
restart: always
ports:
- 59025:1025
- 1025:1025
pig-config:
links:
- pig-eureka:eureka
build:
context: ./
dockerfile: Dockerfile-config
restart: always
pig-gateway:
links:
- pig-eureka:eureka
build:
context: ./
dockerfile: Dockerfile-gateway
restart: always
ports:
- 59999:9999
- 9999:9999
pig-auth:
links:
- pig-eureka:eureka
build:
context: ./
dockerfile: Dockerfile-auth
restart: always
pig-upms-service:
links:
- pig-eureka:eureka
build:
context: ./
dockerfile: Dockerfile-upms