-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.dev.yml
112 lines (104 loc) · 2.56 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
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
version: "3.8"
services:
config:
build: config
environment:
CONFIG_PASSWORD: $CONFIG_PASSWORD
ports:
- "8888:8888"
volumes:
- ./config/target/config-0.0.1-SNAPSHOT.jar:/app.jar
registry:
build: registry
environment:
CONFIG_PASSWORD: $CONFIG_PASSWORD
depends_on:
config:
condition: service_healthy
ports:
- "8761:8761"
volumes:
- ./registry/target/registry-0.0.1-SNAPSHOT.jar:/app.jar
auth-service:
build: auth-service
environment:
CONFIG_PASSWORD: $CONFIG_PASSWORD
POSTGRES_PASSWORD: $AUTH_POSTGRES_PASSWORD
depends_on:
config:
condition: service_healthy
registry:
condition: service_healthy
auth-postgres:
condition: service_healthy
ports:
- "8081:8081"
volumes:
- ./auth-service/target/auth-service-0.0.1-SNAPSHOT.jar:/app.jar
auth-postgres:
build: postgres
environment:
POSTGRES_PASSWORD: $AUTH_POSTGRES_PASSWORD
ports:
- "9081:5432"
account-service:
build: account-service
environment:
CONFIG_PASSWORD: $CONFIG_PASSWORD
POSTGRES_PASSWORD: $ACCOUNT_POSTGRES_PASSWORD
depends_on:
config:
condition: service_healthy
registry:
condition: service_healthy
account-postgres:
condition: service_healthy
auth-service:
condition: service_healthy
ports:
- "8082:8082"
volumes:
- ./account-service/target/account-service-0.0.1-SNAPSHOT.jar:/app.jar
account-postgres:
build: postgres
environment:
POSTGRES_PASSWORD: $ACCOUNT_POSTGRES_PASSWORD
ports:
- "9082:5432"
chat-service:
build: chat-service
environment:
CONFIG_PASSWORD: $CONFIG_PASSWORD
POSTGRES_PASSWORD: $CHAT_POSTGRES_PASSWORD
depends_on:
config:
condition: service_healthy
registry:
condition: service_healthy
chat-postgres:
condition: service_healthy
auth-service:
condition: service_healthy
ports:
- "8083:8083"
volumes:
- ./chat-service/target/chat-service-0.0.1-SNAPSHOT.jar:/app.jar
chat-postgres:
build: postgres
environment:
POSTGRES_PASSWORD: $CHAT_POSTGRES_PASSWORD
ports:
- "9083:5432"
gateway:
build: gateway
environment:
CONFIG_PASSWORD: $CONFIG_PASSWORD
depends_on:
config:
condition: service_healthy
registry:
condition: service_healthy
ports:
- "8080:8080"
volumes:
- ./gateway/target/gateway-0.0.1-SNAPSHOT.jar:/app.jar