-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
77 lines (73 loc) · 2.22 KB
/
docker-compose.yml
File metadata and controls
77 lines (73 loc) · 2.22 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
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
76
77
version: '3.7'
services:
config-server:
build: config-server
image: "simple-cinema/config-server"
container_name: "config-server"
ports:
- "9999:9999"
environment:
TZ: Canada/Eastern
discovery-server:
build:
context: discovery-server
dockerfile: ../docker/Dockerfile
args:
DOCKERIZE_VERSION: $DOCKERIZE_VERSION
image: "simple-cinema/discovery-server"
container_name: "discovery-server"
depends_on:
- config-server
entrypoint: ["./dockerize","-wait=tcp://config-server:9999","-timeout=120s","--","java", "-jar", "app.jar", "--spring.profiles.active=docker"]
ports:
- "8761:8761"
environment:
TZ: Canada/Eastern
admin-server:
build:
context: admin-server
dockerfile: ../docker/Dockerfile
args:
DOCKERIZE_VERSION: $DOCKERIZE_VERSION
image: "simple-cinema/admin-server"
container_name: "admin-server"
depends_on:
- config-server
- discovery-server
entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-jar", "app.jar", "--spring.profiles.active=docker"]
ports:
- "9090:9090"
environment:
TZ: Canada/Eastern
api-gateway:
build:
context: api-gateway
dockerfile: ../docker/Dockerfile
args:
DOCKERIZE_VERSION: $DOCKERIZE_VERSION
image: "simple-cinema/api-gateway"
container_name: "api-gateway"
depends_on:
- config-server
- discovery-server
entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-jar", "app.jar", "--spring.profiles.active=docker"]
ports:
- "8000:8000"
environment:
TZ: Canada/Eastern
hystrix-dashboard:
build:
context: hystrix-dashboard
dockerfile: ../docker/Dockerfile
args:
DOCKERIZE_VERSION: $DOCKERIZE_VERSION
image: "simple-cinema/hystrix-dashboard"
container_name: "hystrix-dashboard"
depends_on:
- config-server
- discovery-server
entrypoint: ["./dockerize","-wait=tcp://discovery-server:8761","-timeout=120s","--","java", "-jar", "app.jar", "--spring.profiles.active=docker"]
ports:
- "7979:7979"
environment:
TZ: Canada/Eastern