docker-compose.yml 307 B

12345678910111213141516
  1. nginx :
  2. build : docker/php/
  3. volumes:
  4. - "./src:/var/www/app"
  5. - "./config/nginx:/etc/nginx/sites-enabled"
  6. - "./config/php:/etc/php/7.0/fpm/conf.d"
  7. ports:
  8. - "80:80"
  9. mysql:
  10. image: mysql/mysql-server:5.7
  11. ports:
  12. - "3306:3306"
  13. environment:
  14. - "MYSQL_ROOT_PASSWORD=PPWn6RjNamY2"