-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
75 lines (69 loc) · 1.41 KB
/
docker-compose.dev.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
version: '2.1'
services:
db:
container_name: kurly-db
image: mysql:latest
ports:
- 3306:3306
expose:
- 3306
volumes:
- ./init.sql:/mysql/init.sql
environment:
MYSQL_DATABASE: kurly
MYSQL_USER: testuser
MYSQL_PASSWORD: secret
MYSQL_ROOT_PASSWORD: secret
discovery-server:
container_name: discovery-server
build: discovery-server
ports:
- 8761:8761
expose:
- 8761
config-server:
container_name: config-server
build: config-server
depends_on:
discovery-server:
condition: service_healthy
expose:
- 8888
kurly-service:
container_name: kurly-backend
build: kurly-service
ports:
- 9000:9000
environment:
PROFILE: mysql
depends_on:
db:
condition: service_started
discovery-server:
condition: service_healthy
config-server:
condition: service_healthy
kurly-app:
container_name: kurly-frontend
build: kurly-app
ports:
- 8000:8000
depends_on:
discovery-server:
condition: service_healthy
# hystrix-dashboard:
# container_name: hystrix-dashboard
# build: hystrix-dashboard
# ports:
# - 8080:8080
#
# turbine:
# container_name: turbine
# build: turbine
# depends_on:
# discovery-server:
# condition: service_healthy
# expose:
# - 3000
networks:
default: