Public | Automated Build

Last pushed: 2 months ago
Short Description
Ubuntu-Apache2-PHP 7.1
Full Description

Docker-compose.yml:

#!yml

o2apache-php7:
  environment:
    O2_WEBSERVER_HOST:
    O2_WEBSERVER_PORT: 80
    O2_MYSQL_PORT:
    O2_MYSQL_HOST: mysql
    TZ: "America/Sao_Paulo"
  image: o2multi/apache-php7
  restart: always
  ports:
    - "80:80"
  volumes:
    - ./www:/var/www/html/
    - ./devops/docker/webserver/custom.ini:/etc/php/7.1/apache2/conf.d/666-custom.ini
    - ./devops/docker/webserver/o2.conf:/etc/apache2/sites-enabled/001-o2.conf
  links:
    - mysql  

mysql:
  image: mysql:latest
  restart: always
  volumes:
    - ./bd:/var/lib/mysql
  environment:
    - MYSQL_ROOT_PASSWORD=server897
    - MYSQL_DATABASE=api_cms
  ports:
    - 3306:3306

phpmyadmin:
  image: phpmyadmin/phpmyadmin
  restart: always
  links:
    - mysql
  ports:
    - 8181:80
  environment:
    MYSQL_USERNAME: root
    MYSQL_ROOT_PASSWORD: server897
    PMA_HOST: mysql
Docker Pull Command
Owner
o2multi
Source Repository

Comments (0)