Sign inSign up

joeizzard/aap_stack

By joeizzard

Updated almost 6 years ago

The AAP Stack is a simple and lightweight web server stack.

Image
0

998

joeizzard/aap_stack repository overview

AAP Stack

GitHub last commit License: MIT

Docker Build Status Docker Automated build Docker Pulls MicroBadger Size MicroBadger Layers Actions Panel

This project is meant to provide a lightweight platform to build simple webapps from. It includes Apache and PHP built on an Alpine base (Hence AAP).

The image uses my other project, MilliAlpine as it's base image.

Note

Please note that the project is built periodically to ensure the base image and installed components are kept up-to-date.

Contents

  1. Included Packages
  2. Installation
  3. Usage
    1. Environment Variables
    2. Voumes
    3. Ports/Networking
  4. Contributing
  5. Credits/Contributors
  6. License
  7. Funding

Included Packages

Included in the image are the following packages:

  • Bash
  • Apache2
  • PHP7
  • PHP7-Apache2
  • tzdata
  • curl
  • ca-certificates
  • openssl
  • openssh
  • git
  • php7-phar
  • php7-json
  • php7-iconv
  • php7-openssl
  • php7-ftp
  • php7-xdebug
  • php7-mcrypt
  • php7-mbstring
  • php7-soap
  • php7-gmp
  • php7-pdo_odbc
  • php7-dom
  • php7-pdo
  • php7-mysqli
  • php7-sqlite3
  • php7-pdo_pgsql
  • php7-pgo_mysql
  • php7-gd
  • php7-odbc
  • php7-pdo_sqlite
  • php7-gettext
  • php7-xmlreader
  • php7-xmlwriter
  • php7-tokenizer
  • php7-xmlrpc
  • php7-bz2
  • php7-pdo_dblib
  • php7-curl
  • php7-ctype
  • php7-session
  • php7-redis
  • php7-intl
  • php7-apcu
  • php7-simplexml

Installation

Installing this project is as simple as running it through Docker, if you would like to fetch this image without needing to run it, you can use the following command:

docker pull joeizzard/aap_stack

Usage

To run this image run the following command, port 80 needs to be exposed to access the webserver:

docker run -p 80:80 joeizzard/aap_stack
Environment Variables

Below is a list of environment variables included in this docker image, split into the general purpose of the environment variable.

General Container Environment Variable
Environment VariableInfo
CONTAINER_TIMEZONE
Apache Environment Variables
Environment VariableInfo
APACHE_SERVER_NAME
APACHE_SERVER_TOKENS
APACHE_SERVER_ROOT
APACHE_MUTEX
APACHE_SERVER_ADMIN
APACHE_SERVER_SIGNATURE
PHP Environment Variables
Environment VariableInfo
PHP_SHORT_OPEN_TAG
PHP_OUTPUT_BUFFERING
PHP_OPEN_BASEDIR
PHP_MAX_EXECUTION_TIME
PHP_MAX_INPUT_TIME
PHP_MAX_INPUT_VARS
PHP_MEMORY_LIMIT
PHP_ERROR_REPORTING
PHP_DISPLAY_ERRORS
PHP_DISPLAY_STARTUP_ERRORS
PHP_LOG_ERRORS
PHP_LOG_ERRORS_MAX_LEN
PHP_IGNORE_REPEATED_ERRORS
PHP_REPORT_MEMLEAKS
PHP_HTML_ERRORS
PHP_ERROR_LOG
PHP_POST_MAX_SIZE
PHP_DEFAULT_MIMETYPE
PHP_DEFAULT_CHARSET
PHP_FILE_UPLOADS
PHP_UPLOAD_TMP_DIR
PHP_UPLOAD_MAX_FILESIZE
PHP_MAX_FILE_UPLAODS
PHP_ALLOW_URL_FOPEN
PHP_ALLOW_URL_INCLUDE
PHP_DEFAULT_SOCKET_TIMEOUT
PHP_DATE_TIMEZONE
PHP_PDO_MYSQL_CACHE_SIZE
PHP_PDO_MYSQL_DEFAULT_SOCKET
PHP_SESSION_SAVE_HANDLER
PHP_SESSION_SAVE_PATH
PHP_SESSION_USE_STRICT_MODE
PHP_SESSION_USE_COOKIES
PHP_SESSION_COOKIE_SECURE
PHP_SESSION_NAME
PHP_SESSION_COOKIE_LIFETIME
PHP_SESSION_COOKIE_PATH
PHP_SESSION_COOKIE_DOMAIN
PHP_SESSION_COOKIE_HTTPONLY
Volumes

The following locations can be used with volumes:

Container LocationDescription
/container/data/apache/PublicThis is location of the files served via the apache
/container/data/logA exposure of /var/log under the container structure

Ports/Networking

The webserver is accessable via port 80.

Contributing

For information on Contributing to this project, please see CONTRIBUTING.md. In essence:

  1. Fork the project
  2. Make the changes you think need making
  3. Submit a pull request
  4. I merge it into the core!

Credits/Contributors

This project is largly based off the works of JCSofts, with this being a modified version of his works. Unfortunatly I am unable to find the project I based this off now (If anyone does have a link please let me know so I can link to it here.).

At the moment, I am the only contributor.

License

This project is licensed under MIT.

License: MIT

For the full License, Please see the file LICENSE.md

Funding

If you have found this project useful, please consider donating to support further development.

Ko-Fi Patreon Paypal

Tag summary

Content type

Image

Digest

Size

50.2 MB

Last updated

almost 6 years ago

docker pull joeizzard/aap_stack