Sign inSign up

paradigma/c7-php-fpm

By paradigma

•Updated almost 11 years ago

PHP-FPM image running on CentOS 7 preconfigured to work along with NGINX and MySQL images.

Image
0

10K+

paradigma/c7-php-fpm repository overview

⁠docker-centos7-php-fpm

PHP-FPM image running on CentOS 7 preconfigured to work along with NGINX and MySQL images.

Mount the root folder:

  volumes:
    - ./src/public:/var/www/public

Link to an optional MySQL/MariaDB server:

  links:
    - mysql

You can set the environment vars:

  env_file:
    - './db.env'
  environment:
    MYSQL_HOST: "mysql"

db.env file example:

# db.env
MYSQL_ROOT_PASSWORD=MyRoot
MYSQL_DATABASE=MyDB
MYSQL_USER=MyUser
MYSQL_PASSWORD=MyPassword

Tag summary

Content type

Image

Digest

Size

190.4 MB

Last updated

almost 11 years ago

docker pull paradigma/c7-php-fpm