An open API service indexing awesome lists of open source software.

https://github.com/codibly/docker-nginx-php

Docker image with PHP and NGINX
https://github.com/codibly/docker-nginx-php

Last synced: 9 months ago
JSON representation

Docker image with PHP and NGINX

Awesome Lists containing this project

README

          

## 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
```