Skip to content

Instantly share code, notes, and snippets.

@cgiacomi
Created November 23, 2016 09:53
Show Gist options
  • Select an option

  • Save cgiacomi/a95739d67186ffb1768784cea40ed58f to your computer and use it in GitHub Desktop.

Select an option

Save cgiacomi/a95739d67186ffb1768784cea40ed58f to your computer and use it in GitHub Desktop.
jenkins docker-compose sample
jenkins:
build: ./jenkins/
ports:
- 8080:8080
container_name: jenkins
php:
build: ./php/
volumes_from:
- php-data
container_name: php
php-data:
image: php:5.6.28-fpm
volumes:
- ./:/var/www/html
command: "true"
container_name: php-data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment