-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (52 loc) · 1.38 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: '3.7'
# This docker-compose file can be used to build the orchestration-related images
# It can also be used to run only the orchestration-related containers during development, when other services are started manually
services:
mls-gateway:
image: wrkfmdit/mls-gateway:${MLS_TAG:-latest}
build:
context: ./gateway
args:
APP: api-gateway
network: host
ports:
- "8090:8080"
environment:
SPRING_PROFILES_ACTIVE: docker
tmpfs:
- /tmp
volumes:
- type: bind
source: ${MLS_GATEWAY_CONFIG:-./gateway/src/main/resources}
target: /config
read_only: true
- type: bind
source: ${MLS_LOG:-./log}
target: /log
mls-amqp:
image: wrkfmdit/mls-amqp:${MLS_TAG:-latest}
build: ./amqp
ports:
- "5672:5672"
- "15672:15672"
- "61613:61613"
environment:
RABBITMQ_DEFAULT_USER: mls-rabbitmq-user
RABBITMQ_DEFAULT_PASS: mls-rabbitmq-pass
mls-db:
image: wrkfmdit/mls-db:${MLS_TAG:-latest}
build:
context: ./db
environment:
- POSTGRES_USER=mls
- POSTGRES_PASSWORD=mls-root-password
- POSTGRES_DATABASES=mls-coceso:mls-coceso-password,mls-auth:mls-auth-password
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
default:
name: mls-network
volumes:
postgres-data: