Skip to content

Commit

Permalink
Upgrade to PHP 8.4.1, Xdebub 3.4.0beta1 and MariaDB 11.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
IshtarStar committed Nov 24, 2024
1 parent fab1591 commit a336d34
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Docker compose PHP 8.3.13, Xdebug 3.3.2, Nginx 1.27.2, Redis 7.4.1 and MariaDB 11.5.2
# Docker compose PHP 8.4.1, Xdebug 3.4.0beta1, Nginx 1.27.2, Redis 7.4.1 and MariaDB 11.6.2

![docker](https://img.shields.io/badge/Docker-compose-brightgreen.svg)
![nginx](https://img.shields.io/badge/nginx-1.27.2-brightgreen.svg)
![php](https://img.shields.io/badge/PHP_FPM-8.3.13-brightgreen.svg)
![xdebug](https://img.shields.io/badge/Xdebug-3.3.2-brightgreen.svg)
![php](https://img.shields.io/badge/PHP_FPM-8.4.1-brightgreen.svg)
![xdebug](https://img.shields.io/badge/Xdebug-3.4.0beta1-brightgreen.svg)
![phpunit](https://img.shields.io/badge/PHPUnit-11.4.3-brightgreen.svg)
![redis](https://img.shields.io/badge/Redis-7.4.1-brightgreen.svg)
![mariadb](https://img.shields.io/badge/MariaDB-11.5.2-brightgreen.svg)
![mariadb](https://img.shields.io/badge/MariaDB-11.6.2-brightgreen.svg)

# Goal of this project

Expand All @@ -15,13 +15,13 @@ The primary goal of this project is to create a streamlined and efficient develo
# Services

* 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.13](https://www.php.net) for better performance, lower CPU and memory usage
* Uses [PHP 8.4.1](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.27.2](https://nginx.org) webserver
* Debugging with [Xdebug 3.3.2](https://xdebug.org)
* Debugging with [Xdebug 3.4.0beta1](https://xdebug.org)
* Testing with [PHPUnit 11.4.3](https://phpunit.de) to ensure code quality and reliability
* [Redis 7.4.1](https://redis.io) as session storage, database, cache, streaming engine, and message broker
* Database storage with [MariaDB 11.5.2](https://mariadb.org)
* Database storage with [MariaDB 11.6.2](https://mariadb.org)

## Setup Instructions

Expand Down
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
ALLOW_EMPTY_PASSWORD: "yes"

mariadb:
image: "mariadb:11.5.2"
image: "mariadb:11.6.2"
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.13-fpm
FROM php:8.4.1-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.2 && docker-php-ext-enable xdebug
RUN pecl install xdebug-3.4.0beta1 && docker-php-ext-enable xdebug

# Cleanup
RUN apt-get clean
Expand Down

0 comments on commit a336d34

Please sign in to comment.