-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from idealista/develop
v2.2.1 to master
- Loading branch information
Showing
12 changed files
with
52 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM python:3.5-slim-stretch | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
EXPOSE 8089 | ||
|
||
RUN apt-get update && apt-get install -y build-essential | ||
|
||
ADD LICENSE /opt/prom2teams/LICENSE | ||
ADD MANIFEST.in /opt/prom2teams/MANIFEST.in | ||
ADD README.md /opt/prom2teams/README.md | ||
ADD requirements.txt /opt/prom2teams/requirements.txt | ||
ADD setup.py /opt/prom2teams/setup.py | ||
|
||
ADD ./bin /opt/prom2teams/bin | ||
ADD ./prom2teams /opt/prom2teams/prom2teams | ||
|
||
ADD ./docker/config.ini /opt/prom2teams/config.ini | ||
ADD ./docker/replace_config.py /opt/prom2teams/replace_config.py | ||
ADD ./docker/prom2teams_start.sh /opt/prom2teams/prom2teams_start.sh | ||
|
||
WORKDIR /opt/prom2teams | ||
RUN python setup.py install | ||
|
||
ENV PROM2TEAMS_PORT="8089" | ||
ENV PROM2TEAMS_HOST="0.0.0.0" | ||
ENV PROM2TEAMS_LOGLEVEL="INFO" | ||
ENV PROM2TEAMS_CONNECTOR="" | ||
ENV PROM2TEAMS_GROUP_ALERTS_BY="" | ||
|
||
ENTRYPOINT ["bash", "/opt/prom2teams/prom2teams_start.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
|
||
|
||
setup(name='prom2teams', | ||
version='2.2.0', | ||
version='2.2.1', | ||
description='Project that redirects Prometheus Alert Manager ' | ||
'notifications to Microsoft Teams', | ||
long_description=readme, | ||
|
@@ -38,7 +38,7 @@ | |
data_files=[ | ||
('/usr/local/etc/prom2teams', ['bin/wsgi.py']) | ||
], | ||
url='http://github.com/idealista/prom2teams', | ||
url='https://github.com/idealista/prom2teams', | ||
author='Idealista, S.A.U', | ||
author_email='[email protected]', | ||
license=license, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters