Sign inSign up

littlemouse007/nginx_php

By littlemouse007

•Updated 7 months ago

Image
Developer tools
Web servers
0

657

littlemouse007/nginx_php repository overview

Nginx/PHP fpm server with phpmyadmin and adminer. Allowing the addition of the custom PHP application and FPM configs.

The container has a self-signed certificate, but it can be overridden via volume mount.

services:
  nginx:
    image: littlemouse007/nginx_php:latest
    container_name: nginx_services
    ports:
      - "8080:80"
      - "8443:443"
    environment:
      - TZ=Etc/Utc
      - DISABLE_HTTP=false
    volumes:
      - ./www:/var/wwww/user
      - ./conf_user.d:/etc/nginx/conf_user.d
      - ./php-fpm_user.d:/etc/php84/php-fpm_user.d
      - ./ssl_cert.crt:/etc/ssl/certs/server.crt:ro
      - ./ssl_cert.key:/etc/ssl/private/server.key:ro
    restart: unless-stopped

PHP modules:

  • php84-fpm
  • php84-curl
  • php84-json
  • php84-zlib
  • php84-opcache
  • php84-phar
  • php84-fileinfo
  • php84-tokenizer
  • php84-dom
  • php84-mysqli
  • php84-mysqlnd
  • php84-pdo
  • php84-pdo_mysql
  • php84-pdo_pgsql
  • php84-pdo_sqlite
  • php84-pgsql
  • php84-sqlite3
  • php84-odbc
  • php84-opcache
  • php84-xml
  • php84-xmlreader
  • php84-xsl
  • php84-bz2
  • php84-ctype
  • php84-curl
  • php84-gd
  • php84-mbstring
  • php84-openssl
  • php84-session
  • php84-zip
  • php84-xmlwriter
  • php84-iconv

Special files

  • /etc/nginx/conf_user.d/location.include -> used to inject configs into the server configuration.

Variables

  • TZ -> Timezone configuration. Default "Etc/Utc".
  • DISABLE_HTTP -> disable HTTP server. Default "false".

Tag summary

Content type

Image

Digest

sha256:d8f699cc2…

Size

122.1 MB

Last updated

about 1 year ago

docker pull littlemouse007/nginx_php