Skip to content

Commit a95f621

Browse files
authored
IBX-10493: Included Redis 4.0, 5.0, 7.2 on CI (#50)
* IBX-10493: Included Redis 7.2 * IBX-10493: Included Redis 5.0 * IBX-10493: Included Redis 4.0 * [fix ci] Updated Debian to Bullseye in Dockerfile for PHP 7.4 * [fix ci] Bumped libicu
1 parent 6a6c35c commit a95f621

File tree

7 files changed

+113
-2
lines changed

7 files changed

+113
-2
lines changed

docker/redis-session4.0.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Config for having sessions in separate redis instance, to be appended after base-prod or base-dev, ..., but before selenium.yml
2+
3+
## WARNING:
4+
# This service is currently work in progress, is not tested by CI, and thus not guaranteed to work.
5+
# You are however more then welcome to try it out and help make it stable.
6+
7+
services:
8+
app:
9+
depends_on:
10+
- redis-session
11+
environment:
12+
- SESSION_HANDLER_ID=Ibexa\Bundle\Core\Session\Handler\NativeSessionHandler
13+
- SESSION_SAVE_PATH=tcp://redis-session:6379?weight=1
14+
15+
redis-session:
16+
image: redis:4.0
17+
networks:
18+
- backend

docker/redis-session5.0.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Config for having sessions in separate redis instance, to be appended after base-prod or base-dev, ..., but before selenium.yml
2+
3+
## WARNING:
4+
# This service is currently work in progress, is not tested by CI, and thus not guaranteed to work.
5+
# You are however more then welcome to try it out and help make it stable.
6+
7+
services:
8+
app:
9+
depends_on:
10+
- redis-session
11+
environment:
12+
- SESSION_HANDLER_ID=Ibexa\Bundle\Core\Session\Handler\NativeSessionHandler
13+
- SESSION_SAVE_PATH=tcp://redis-session:6379?weight=1
14+
15+
redis-session:
16+
image: redis:5.0
17+
networks:
18+
- backend

docker/redis-session7.2.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Config for having sessions in separate redis instance, to be appended after base-prod or base-dev, ..., but before selenium.yml
2+
3+
## WARNING:
4+
# This service is currently work in progress, is not tested by CI, and thus not guaranteed to work.
5+
# You are however more then welcome to try it out and help make it stable.
6+
7+
services:
8+
app:
9+
depends_on:
10+
- redis-session
11+
environment:
12+
- SESSION_HANDLER_ID=Ibexa\Bundle\Core\Session\Handler\NativeSessionHandler
13+
- SESSION_SAVE_PATH=tcp://redis-session:6379?weight=1
14+
15+
redis-session:
16+
image: redis:7.2
17+
networks:
18+
- backend

docker/redis4.0.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Redis config, to be appended after base-prod or base-dev, ..., but before selenium.yml
2+
3+
## WARNING:
4+
# This service is currently work in progress, is not tested by CI, and thus not guaranteed to work.
5+
# You are however more then welcome to try it out and help make it stable.
6+
7+
services:
8+
app:
9+
depends_on:
10+
- redis
11+
environment:
12+
- CACHE_POOL=cache.redis
13+
- CACHE_DSN=redis:6379
14+
- CACHE_NAMESPACE
15+
16+
redis:
17+
image: redis:4.0
18+
networks:
19+
- backend

docker/redis5.0.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Redis config, to be appended after base-prod or base-dev, ..., but before selenium.yml
2+
3+
## WARNING:
4+
# This service is currently work in progress, is not tested by CI, and thus not guaranteed to work.
5+
# You are however more then welcome to try it out and help make it stable.
6+
7+
services:
8+
app:
9+
depends_on:
10+
- redis
11+
environment:
12+
- CACHE_POOL=cache.redis
13+
- CACHE_DSN=redis:6379
14+
- CACHE_NAMESPACE
15+
16+
redis:
17+
image: redis:5.0
18+
networks:
19+
- backend

docker/redis7.2.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Redis config, to be appended after base-prod or base-dev, ..., but before selenium.yml
2+
3+
## WARNING:
4+
# This service is currently work in progress, is not tested by CI, and thus not guaranteed to work.
5+
# You are however more then welcome to try it out and help make it stable.
6+
7+
services:
8+
app:
9+
depends_on:
10+
- redis
11+
environment:
12+
- CACHE_POOL=cache.redis
13+
- CACHE_DSN=redis:6379
14+
- CACHE_NAMESPACE
15+
16+
redis:
17+
image: redis:7.2
18+
networks:
19+
- backend

php/Dockerfile-7.4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.4-fpm-buster
1+
FROM php:7.4-fpm-bullseye
22

33
# Container containing php-fpm and php-cli to run and interact with eZ Platform and other Symfony projects
44
#
@@ -25,7 +25,7 @@ RUN apt-get update -q -y \
2525
libjpeg62-turbo \
2626
libxpm4 \
2727
libpng16-16 \
28-
libicu63 \
28+
libicu67 \
2929
libxslt1.1 \
3030
libmemcachedutil2 \
3131
libzip4 \

0 commit comments

Comments
 (0)