Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- web:
- image: mtr/nginx
- ports:
- - "80:80"
- volumes:
- - ./var:/var/www
- - ./etc/nginx/sites-enabled:/etc/nginx/sites-enabled/
- links:
- - php
- - db
- php:
- image: rossriley/php56-fpm
- volumes:
- - ./var:/var/www
- - ./etc/php5/php-fpm.conf:/etc/php5/fpm/php-fpm.conf
- links:
- - db
- db:
- image: sameersbn/mysql
- ports:
- - "3306:3306"
- volumes:
- - /var/lib/mysql
- environment:
- - DB_NAME=mtr_tables
- - DB_USER=mtr_table
- - DB_PASS=mtrpass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement