Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 547 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 547 Bytes

PHP with fpm and nginx

PHP docker image based on official one with pre-installed extensions and tools. Additionally we added here nginx with listening on 8080 port.

Download

Grab it by running

docker pull codibly/nginx-php:8.1.12

Run

Type

docker run --name some-php -d -v /your/directory/with/php/public:/opt/app/public -p 8080:8080 codibly/nginx-php

That will start supervisor which run php-fpm daemon and nginx listening on 8080.

Logs are written to STDOUT, examine them running

docker logs some-php -f