-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
70 lines (60 loc) · 1.89 KB
/
docker-compose.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
version: "3.3"
services:
rabbitmq:
ports:
- "15772:15672"
- "5772:5672"
container_name: "centralrabbitmq"
image: "rabbitmq:3-management"
links:
- "config-server"
config-server:
build: "spring-cloud-config-server/"
image: "spring-cloud-config-server:1"
ports:
- "8300:8300"
container_name: "configServer"
eureka-server:
build: "netflix-eureka-naming-server/"
image: "netflix-eureka-naming-server:1"
ports:
- "8761:8761"
container_name: "namingServer"
tracing-server:
build: "zipkin/"
image: "zipkin-server:1"
ports:
- "9411:9411"
container_name: "zipkinServer"
links:
- "rabbitmq"
movie-service:
build: "movie-service/"
image: "movie-service:1"
ports:
- "8100:8100"
volumes:
- "~/docker/mapped-volumes/microServicesArchitecture/movie-service1/:/root/logs/applications/movie-service/"
environment:
- "environment=dev"
container_name: "movie-service"
links:
- "rabbitmq"
- "config-server"
- "eureka-server"
- "tracing-server"
command: --spring.cloud.config.fail-fast=true --spring.cloud.config.retry.max-interval=5 --spring.cloud.config.retry.max-attempts=10000
songs-service:
build: "songs-service/"
image: "songs-service:1"
ports:
- "8200:8200"
volumes:
- "~/docker/mapped-volumes/microServicesArchitecture/songs-service1/:/root/logs/applications/songs-service/"
container_name: "songs-service"
links:
- "rabbitmq"
- "config-server"
- "eureka-server"
- "tracing-server"
command: --spring.cloud.config.fail-fast=true --spring.cloud.config.retry.max-interval=5 --spring.cloud.config.retry.max-attempts=10000