diff --git a/docker-compose/alerta-web/Dockerfile b/docker-compose/alerta-web/Dockerfile index 8a1845a7a3b9aed0a20cf30505be1cd3218bf729..090c14354a37260d75a506cabd53226d9f35865b 100644 --- a/docker-compose/alerta-web/Dockerfile +++ b/docker-compose/alerta-web/Dockerfile @@ -1,3 +1,8 @@ FROM alerta/alerta-web +COPY alertad.conf /app/alertad.conf +COPY alerta.conf /app/alerta.conf +COPY config.json /web/config.json + RUN pip install git+https://github.com/alerta/alerta-contrib.git#subdirectory=plugins/slack + diff --git a/docker-compose/alerta-web/alerta.conf b/docker-compose/alerta-web/alerta.conf new file mode 100644 index 0000000000000000000000000000000000000000..64c8ec7019847aff146f166699aef5fc933c7560 --- /dev/null +++ b/docker-compose/alerta-web/alerta.conf @@ -0,0 +1,7 @@ +[DEFAULT] +sslverify = no +output = presto +endpoint = http://localhost:8080/api +timezone = Europe/London +key = NpzX0z_fX8TVKZtXpzop-pi2MhaGnLawKVqbJBoA +debug = yes diff --git a/docker-compose/alerta-web/alertad.conf b/docker-compose/alerta-web/alertad.conf new file mode 100644 index 0000000000000000000000000000000000000000..96c25994054d7ffffc1ca720c46ca734abf9be63 --- /dev/null +++ b/docker-compose/alerta-web/alertad.conf @@ -0,0 +1,4 @@ +DEBUG = True +SECRET = "T=&7xvF2S&x7w_JAcq$h1x5ocfA)8H2i" + +PLUGINS = ['reject', 'blackout', 'normalise', 'enhance', 'slack'] diff --git a/docker-compose/alerta-web/config.json b/docker-compose/alerta-web/config.json new file mode 100644 index 0000000000000000000000000000000000000000..004ae8e0a0ef78ef99f8fd1b0ea68d851624f84d --- /dev/null +++ b/docker-compose/alerta-web/config.json @@ -0,0 +1 @@ +{"endpoint": "/api"}