Created
April 27, 2016 16:25
-
-
Save leknoppix/1a90fe3123d32602aca1dbb34fb807d0 to your computer and use it in GitHub Desktop.
Docker nginx php-fpm mysql phpmyadmin
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
| php: | |
| image: jprjr/php-fpm | |
| volumes: | |
| - www:/srv/http | |
| ports: | |
| - 9000:9000 | |
| links: | |
| - db:db | |
| - maildev:maildev | |
| nginx: | |
| image: nginx | |
| links: | |
| - php:php | |
| volumes: | |
| - www:/usr/share/nginx/html | |
| - nginx-conf/nginx.conf:/nginx.conf | |
| ports: | |
| - 80:80 | |
| command: nginx -c /nginx.conf | |
| db: | |
| image: mysql | |
| volumes: | |
| - mysql:/var/lib/mysql | |
| environment: | |
| - MYSQL_ROOT_PASSWORD=root | |
| maildev: | |
| image: djfarrelly/maildev | |
| ports: | |
| - "1080:80" | |
| phpmyadmin: | |
| image: phpmyadmin/phpmyadmin | |
| links: | |
| - db:db | |
| ports: | |
| - 8080:80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment