-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 787 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (37 loc) · 787 Bytes
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
version: '3'
services:
rabbitmq:
image: rabbitmq:3
umapi:
build:
context: ./user-management-api
environment:
RABBITMQ_HOST: rabbitmq
RABBITMQ_PORT: 5672
AUTH_ENDPOINT: http://authapi:8080/tokens
USER_ENDPOINT: http://uapi:8080/users
ports:
- "8080:8080"
volumes:
- ./user-management-api:/opt
uapi:
build:
context: ./user-api
environment:
AUTH_ENDPOINT: http://authapi:8080/tokens
volumes:
- ./user-api:/opt
authapi:
build:
context: ./auth-api
volumes:
- ./auth-api:/opt
consumer:
build:
context: ./consumer
environment:
RABBITMQ_HOST: rabbitmq
RABBITMQ_PORT: 5672
USER_ENDPOINT: http://uapi:8080/users
volumes:
- ./consumer:/opt