Skip to content
Snippets Groups Projects
Commit a27fa624 authored by jurgenhaas's avatar jurgenhaas
Browse files

Add alerta service to maven apps

parent 43205e98
No related branches found
No related tags found
No related merge requests found
......@@ -41,3 +41,21 @@ services:
borgmatic: {{ docker_compose_borgmatic_service }}
{% endif %}
{% if alerta_apikey is defined %}
alerta:
image: 'registry.lakedrops.com/docker/alerta-proxy:1.0.1'
restart: unless-stopped
tty: true
environment:
- ALERTA_API_KEY={{ alerta_apikey }}
{% if alerta_environment is defined %}
- ALERTA_ENVIRONMENT={{ alerta_environment }}
{% endif %}
{% if alerta_project_id is defined %}
- ALERTA_PROJECT_ID={{ alerta_project_id }}
{% endif %}
{% if alerta_project_id is defined %}
- PORT={{ alerta_proxy_port }}
{% endif %}
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment