Sign inSign up

g14n/nginx-php

By g14n

•Updated about 1 year ago

PHP-FPM and NGINX alpine for lite web server

Image
Web servers
Operating systems
0

5.5K

g14n/nginx-php repository overview

PHP-FPM and NGINX are running in first time when you run.

Notes:

  • PHP 8.5 not include sqlsrv (broke in build pdo_sqlsrv, wait until pdo_sqlsrv new release to solved it)

Included Apps :

  • htop
  • composer
  • npm

Setting Path :

  • nginx : /etc/nginx/
  • php-fpm : /usr/local/etc/
  • public_path : /app/public/
  • laravel_path : /app/

Modules available :

  • sqlsrv & pdo_sqlsrv
  • pgsql & pdo_pgsql
  • pdo_mysql
  • zip
  • curl
  • mbstring
  • pcntl
  • gd
  • sockets
  • soap
  • and many more

Port EXPOSE :

  • 80
  • 443

NEW update environtment :

  • APP_DOMAIN = your domain without https
  • APP_COUNTRY = choose it [US/CHN/PH/ID/...]
  • APP_STATE = Your state
  • APP_ORGANIZATION = Your Organization
  • APP_ORGANIZATION_UNIT = Your Organization Unit

Example run this repo :

  • docker run -itd -p 443:443 -p 80:80 g14n/nginx-php:8.5
  • docker run -itd -e APP_DOMAIN=localhost -e APP_COUNTRY=JP -e APP_STATE=Tokyo -p 443:443 -p 80:80 g14n/nginx-php:8.5

Tag summary

Content type

Image

Digest

sha256:49d186a0c…

Size

81.7 MB

Last updated

about 1 year ago

docker pull g14n/nginx-php:8.3