Skip to content

About

Alpine Docker Container Running Simple Web App

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

🐳 Docker Example Web App

GitHub Repo Size GitHub Code Size in Bytes GitHub Last Commit GitHub Commit Activity

📑 Table of Contents

🎯 Purpose

Running a web service in a docker container using docker-php-alpine.

📝 Description

Apache, PHP-FPM, NGINX and SupervisorD for Docker build on Alpine Linux.

📦 Dependencies

PHPMailer is installed via Composer during the Docker build. The version range is pinned in composer.json; the resolved version is locked in composer.lock once generated. The autoloader lives at /var/www/vendor/autoload.php in the image, outside the web root.

⚡ Usage

Codacy Badge codecov

🐋 Docker

Actions Status

FROM ghcr.io/laniksj/docker-php-alpine:master
COPY . /var/www/html

I'm using the html folder to store my web content. In this case it's a web form.

The container runs as the unprivileged nginx user and listens on port 8080. Map it with -p 8080:8080 (or -p 80:8080 to keep port 80 on the host).

🐛 Bugs

Please report any bugs or issues you find. Thanks!

📝 License

MIT License

💰 Donate

Patreon

About

Alpine Docker Container Running Simple Web App

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Sponsor this project

Packages

Used by

Contributors

Languages