Change into facebooc directory which containts the source code. This assumes you have already cloned the repo. If not, clone it from https://github.com/schoolofdevops/facebooc
cd facebooc
ls
sudo yum update -y | |
sudo yum install htop -y | |
# Install Erlang | |
sudo yum install https://github.com/rabbitmq/erlang-rpm/releases/download/v21.3.4/erlang-21.3.4-1.el7.x86_64.rpm -y | |
# Install RabbitMQ | |
sudo yum install https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.14/rabbitmq-server-3.7.14-1.el7.noarch.rpm -y | |
# Allow remote connections |
docker.withRegistry('https://index.docker.io/v1/', 'dockerlogin') { | |
def dockerImage = docker.build("xxxxxx/xxxxx:v${env.BUILD_ID}", "./") | |
dockerImage.push() | |
dockerImage.push("latest") | |
} |
version: "3" | |
networks: | |
nw01: | |
driver: bridge | |
volumes: | |
db-data: | |
services: |
version: "3" | |
networks: | |
nw01: | |
driver: overlay | |
volumes: | |
db-data: | |
services: |
Change into facebooc directory which containts the source code. This assumes you have already cloned the repo. If not, clone it from https://github.com/schoolofdevops/facebooc
cd facebooc
ls
version: "3.8" | |
networks: | |
jenkins: | |
driver: bridge | |
volumes: | |
jenkins-docker-certs: | |
jenkins-data: |