February 2019
Intermediate to advanced
446 pages
10h 55m
English
Now, we are ready execute our code. Let's update the docker-compose configuration as follows. We'll add two new services—Eureka Server and Config Server:
version: '3'services: eureka: image: localhost:5000/sourabhh/eureka-server:PACKT-SNAPSHOT ports: - "8761:8761" config: image: localhost:5000/sourabhh/config-server:PACKT-SNAPSHOT ports: - "8888:8888" restaurant-service: image: localhost:5000/sourabhh/restaurant-service:PACKT-SNAPSHOT ports: - "8080:8080" links: - eureka - config booking-service: image: localhost:5000/sourabhh/booking-service:PACKT-SNAPSHOT ports: - "8081:8080" links: - eureka - config user-service: image: localhost:5000/sourabhh/user-service:PACKT-SNAPSHOT restart: on-failure ...
Read now
Unlock full access