Skip to content

Instantly share code, notes, and snippets.

@gansbrest
Created June 18, 2015 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gansbrest/7873c95c59b03a9b2e7d to your computer and use it in GitHub Desktop.
Save gansbrest/7873c95c59b03a9b2e7d to your computer and use it in GitHub Desktop.
containers:
php-nginx:
background: false
image: gansbrest/php5.3
workdir: "/app"
onetime: true
environment:
XDEBUG_CONFIG: idekey=PHPSTORM
ports:
- 9999:9999
net: host
tasks:
test:
sync_project_to: /app
cmd: "/usr/bin/supervisord && php ./scripts/run-tests.sh --color --php /usr/bin/php --url http://mysite.local:9999/"
container: "php-nginx"
run:
sync_project_to: /app
cmd: "/usr/bin/supervisord --nodaemon"
container: "php"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment