-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (38 loc) · 1.11 KB
/
docker-compose.yml
File metadata and controls
38 lines (38 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#docker-compose up
#docker-compose down
services:
discovery-service:
container_name: discovery-service
image: guill392/discovery-service:latest
build: ./DiscoveryServer
ports:
- "8761:8761"
api-gateway:
container_name: api-gateway
image: guill392/api-gateway:latest
build: ./APIGateway
depends_on:
- discovery-service
ports:
- "9000:9000"
environment:
- SPRING_APPLICATION_NAME=API-GATEWAY
- EUREKA_CLIENT_SERVICE_URL_DEFAULTZONE=http://host.docker.internal:8761/eureka
auth-service:
container_name: auth-service
image: guill392/auth-service:latest
build: ./AuthRegService
depends_on:
- api-gateway
environment:
- SPRING_APPLICATION_NAME=AUTH-SERVER
- EUREKA_CLIENT_SERVICE_URL_DEFAULTZONE=http://host.docker.internal:8761/eureka
store-service:
container_name: store-service
image: guill392/store-service:latest
build: ./Store
depends_on:
- auth-service
environment:
- SPRING_APPLICATION_NAME=STORE-SERVICE
- EUREKA_CLIENT_SERVICE_URL_DEFAULTZONE=http://host.docker.internal:8761/eureka