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.

16 lines
399 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
# Specify User ID and User Group
user: "${USER_ID}:${GROUP_ID}"
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