The Wayback Machine - https://web.archive.org/web/20201205013701/https://github.com/Tob1asDocker/alpine-nginx-php
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

AlpineLinux with NGINX and PHP7 on x86_64 and arm

Supported tags and respective Dockerfile links

About these images:

How to use this image (example)

docker run --name alpine-nginx-php-container -d -p 80:80 -v ${PWD}/html:/var/www/html -e PHP_ERRORS=1 -e PHP_UPLOAD_MAX_FILESIZE=250 tobi312/alpine-nginx-php:latest

An own Dockerfile?, then here an example with install git and copy own entrypoint-file(s):

echo -e "FROM tobi312/alpine-nginx-php:latest\nRUN apk --no-cache add git\nCOPY *.sh /entrypoint.d/" > Dockerfile

Environment Variables

  • TZ (set timezone, example: "Europe/Berlin")
  • PHP_ERRORS (set 1 to enable)
  • PHP_MEM_LIMIT (set Value in MB, example: 128)
  • PHP_POST_MAX_SIZE (set Value in MB, example: 250)
  • PHP_UPLOAD_MAX_FILESIZE (set Value in MB, example: 250)
  • PHP_MAX_FILE_UPLOADS (set number, example: 20)
  • CREATE_PHPINFO_FILE (set 1 to enable)

This Image on

You can’t perform that action at this time.