Skip to content

Instantly share code, notes, and snippets.

@amy
Last active April 4, 2017 16:02
Show Gist options
  • Select an option

  • Save amy/9d754d3c29511d982fa6e27fa4e3601f to your computer and use it in GitHub Desktop.

Select an option

Save amy/9d754d3c29511d982fa6e27fa4e3601f to your computer and use it in GitHub Desktop.
# docker-compose.yml
version: '2'
services:
apache:
image: php:7.1.3-apache
volumes:
- content:/var/www/html/
apache-lb:
image: rancher/lb-service-haproxy:v0.6.4
ports:
- 81:80
volumes:
content:
driver: local # We will change this value
# as we play around with
# different volumes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment