O'Reilly logo

The DevOps 2.2 Toolkit by Viktor Farcic

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Preparing the system for alerts

We'll deploy the stack defined in stacks/jenkins.yml (https://github.com/vfarcic/docker-flow-monitor/blob/master/stacks/jenkins.yml). The definition is as follows.

version: '3.1'services:  master:    image: vfarcic/jenkins    ports:      - 50000:50000    environment:      - JENKINS_OPTS="--prefix=/jenkins"    networks:      - proxy      - default   deploy:     labels:       - com.df.notify=true       - com.df.distribute=true       - com.df.servicePath=/jenkins       - com.df.port=8080   extra_hosts:     - "${SLACK_HOST:-devops20.slack.com}:${SLACK_IP:-54.192.78.227}"   secrets:     - jenkins-user     - jenkins-passagent:  image: vfarcic/jenkins-swarm-agent  environment:    - USER_NAME_SECRET=/run/secrets/${JENKINS_USER_SECRET:-\jenkins-user}    - PASSWORD_SECRET=/run/secrets/${JENKINS_PASS_SECRET:-\ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required