WIP
This commit is contained in:
1
docker/keydb/Dockerfile
Normal file
1
docker/keydb/Dockerfile
Normal file
@@ -0,0 +1 @@
|
||||
FROM eqalpha/keydb
|
||||
0
docker/keydb/data/.gitkeep
Normal file
0
docker/keydb/data/.gitkeep
Normal file
BIN
docker/keydb/data/dump.rdb
Normal file
BIN
docker/keydb/data/dump.rdb
Normal file
Binary file not shown.
1834
docker/keydb/redis.conf
Normal file
1834
docker/keydb/redis.conf
Normal file
File diff suppressed because it is too large
Load Diff
1
docker/nginx/Dockerfile
Normal file
1
docker/nginx/Dockerfile
Normal file
@@ -0,0 +1 @@
|
||||
FROM nginx:latest
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -26,3 +26,6 @@ xdebug.client_host = 172.17.0.1
|
||||
xdebug.REQUEST = *
|
||||
xdebug.SESSION = *
|
||||
xdebug.SERVER = *
|
||||
|
||||
[redis]
|
||||
extension=redis
|
||||
|
||||
@@ -13,3 +13,6 @@ opcache.max_accelerated_files = 30000
|
||||
opcache.revalidate_freq = 0
|
||||
opcache.jit_buffer_size = 64M
|
||||
opcache.jit = tracing
|
||||
|
||||
[redis]
|
||||
extension=redis
|
||||
|
||||
Reference in New Issue
Block a user