Skip to content

Instantly share code, notes, and snippets.

@parj
Created June 24, 2018 07:32
Show Gist options
  • Save parj/d471f1b6ed431c0d90a9b86118f04ebf to your computer and use it in GitHub Desktop.
Save parj/d471f1b6ed431c0d90a9b86118f04ebf to your computer and use it in GitHub Desktop.
Automated deployment and build
#!/bin/bash
#Install Gogs
docker run --name=gogs -p 10022:22 -p 3000:3000 -v /tmp/gitlab:/data gogs/gogs
#Install Jenkins
docker run -d -p 8080:8080 -p 50000:50000 -v /tmp/jenkins:/var/jenkins_home jenkins
#Install Ansible tower
docker run -t -d -v /tmp/certs:/certs -p 443:443 --privileged -e SERVER_NAME=localhost ybalt/ansible-tower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment