PHP-FPM image running on CentOS 7 preconfigured to work along with NGINX and MySQL images.
10K+
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
Content type
Image
Digest
Size
190.4 MB
Last updated
almost 11 years ago
docker pull paradigma/c7-php-fpm