forked from alerta/alerta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (46 loc) · 987 Bytes
/
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
version: '3'
services:
alerta-web-mom:
image: alerta/alerta-beta
ports:
- 8081:80
alerta-api-mom:
build: .
image: alerta-api
environment:
DATABASE_URL: postgres://postgres:postgres@mom-db/mom
depends_on:
- mom-db
ports:
- 8080:8080
alerta-web-mlm:
image: alerta/alerta-beta
ports:
- 9081:80
alerta-api-mlm:
build: .
image: alerta-api
environment:
DATABASE_URL: postgres://postgres:postgres@mlm-db/mlm
depends_on:
- mlm-db
ports:
- 9080:8080
mom-db:
image: postgres
volumes:
- ./pg-data-mom:/var/lib/postgresql/data
environment:
POSTGRES_DB: mom
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
restart: always
mlm-db:
image: postgres
volumes:
- ./pg-data-mlm:/var/lib/postgresql/data
environment:
POSTGRES_DB: mlm
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
restart: always