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
- Host: GitHub
- URL: https://github.com/codibly/docker-nginx-php
- Owner: codibly
- Created: 2019-09-06T13:49:22.000Z (over 6 years ago)
- Default Branch: 8.3.1
- Last Pushed: 2024-01-05T13:35:20.000Z (almost 2 years ago)
- Last Synced: 2025-02-15T15:51:50.826Z (10 months ago)
- Language: Dockerfile
- Size: 40 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```