Skip to content

Commit

Permalink
[TASK] Raise versions for nginx 1.26.0, PHP 8.3.7, redis 7.2.4, Maria…
Browse files Browse the repository at this point in the history
…DB 11.4.1
  • Loading branch information
Marc Wolf committed May 15, 2024
1 parent 784613e commit 25ab682
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Docker compose PHP 8.3.2, Xdebug 3.3.1, Nginx 1.25.3, Redis 7.2.4 and MariaDB 11.3.1-rc
# Docker compose PHP 8.3.7, Xdebug 3.3.2, Nginx 1.26.0, Redis 7.2.4 and MariaDB 11.4.1-rc

![docker](https://img.shields.io/badge/Docker-compose-brightgreen.svg)
![php](https://img.shields.io/badge/PHP_FPM-8.3.2-brightgreen.svg)
![xdebug](https://img.shields.io/badge/Xdebug-3.3.1-brightgreen.svg)
![nginx](https://img.shields.io/badge/nginx-1.25.3-brightgreen.svg)
![php](https://img.shields.io/badge/PHP_FPM-8.3.7-brightgreen.svg)
![xdebug](https://img.shields.io/badge/Xdebug-3.3.2-brightgreen.svg)
![nginx](https://img.shields.io/badge/nginx-1.26.0-brightgreen.svg)
![redis](https://img.shields.io/badge/Redis-7.2.4-brightgreen.svg)
![mariadb](https://img.shields.io/badge/MariaDB-11.3.1rc-brightgreen.svg)
![mariadb](https://img.shields.io/badge/MariaDB-11.4.1-rc-brightgreen.svg)

* Easy setup with [docker-compose](https://docs.docker.com/compose/) and [Dockerfile](https://docs.docker.com/engine/reference/builder/) under usage from [Docker](https://www.docker.com)
* Uses [PHP 8.3.2](https://www.php.net) for better performance, lower CPU and memory usage
* Uses [PHP 8.3.7](https://www.php.net) for better performance, lower CPU and memory usage
* And [composer the dependency manager for PHP](https://getcomposer.org) to start easy your project
* Built on the lightweight [nginx 1.25.3](https://nginx.org) webserver
* Debugging with [Xdebug 3.3.1](https://xdebug.org)
* Built on the lightweight [nginx 1.26.0](https://nginx.org) webserver
* Debugging with [Xdebug 3.3.2](https://xdebug.org)
* [Redis 7.2.4](https://redis.io) as session storage, database, cache, streaming engine, and message broker
* Database storage with [MariaDB 11.3.1-rc](https://mariadb.org)
* Database storage with [MariaDB 11.4.1-rc](https://mariadb.org)

See also:
[Blog-Post: Dockerize your PHP application with Nginx and PHP8 FPM](https://marc.it/dockerize-application-with-nginx-and-php8/)
5 changes: 2 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
version: "3.9"
services:
nginx:
image: "nginx:1.25.3-alpine"
image: "nginx:1.26.0-alpine"
restart: always
working_dir: /app
links:
Expand Down Expand Up @@ -30,7 +29,7 @@ services:
ALLOW_EMPTY_PASSWORD: "yes"

mariadb:
image: "mariadb:11.3.1-rc"
image: "mariadb:11.4.1-rc"
restart: always
working_dir: /app
volumes:
Expand Down
4 changes: 2 additions & 2 deletions docker/php-fpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.3.2-fpm
FROM php:8.3.7-fpm
WORKDIR "/app"

# Update
Expand All @@ -17,7 +17,7 @@ RUN pecl install -o -f redis && docker-php-ext-enable redis
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

# Install xdebug
RUN pecl install xdebug-3.3.1 && docker-php-ext-enable xdebug
RUN pecl install xdebug-3.3.2 && docker-php-ext-enable xdebug

# Cleanup
RUN apt-get clean
Expand Down

0 comments on commit 25ab682

Please sign in to comment.