Skip to content

PowerFull Docker containing alpine nginx php 7.3 fpm and drivers for MySQL, Oracle, SQL Server, SQLite, MongoDB https://hub.docker.com/r/jgcl88/docker-alpine-nginx-php/

Notifications You must be signed in to change notification settings

jgcl/docker-alpine-nginx-php

Repository files navigation

powerfull docker alpine nginx php 7.3 and drivers for all databases

This Docker Image containing:

  • Alpine 3.11;

  • PHP 7.3 (CLI and FPM);

  • PHP database extensions:

    • MySQL
    • SQL Server
    • PostgreSQL
    • SQLite
    • MongoDB
    • Oracle - via OCI8 - see 'oracle' branch
  • all php extensions:

Core
ctype
curl
date
dom
filter
hash
iconv
json
libxml
mbstring
mcrypt
mongodb
mysqlnd
oci8 (see 'oracle' branch)
openssl
pcntl
pcre
PDO
pdo_dblib
pdo_mysql
PDO_ODBC
pdo_pgsql
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
soap
SPL
standard
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
Zend OPcache
zlib

docker pull

docker pull jgcl88/alpine-nginx-php

More info on Docker Hub: https://hub.docker.com/r/jgcl88/alpine-nginx-php/

docker run

docker run \
    --name=myContainerName \
    -v /myFolder:/app \
    -p 80:80 \
    -d jgcl88/alpine-nginx-php

docker compose

Example containing:

  • Simple phpinfo displaying all available drivers
  • MySQL database
  • SQL Server database
  • PostgreSQL database
  • SQLite database
  • MongoDB database
  • Oracle database (see 'oracle' branch)
  • Migrations

See docker-compose.yml and docker-compose-databases.yml files.

to up...

docker-compose up -d
or
docker-compose -f docker-compose-databases.yml up -d

See Powerfull Lumen 5.5 example using this image and swagger-ui to change data in all databases: https://github.com/jgcl/powerfull-lumen-base-project

Releases

No releases published

Packages

No packages published