Skip to Main Content
The DevOps 2.2 Toolkit
book

The DevOps 2.2 Toolkit

by Viktor Farcic
March 2018
Intermediate to advanced content levelIntermediate to advanced
360 pages
7h 52m
English
Packt Publishing
Content preview from The DevOps 2.2 Toolkit

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:-\ ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The DevOps 2.4 Toolkit

The DevOps 2.4 Toolkit

Viktor Farcic

Publisher Resources

ISBN: 9781788991278Supplemental Content