Send alarms by email

Addition of mysql container with pinpoint database to allow the 
registration of users, groups and alarms.

Including lib, implementation of AlarmMessageSender and settings 
in the pinpoint-web container to allow sending alert emails.
This commit is contained in:
marcos
2018-12-18 13:48:28 -03:00
parent aa4767725d
commit 2baa58e056
5 changed files with 122 additions and 1 deletions

11
pinpoint-mysql/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM mysql:5.7
ENV PINPOINT_VERSION=1.8.0
RUN apt update \
&& apt-get install -y --no-install-recommends ca-certificates wget \
&& wget -O /docker-entrypoint-initdb.d/CreateTableStatement-mysql.sql "https://raw.githubusercontent.com/naver/pinpoint/$PINPOINT_VERSION/web/src/main/resources/sql/CreateTableStatement-mysql.sql" \
&& wget -O /docker-entrypoint-initdb.d/SpringBatchJobRepositorySchema-mysql.sql "https://raw.githubusercontent.com/naver/pinpoint/$PINPOINT_VERSION/web/src/main/resources/sql/SpringBatchJobRepositorySchema-mysql.sql" \
&& sed -i '/^--/d' /docker-entrypoint-initdb.d/CreateTableStatement-mysql.sql \
&& sed -i '/^--/d' /docker-entrypoint-initdb.d/SpringBatchJobRepositorySchema-mysql.sql \
&& apt-get purge -y --auto-remove ca-certificates wget