Created
June 24, 2015 14:50
-
-
Save fntlnz/943608eb2d892aa14ece to your computer and use it in GitHub Desktop.
This file contains hidden or 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
nginx: | |
image: fntlnz/nginx | |
volumes: | |
- docker/nginx/conf:/usr/local/nginx/conf | |
- docker/nginx/logs:/usr/local/nginx/logs | |
volumes_from: | |
- fpm | |
links: | |
- fpm:fpm | |
ports: | |
- 127.0.0.20:80:80 | |
fpm: | |
image: fntlnz/php-fpm:5.6.10 | |
links: | |
- mysql:mysql | |
- sphinx:sphinx | |
volumes: | |
- docker/php/etc:/usr/local/php/etc | |
- .:/var/www/demo | |
mysql: | |
image: mysql | |
ports: | |
- 127.0.0.20:3306:3306 | |
volumes: | |
- docker/mysql/data:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=development | |
sphinx: | |
image: leodido/sphinxsearch:2.2.9 | |
command: ./bin/searchd.sh | |
links: | |
- mysql:mysql | |
volumes: | |
- docker/sphinx/conf/sphinx.conf:/usr/local/etc/sphinx.conf | |
- docker/sphinx/data/diz:/var/diz/sphinx | |
- docker/sphinx/data/run:/var/run/sphinx | |
- docker/sphinx/data/lib:/var/lib/sphinx | |
- docker/sphinx/data/log:/var/log/sphinx | |
- docker/sphinx/data/idx:/var/idx/sphinx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment