Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment on Redis-NG Storage without KEYS #99

Merged
merged 4 commits into from
Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 27 additions & 26 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
nginx:
build: nginx/
links:
- php-fpm
ports:
- 8080:80
services:
nginx:
build: nginx/
links:
- php-fpm
ports:
- 8080:80

php-fpm:
build: php-fpm/
volumes:
- .:/var/www/html
links:
- redis
environment:
- REDIS_HOST=redis
php-fpm:
build: php-fpm/
volumes:
- .:/var/www/html
links:
- redis
environment:
- REDIS_HOST=redis

redis:
image: redis
ports:
redis:
image: redis
ports:
- 6379:6379

phpunit:
build: php-fpm/
volumes:
- .:/var/www/html
links:
- redis
- nginx
environment:
- REDIS_HOST=redis
phpunit:
build: php-fpm/
volumes:
- .:/var/www/html
links:
- redis
- nginx
environment:
- REDIS_HOST=redis
6 changes: 3 additions & 3 deletions php-fpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:7.4-fpm
FROM php:8.1-fpm

RUN pecl install redis-5.3.1 && docker-php-ext-enable redis
RUN pecl install apcu-5.1.19 && docker-php-ext-enable apcu
RUN pecl install redis && docker-php-ext-enable redis
RUN pecl install apcu && docker-php-ext-enable apcu

COPY www.conf /usr/local/etc/php-fpm.d/
COPY docker-php-ext-apcu-cli.ini /usr/local/etc/php/conf.d/
Loading