diff --git a/docker-compose/alerta.yml b/docker-compose/alerta.yml new file mode 100644 index 0000000000000000000000000000000000000000..488d22333159eded1924e4a70b4456aa6843930e --- /dev/null +++ b/docker-compose/alerta.yml @@ -0,0 +1,36 @@ +version: '2.1' + +volumes: + alerta-postgres-data: {} + +services: + alerta-web: + image: alerta/alerta-web + container_name: alerta-web + networks: + - control + ports: + - "8081:8080" + depends_on: + - alerta-db + environment: + - DEBUG=1 # remove this line to turn DEBUG off + - DATABASE_URL=postgres://postgres:postgres@alerta-db:5432/monitoring + - AUTH_REQUIRED=True + - ADMIN_USERS=admin #default password: alerta + - ADMIN_KEY=demo-key + - PLUGINS=reject,blackout,normalise,enhance + restart: always + + alerta-db: + image: postgres + container_name: alerta-db + networks: + - control + volumes: + - alerta-postgres-data:/var/lib/postgresql/data + environment: + POSTGRES_DB: monitoring + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + restart: always diff --git a/tangostationcontrol/docs/source/interfaces/overview.rst b/tangostationcontrol/docs/source/interfaces/overview.rst index a00ab5710ad863b4f10d1bb0ee93ab3f547826d5..e077c73dde0f7467807cbbf0c7f8d8abe797a205 100644 --- a/tangostationcontrol/docs/source/interfaces/overview.rst +++ b/tangostationcontrol/docs/source/interfaces/overview.rst @@ -10,6 +10,8 @@ The station provides the following interfaces accessible through your browser (a +---------------------+---------+----------------------+-------------------+ | :doc:`monitoring` |Grafana |http://localhost:3000 |admin/admin | +---------------------+---------+----------------------+-------------------+ +| Alerting |Alerta |http://localhost:8081 |admin/alerta | ++---------------------+---------+----------------------+-------------------+ | :doc:`logs` |Kibana |http://localhost:5601 | | +---------------------+---------+----------------------+-------------------+