指定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 dockerfile: Dockerfile-eureka
restart: always restart: always
ports: ports:
- 59025:1025 - 1025:1025
pig-config: pig-config:
links:
- pig-eureka:eureka
build: build:
context: ./ context: ./
dockerfile: Dockerfile-config dockerfile: Dockerfile-config
restart: always restart: always
pig-gateway: pig-gateway:
links:
- pig-eureka:eureka
build: build:
context: ./ context: ./
dockerfile: Dockerfile-gateway dockerfile: Dockerfile-gateway
restart: always restart: always
ports: ports:
- 59999:9999 - 9999:9999
pig-auth: pig-auth:
links:
- pig-eureka:eureka
build: build:
context: ./ context: ./
dockerfile: Dockerfile-auth dockerfile: Dockerfile-auth
restart: always restart: always
pig-upms-service: pig-upms-service:
links:
- pig-eureka:eureka
build: build:
context: ./ context: ./
dockerfile: Dockerfile-upms dockerfile: Dockerfile-upms