0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-01-26 02:08:31 +00:00
alerta_alerta/docker-compose.yml
Nick Satterly 1538a97717
Add forwarder plugin for federated Alerta (#1161)
* Add alerts and action forwarder plugin for federated setups

* Add tests for forwarder plugin
2020-04-30 21:26:49 +02:00

52 lines
987 B
YAML

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