Skip to content

Instantly share code, notes, and snippets.

@twasink
Last active February 1, 2018 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save twasink/6ecf096a8f83cd30b2513be2949817ea to your computer and use it in GitHub Desktop.
Save twasink/6ecf096a8f83cd30b2513be2949817ea to your computer and use it in GitHub Desktop.
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