-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.override.yml
72 lines (62 loc) · 1.52 KB
/
docker-compose.override.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
version: "3.4"
# Put environment, ports and other DEVELOPMENT only information here
services:
# Other
identity.svc:
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "5200:80"
- "5201:443"
rabbitmq:
hostname: rshp # this is used to set the node name, ie. rabbitmq@rshp.
ports:
- "5100:15672"
volumes:
- rbtmq-data:/var/lib/rabbitmq
# OBS: Ideally we want to use the version below. Unfortunely the cuurrent rabbitmq images create a default volume that can't be disabled.
# A PR with a fix is up on the docker-lib github.
# - rbtmq-data:/var/lib/rabbitmq/mnesia/rabbit@rshp # Persist mnesia db. The "rabbit@rshp" part is the node name.
apigw:
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "5000:80"
# Databases
identity.db:
environment:
POSTGRES_PASSWORD: example
ports:
- "5433:5432"
volumes:
- identity-data:/var/lib/postgresql/data
bm.db:
environment:
POSTGRES_PASSWORD: example
ports:
- "5434:5432"
volumes:
- bm-data:/var/lib/postgresql/data
acc.db:
environment:
POSTGRES_PASSWORD: example
ports:
- "5435:5432"
volumes:
- acc-data:/var/lib/postgresql/data
# APIs
bm.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "5001:80"
acc.api:
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "5002:80"
volumes:
rbtmq-data:
identity-data:
bm-data:
acc-data: