Skip to content

Commit 884d5ad

Browse files
author
Marc Wolf
committed
[TASK] Raise to PHP 8.3.8, Nginx 1.27.0, Redis 7.2.5 and MariaDB 11.4.2
1 parent 2b07157 commit 884d5ad

File tree

4 files changed

+13
-24
lines changed

4 files changed

+13
-24
lines changed

.github/workflows/docker-compose-test.yml

-11
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,6 @@ jobs:
5151
echo "Redis test successful."
5252
fi
5353
54-
- name: Test MariaDB
55-
run: |
56-
sleep 5
57-
MYSQL_TEST=$(docker-compose exec -T mariadb mysql -u${{ secrets.MARIADB_USER }} -p${{ secrets.MARIADB_PASSWORD }} -e "SHOW DATABASES;")
58-
if [[ ! "$MYSQL_TEST" =~ "${MARIADB_DATABASE}" ]]; then
59-
echo "MariaDB test failed. Cannot show databases."
60-
exit 1
61-
else
62-
echo "MariaDB test successful."
63-
fi
64-
6554
- name: Cleanup
6655
run: |
6756
docker-compose -f docker-compose.yml down

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# Docker compose PHP 8.3.7, Xdebug 3.3.2, Nginx 1.26.0, Redis 7.2.4 and MariaDB 11.4.1-rc
1+
# Docker compose PHP 8.3.8, Xdebug 3.4.0, Nginx 1.27.0, Redis 7.2.5 and MariaDB 11.4.2
22

33
![docker](https://img.shields.io/badge/Docker-compose-brightgreen.svg)
4-
![php](https://img.shields.io/badge/PHP_FPM-8.3.7-brightgreen.svg)
4+
![php](https://img.shields.io/badge/PHP_FPM-8.3.8-brightgreen.svg)
55
![xdebug](https://img.shields.io/badge/Xdebug-3.3.2-brightgreen.svg)
6-
![nginx](https://img.shields.io/badge/nginx-1.26.0-brightgreen.svg)
7-
![redis](https://img.shields.io/badge/Redis-7.2.4-brightgreen.svg)
8-
![mariadb](https://img.shields.io/badge/MariaDB-11.4.1-rc-brightgreen.svg)
6+
![nginx](https://img.shields.io/badge/nginx-1.27.0-brightgreen.svg)
7+
![redis](https://img.shields.io/badge/Redis-7.2.5-brightgreen.svg)
8+
![mariadb](https://img.shields.io/badge/MariaDB-11.4.2-brightgreen.svg)
99

1010
* 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)
11-
* Uses [PHP 8.3.7](https://www.php.net) for better performance, lower CPU and memory usage
11+
* Uses [PHP 8.3.8](https://www.php.net) for better performance, lower CPU and memory usage
1212
* And [composer the dependency manager for PHP](https://getcomposer.org) to start easy your project
13-
* Built on the lightweight [nginx 1.26.0](https://nginx.org) webserver
13+
* Built on the lightweight [nginx 1.27.0](https://nginx.org) webserver
1414
* Debugging with [Xdebug 3.3.2](https://xdebug.org)
15-
* [Redis 7.2.4](https://redis.io) as session storage, database, cache, streaming engine, and message broker
16-
* Database storage with [MariaDB 11.4.1-rc](https://mariadb.org)
15+
* [Redis 7.2.5](https://redis.io) as session storage, database, cache, streaming engine, and message broker
16+
* Database storage with [MariaDB 11.4.2](https://mariadb.org)
1717

1818
See also:
1919
[Blog-Post: Dockerize your PHP application with Nginx and PHP8 FPM](https://marc.it/dockerize-application-with-nginx-and-php8/)

docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
nginx:
3-
image: "nginx:1.26.0-alpine"
3+
image: "nginx:1.27.0-alpine"
44
restart: always
55
working_dir: /app
66
links:
@@ -24,12 +24,12 @@ services:
2424
XDEBUG_MODE: "debug"
2525

2626
redis:
27-
image: "redis:7.2.4-alpine"
27+
image: "redis:7.2.5-alpine"
2828
environment:
2929
ALLOW_EMPTY_PASSWORD: "yes"
3030

3131
mariadb:
32-
image: "mariadb:11.3.2"
32+
image: "mariadb:11.4.2"
3333
restart: always
3434
working_dir: /app
3535
volumes:

docker/php-fpm/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.3.7-fpm
1+
FROM php:8.3.8-fpm
22
WORKDIR "/app"
33

44
# Update

0 commit comments

Comments
 (0)