Created
June 18, 2015 19:54
-
-
Save gansbrest/7873c95c59b03a9b2e7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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