123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- version: '3.4'
-
- services:
-
- mysql-db:
- image: mysql:8.0
- container_name: mysql-db
- restart: always
- ports:
- - "3036:3036"
- networks:
- - microservices
- environment:
- MYSQL_ROOT_PASSWORD: root
-
- eureka-server:
- image: eureka-server:latest
- container_name: eureka-server
- build: ../eureka-discovery-server
- ports:
- - "8761:8761"
- networks:
- - microservices
-
- service-gateway:
- image: service-gateway:latest
- container_name: service-gateway
- build: ../spring-cloud-gateway-service
- ports:
- - "8888:8888"
- links:
- - eureka-server
- networks:
- - microservices
- depends_on:
- - eureka-server
-
- address-microservice:
- image: address-microservice:latest
- container_name: address-microservice
- build: ../address-microservice
- ports:
- - "8180:8180"
- links:
- - eureka-server
- networks:
- - microservices
- depends_on:
- - eureka-server
-
- user-microservice:
- image: user-microservice:latest
- container_name: user-microservice
- build: ../user-microservice
- ports:
- - "8181:8181"
- links:
- - eureka-server
- networks:
- - microservices
- depends_on:
- - eureka-server
-
- company-microservice:
- image: company-microservice:latest
- container_name: company-microservice
- build: ../company-microservice
- ports:
- - "8182:8182"
- links:
- - eureka-server
- networks:
- - microservices
- depends_on:
- - eureka-server
-
- project-microservice:
- image: project-microservice:latest
- container_name: project-microservice
- build: ../project-microservice
- ports:
- - "8183:8183"
- links:
- - eureka-server
- networks:
- - microservices
- depends_on:
- - eureka-server
- networks:
- microservices:
|