docker-composer.yml php5.6_env

version: "2"

services:
  apache-php:
      image: 2e233ad9329b
      volumes:
        - /data/www:/var/www/html
        - /data/config/apache:/etc/apache2/sites-enabled
        - /data/log/apache:/var/log/apache2
      environment:
        ALLOW_OVERRIDE: "true"
      ports:
        - 80:80
      privileged: true
  mysql:
     # image: 9546ca122d3a
      image: 0da48351c371
      volumes:
        - /data/www/mysql/my.cnf:/etc/mysql/my.cnf
        - /data/www/mysql/mysql5.5_new/data:/usr/local/mysql/data
       # - /data/www/mysql/mysql5.5/data:/mysql/data
      environment:
        MYSQL_ROOT_PASSWORD: "superhero"
      ports:
        - 3306:3306
      privileged: true