feat: update Docker configuration

Removed version specification from docker-compose.yml and added mysqli extension installation in Dockerfile.
This commit is contained in:
2025-09-26 01:01:44 -03:00
parent bf12e00572
commit 0cd48261f4
10 changed files with 562 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
services:
redis:
image: redis:7.2-alpine
container_name: laravel_redis
command:
- redis-server
- --maxmemory 300mb
- --maxmemory-policy allkeys-lru
- --requirepass 1234567890 # Change to strong password
ports:
- "127.0.0.1:6379:6379" # Bind only to localhost
volumes:
- /Volumes/HDD_MINI/dev_docker/docker_redis:/data
restart: unless-stopped
healthcheck:
test: ["CMD", "redis-cli", "--no-auth-warning", "-a", "1234567890", "ping"]
interval: 10s
timeout: 5s
retries: 3