Skip to content

Instantly share code, notes, and snippets.

@brynmathias
Created August 30, 2016 17:28
Show Gist options
  • Save brynmathias/66a8cb3298fc8b2c10065409bdf32b0a to your computer and use it in GitHub Desktop.
Save brynmathias/66a8cb3298fc8b2c10065409bdf32b0a to your computer and use it in GitHub Desktop.
version: "2"
# Use this if you're testing/debugging the build locally on OSX
services:
web56:
build: ./php5.6/
command: /init
ports:
- 80
volumes:
- ./web:/var/www/project/web
environment:
WP_UID: 100
WP_GID: 101
# For testing with gdev
VIRTUAL_HOST: php56.test
PORT: 80
web70:
build: ./php7.0/
command: /init
ports:
- 80
volumes:
- ./web:/var/www/project/web
environment:
WP_UID: 100
WP_GID: 101
# For testing with gdev
VIRTUAL_HOST: php70.test
PORT: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment