Docker + nginx + MySQL + PHP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
327 B

1 year ago
version: '3'
services:
php-fpm:
image: helloz/php:7.4-fpm-alpine
network_mode: host
1 year ago
container_name: php-7.4
1 year ago
volumes:
- ./www.conf:/usr/local/etc/php-fpm.d/www.conf
- ./php.ini:/usr/local/etc/php/conf.d/php.ini
- ./log:/usr/local/log
- ../wwwroot:/var/www/html
restart: on-failure