forked from AlicanAkkus/microservice-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-local.yml
45 lines (41 loc) · 930 Bytes
/
docker-compose-local.yml
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
39
40
41
42
43
44
45
version: '3.3'
services:
config-server:
image: config-server:v1
build: ./config-server
env_file:
- config-server/env/native.env
ports:
- '8088:8080'
discovery-server:
image: discovery-server:v1
build: ./discovery-server
env_file:
- discovery-server/env/local.env
ports:
- '8090:8080'
depends_on:
- config-server
employee-service:
image: employee-service:v1
build: ./employee-service
env_file:
- employee-service/env/local.env
ports:
- '8092:8080'
depends_on:
- discovery-server
- config-server
restart: on-failure
organization-service:
image: organization-service:v1
build: ./organization-service
env_file:
- organization-service/env/local.env
ports:
- '8094:8080'
depends_on:
- config-server
- discovery-server
- employee-service
restart: on-failure