-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
130 lines (122 loc) · 2.85 KB
/
Copy pathdocker-compose.yml
File metadata and controls
130 lines (122 loc) · 2.85 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
services:
redis:
image: redis:7-alpine
container_name: entrydsm-redis
restart: unless-stopped
gateway:
build:
context: .
dockerfile: Dockerfile
args:
SERVICE: gateway
container_name: entrydsm-gateway
env_file:
- ./systems/gateway/.env
environment:
SERVER_PORT: "8080"
GATEWAY_SERVICES_IDENTITY: http://identity:8080
GATEWAY_SERVICES_APPLICATION: http://application:8080
GATEWAY_SERVICES_ADMIN: http://admin:8080
GATEWAY_SERVICES_NOTIFICATION: http://notification:8080
GATEWAY_SERVICES_OBSERVABILITY: http://observability:8080
GATEWAY_SERVICES_CONFIGURATION: http://configuration:8080
GATEWAY_RESILIENCE_REDIS_URI: redis://redis:6379
ports:
- "8080:8080"
depends_on:
- redis
- identity
- application
- notification
- configuration
- admin
- observability
restart: unless-stopped
identity:
build:
context: .
dockerfile: Dockerfile
args:
SERVICE: identity
container_name: entrydsm-identity
env_file:
- ./systems/identity/.env
environment:
SERVER_PORT: "8080"
REDIS_URL: redis://redis:6379
PASS_LICENSE_FILE_PATH: /run/secrets/pass-license.dat
ports:
- "8081:8080"
depends_on:
- redis
restart: unless-stopped
application:
build:
context: .
dockerfile: Dockerfile
args:
SERVICE: application
container_name: entrydsm-application
environment:
SPRING_PROFILES_ACTIVE: dev
SERVER_PORT: "8080"
ports:
- "8082:8080"
restart: unless-stopped
admin:
build:
context: .
dockerfile: Dockerfile
args:
SERVICE: admin
container_name: entrydsm-admin
environment:
SPRING_PROFILES_ACTIVE: dev
SERVER_PORT: "8080"
ports:
- "8083:8080"
restart: unless-stopped
notification:
build:
context: .
dockerfile: Dockerfile
args:
SERVICE: notification
container_name: entrydsm-notification
environment:
SPRING_PROFILES_ACTIVE: dev
SERVER_PORT: "8080"
ports:
- "8084:8080"
restart: unless-stopped
observability:
build:
context: .
dockerfile: Dockerfile
args:
SERVICE: observability
container_name: entrydsm-observability
environment:
SPRING_PROFILES_ACTIVE: dev
SERVER_PORT: "8080"
ports:
- "8085:8080"
restart: unless-stopped
configuration:
build:
context: .
dockerfile: Dockerfile
args:
SERVICE: configuration
container_name: entrydsm-configuration
environment:
SPRING_PROFILES_ACTIVE: dev
SERVER_PORT: "8080"
GRPC_PORT: "9090"
ports:
- "8086:8080"
- "9096:9090"
restart: unless-stopped
networks:
default:
name: entrydsm-network