Implementando Redis + docker-compser

This commit is contained in:
2025-11-09 19:56:35 +00:00
parent e71f627fd1
commit 24f7caa102
2 changed files with 21 additions and 15 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
version: '3.8'
services:
web:
build: .
container_name: php_apache
ports:
- "8080:80"
volumes:
- .:/var/www/html
depends_on:
- redis
redis:
image: redis:alpine
container_name: redis_cache
ports:
- "6379:6379"