Sign inSign up

bostonuniversity/php-fpm-app

By bostonuniversity

•Updated over 4 years ago

Baseline image for phpbin/dbin-type applications

Image
0

9.2K

bostonuniversity/php-fpm-app repository overview

⁠PHP FPM App

Containers created with this image serve as the back-end for phpbin/dbin applications. These containers are proxied to by the webserver only to run *.php scripts, they are not intended to serve any static content.

This image works as the baseline, in other words individual applications are expected to use this image in their FROM directive of Dockerfile.

Normally, applications do not need to do many modifications to the baseline. In most cases, it's enough to just copy application files somewhere into /var/www/html/.

The resulting images (i.e this baseline + app-specific modifications) are built by AWS CodePipeline and stored in AWS ECR.

⁠Environment Variables

Variable nameDefault value
LOG_PREFIX-
SECRETS_BUCKET_PATH-
SECRETS_DESTINATIONS-
EFS_DIRECTORY_PATH-
EFS_DIRECTORY_ALIAS-
PHP_MEMORY_LIMIT256M
SSMTP_HOSTemail-smtp.us-east-1.amazonaws.com
SSMTP_PORT587
SSMTP_FROM_HOSTNAMEbu.edu
SSMTP_AUTH_USER-
SSMTP_AUTH_PASSWORD-
SES_CREDENTIALS_SECRET_REGIONus-east-1
SES_CREDENTIALS_SECRET-

SES_CREDENTIALS_SECRET is expected to be the name of the secret in AWS Secrets Manager that holds the values of all SMTP-related variables. You normally won't use it in your local environment.

Tag summary

Content type

Image

Digest

Size

460.2 MB

Last updated

over 4 years ago

docker pull bostonuniversity/php-fpm-app:php8.1-latest