Skip to content

Instantly share code, notes, and snippets.

@twasink
Last active February 1, 2018 17:25
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
data:
build: jenkins-data
master:
build: jenkins-master
volumes:
- .:/backup
volumes_from:
- data
ports:
- "50000:50000"
nginx:
build: jenkins-nginx
ports:
- "${HTTP_PORT}:80" # Need to make this configurable, as we'll want 80:80 in 'prod' environments
links:
- master:jenkins-master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment