This commit is contained in:
Refactorian
2024-03-03 22:19:23 +09:00
committed by GitHub
parent 4ecef5f729
commit dd510605c0
5 changed files with 24 additions and 7 deletions

View File

@@ -12,6 +12,9 @@ RUN apt-get install -y libicu-dev \
&& docker-php-ext-configure intl \ && docker-php-ext-configure intl \
&& docker-php-ext-install intl && docker-php-ext-install intl
# redis
RUN pecl install redis && docker-php-ext-enable redis
# pcov # pcov
RUN pecl install pcov && docker-php-ext-enable pcov RUN pecl install pcov && docker-php-ext-enable pcov

2
.docker/redis/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*
!.gitignore

View File

@@ -24,7 +24,7 @@ SESSION_LIFETIME=120
MEMCACHED_HOST=127.0.0.1 MEMCACHED_HOST=127.0.0.1
REDIS_HOST=127.0.0.1 REDIS_HOST=redis
REDIS_PASSWORD=null REDIS_PASSWORD=null
REDIS_PORT=6379 REDIS_PORT=6379

View File

@@ -5,12 +5,13 @@
- PHP v8.2.x - PHP v8.2.x
- MySQL v8.1 - MySQL v8.1
- MariaDB v10.11 - MariaDB v10.11
- phpMyAdmin v5.2.1 - phpMyAdmin v5.x
- Mailpit v1.8.4 - Mailpit v1.x
- Node.js v18.17.1 - Node.js v18.x
- NPM v10.1.0 - NPM v10.x
- Yarn v1.22.19 - Yarn v1.x
- Vite v4.4.9 - Vite v5.x
- Redis v7.2.x
# Requirements # Requirements
- Stable version of [Docker](https://docs.docker.com/engine/install/) - Stable version of [Docker](https://docs.docker.com/engine/install/)

View File

@@ -97,3 +97,14 @@ services:
ports: ports:
- 8025:8025 - 8025:8025
- 1025:1025 - 1025:1025
####################################################################################################
# Redis
####################################################################################################
redis:
image: redis:latest
command: redis-server --appendonly yes
volumes:
- .docker/redis/data:/data
ports:
- 6379:6379