diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a051450 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,16 @@ +--- +kind: pipeline +name: push custom alerta-web container +steps: + - name: build container + image: plugins/docker + settings: + username: + from_secret: docker_reg_username + password: + from_secret: docker_reg_passwd + repo: decentral1se/alerta + tags: 8.3.3 +trigger: + branch: + - main diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8963b13 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM alerta/alerta-web:8.3.3 + +EXPOSE 8080 + +RUN /venv/bin/pip install git+https://github.com/alerta/alerta-contrib.git#subdirectory=integrations/mailer + +RUN /venv/bin/pip install git+https://github.com/alerta/alerta-contrib.git#subdirectory=plugins/rocketchat + +COPY . ${WORKDIR} + +COPY sbin/* /sbin/ + +ENTRYPOINT ["/sbin/entrypoint.sh"] + +CMD ["supervisord", "-c", "/app/supervisord.conf"] diff --git a/README.md b/README.md index 5bddaab..9245406 100644 --- a/README.md +++ b/README.md @@ -1,6 +1 @@ # alerta - -## WIP - -- https://github.com/alerta/docker-alerta -- https://docs.alerta.io/en/latest/gettingstarted/tutorial-10-docker.html?highlight=container#step-3-run-using-docker-compose