-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (39 loc) · 1.11 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
version: '3.8'
services:
upstream-service:
build:
context: "upstream-service"
container_name: "upstream-service"
depends_on:
- rabbitmq
ports:
- "12001:12001"
volumes:
- "./upstream-service/target/upstream-service.jar:/home/appuser/app.jar:ro"
downstream-service:
build:
context: "downstream-service"
container_name: "downstream-service"
depends_on:
- rabbitmq
ports:
- "12002:12002"
volumes:
- "./downstream-service/target/downstream-service.jar:/home/appuser/app.jar:ro"
rabbitmq:
image: rabbitmq:3.12.10-management
container_name: "rabbitmq"
ports:
- "15672:15672"
- "5672:5672"
volumes:
- "./rabbitmq/config/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:rw"
- "./rabbitmq/config/definitions.json:/etc/rabbitmq/definitions.json:rw"
localstack:
image: localstack/localstack:3.0.2
container_name: "localstack"
ports:
- "4566:4566"
volumes:
- "./localstack/config/startup.sh:/etc/localstack/init/ready.d/startup.sh"
- "/var/run/docker.sock:/var/run/docker.sock"