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.

13 lines
299 B

1 year ago
version: '3'
services:
php-fpm:
image: helloz/php:7.4-fpm-alpine
network_mode: host
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