Skip to content

Commit 12478ca

Browse files
authored
Update docker containers (#955)
1 parent 8ef43ac commit 12478ca

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

.env

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
#
55

66
###> docker ###
7-
NGINX_VERSION=1.26.1
7+
NGINX_VERSION=1.27.3
88
NGINX_PORT=8080
99
NGINX_SSL_PORT=8443
1010
PHP_VERSION=8.3
1111
PHP_MEMORY_LIMIT=256M
12-
MYSQL_VERSION=8.0.31
12+
MYSQL_VERSION=8.4.0
1313
MYSQL_PORT=3306
1414
MYSQL_DATA_DIR=./docker/db/data
1515
RABBITMQ_CLIENT_PORT=5672
1616
RABBITMQ_API_PORT=15672
17-
MERCURE_VERSION=v0.15.5
17+
MERCURE_VERSION=v0.17.1
1818
MERCURE_SSL_PORT=6443
1919
HIGHLIGHTJS_HOST=nodejs
2020
HIGHLIGHTJS_PORT=3000
@@ -64,7 +64,7 @@ OAUTH_AZURE_AD_CLIENT_SECRET=
6464
###< thenetworg/oauth2-azure ###
6565

6666
###> symfony/mercure-bundle ###
67-
MERCURE_URL=https://mercure:${MERCURE_SSL_PORT}/.well-known/mercure
67+
MERCURE_URL=https://my_mercure:${MERCURE_SSL_PORT}/.well-known/mercure
6868
MERCURE_JWT_SECRET=
6969
###< symfony/mercure-bundle ###
7070

.env.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ HTTP_CLIENT_VERIFY_PEER=true
3131
###< symfony/http-client ###
3232

3333
###> symfony/mercure-bundle ###
34-
MERCURE_URL=https://mercure/.well-known/mercure
34+
MERCURE_URL=https://my_mercure/.well-known/mercure
3535
MERCURE_JWT_SECRET='$ecretf0rt3st'
3636
###< symfony/mercure-bundle ###
3737

docker-compose.override.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ services:
3737
ports:
3838
- ${HIGHLIGHTJS_PORT}:${HIGHLIGHTJS_PORT}
3939

40-
mercure:
40+
my_mercure:
4141
volumes:
4242
- ./docker/ssl/development/development-self-signed.crt:/etc/ssl/certs/123view-cert.crt:ro
4343
- ./docker/ssl/development/development-self-signed.key:/etc/ssl/private/123view-cert.key:ro
44-
command: /usr/bin/caddy run --config /etc/caddy/Caddyfile.dev
44+
command: /usr/bin/caddy run --config /etc/caddy/dev.Caddyfile

docker-compose.production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ services:
2828
RABBITMQ_DISK_FREE_ABSOLUTE_LIMIT: 1GB
2929
restart: unless-stopped
3030

31-
mercure:
31+
my_mercure:
3232
volumes:
3333
- ./docker/ssl/production/production.crt:/etc/ssl/certs/123view-cert.crt:ro
3434
- ./docker/ssl/production/production.key:/etc/ssl/private/123view-cert.key:ro

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,16 @@ services:
8888
volumes:
8989
- .:/app:rw
9090

91-
mercure:
91+
my_mercure:
9292
container_name: ${MERCURE_CONTAINER:-mercure}
9393
image: dunglas/mercure:${MERCURE_VERSION}
9494
environment:
9595
GLOBAL_OPTIONS: |
9696
auto_https off
9797
http_port 6080
9898
https_port 6443
99-
SERVER_NAME: |
100-
${APP_HOSTNAME}, mercure, localhost
99+
SERVER_NAME: ${APP_HOSTNAME}, my_mercure, localhost
100+
CADDY_SERVER_EXTRA_DIRECTIVES: |
101101
tls /etc/ssl/certs/123view-cert.crt /etc/ssl/private/123view-cert.key
102102
MERCURE_PUBLISHER_JWT_KEY: ${MERCURE_JWT_SECRET}
103103
MERCURE_SUBSCRIBER_JWT_KEY: ${MERCURE_JWT_SECRET}

docker/nodejs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:21
1+
FROM node:22
22

33
WORKDIR /app
44

docker/php-fpm/Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ARG VERSION=8.3
55
###################################################################################
66

77
# Base image
8-
FROM php:${VERSION}-fpm-bullseye AS base
8+
FROM php:${VERSION}-fpm-bookworm AS base
99

1010
# Install packages and remove libldap due to a known vulnerability and upgrade openssl
1111
RUN apt-get update \
@@ -22,7 +22,7 @@ RUN apt-get update \
2222
librabbitmq-dev \
2323
libssl-dev \
2424
make \
25-
netcat \
25+
netcat-openbsd \
2626
openssl \
2727
supervisor \
2828
wget \
@@ -37,15 +37,15 @@ RUN pecl channel-update pecl.php.net && \
3737
docker-php-source delete && \
3838
docker-php-ext-install opcache pdo_mysql intl
3939

40-
## install git 2.41.0
41-
RUN curl -sLO https://github.com/git/git/archive/refs/tags/v2.41.0.tar.gz && \
42-
tar -xzf v2.41.0.tar.gz && \
43-
cd git-2.41.0 && \
40+
## install git 2.47.1
41+
RUN curl -sLO https://github.com/git/git/archive/refs/tags/v2.47.1.tar.gz && \
42+
tar -xzf v2.47.1.tar.gz && \
43+
cd git-2.47.1 && \
4444
make prefix=/usr/local all && \
4545
make prefix=/usr/local install && \
4646
cd .. && \
47-
rm -rf git-2.41.0 && \
48-
rm v2.41.0.tar.gz
47+
rm -rf git-2.47.1 && \
48+
rm v2.47.1.tar.gz
4949

5050
## Copy php default configuration
5151
COPY ./docker/php-fpm/conf/default.ini /usr/local/etc/php/conf.d/default.ini

0 commit comments

Comments
 (0)