This commit is contained in:
2025-02-24 22:37:29 +08:00
parent 256248f635
commit ecbb542437
18 changed files with 9071 additions and 47 deletions

1
docker/keydb/Dockerfile Normal file
View File

@@ -0,0 +1 @@
FROM eqalpha/keydb

View File

BIN
docker/keydb/data/dump.rdb Normal file

Binary file not shown.

1834
docker/keydb/redis.conf Normal file

File diff suppressed because it is too large Load Diff

1
docker/nginx/Dockerfile Normal file
View File

@@ -0,0 +1 @@
FROM nginx:latest

View File

@@ -1,16 +1,23 @@
FROM php:8.4-fpm
RUN apt update && \
apt upgrade -y && \
apt install -y --no-install-recommends git unzip 7zip && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/
RUN apt update \
&& apt upgrade -y \
&& apt install -y --no-install-recommends \
git \
unzip \
7zip \
&& apt-get clean autoclean \
&& apt-get autoremove --yes \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
# https://pecl.php.net/package/xdebug
RUN pecl channel-update pecl.php.net && \
pecl install xdebug-3.4.0 unzip && \
mkdir -p /var/log/php
# https://pecl.php.net/package/redis
RUN pecl channel-update pecl.php.net \
&& pecl install \
xdebug-3.4.0 \
unzip \
redis \
&& mkdir -p /var/log/php
COPY --from=composer /usr/bin/composer /usr/local/bin/composer

View File

@@ -26,3 +26,6 @@ xdebug.client_host = 172.17.0.1
xdebug.REQUEST = *
xdebug.SESSION = *
xdebug.SERVER = *
[redis]
extension=redis

View File

@@ -13,3 +13,6 @@ opcache.max_accelerated_files = 30000
opcache.revalidate_freq = 0
opcache.jit_buffer_size = 64M
opcache.jit = tracing
[redis]
extension=redis