https://github.com/mtzanidakis/wordpress-container
Containerized WordPress with NGINX Unit
https://github.com/mtzanidakis/wordpress-container
container docker nginx-unit php php82 wordpress
Last synced: 4 months ago
JSON representation
Containerized WordPress with NGINX Unit
- Host: GitHub
- URL: https://github.com/mtzanidakis/wordpress-container
- Owner: mtzanidakis
- License: mit
- Created: 2022-02-08T21:00:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-05T08:16:42.000Z (about 1 year ago)
- Last Synced: 2025-05-05T09:35:47.166Z (about 1 year ago)
- Topics: container, docker, nginx-unit, php, php82, wordpress
- Language: PHP
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Containerized WordPress with NGINX Unit
Run a containerized [WordPress](https://wordpress.org/) with [NGINX Unit](https://unit.nginx.org/).
The container image is based on [Alpine Linux](https://www.alpinelinux.org/) and [PHP](https://www.php.net/) 8.5.
## Configuration
The following configuration options are available, passed as environment variables:
- `EMAIL_FROM`: The email address to use for sending emails; defaults to `wordpress@example.com`.
- `MAXUPLOAD`: The maximum upload size in bytes; defaults to `32M`.
- `PHPEXECTIME`: The maximum execution time for PHP scripts; defaults to `60`.
- `PHPMAX`: The maximum number of PHP processes; defaults to `20`.
- `PHPMEMORY`: The maximum memory per PHP process; defaults to `256M`.
- `PHPSPARE`: The number of spare PHP processes; defaults to `5`.
- `PGID`: The group ID to use for the PHP process.
- `PUID`: The user ID to use for the PHP process.