Files
Advogado/docker-compose.yml
2025-11-09 21:00:00 +00:00

22 lines
401 B
YAML

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
command: ["redis-server", "/usr/local/etc/redis/redis.conf"]
volumes:
- ./redis.conf:/usr/local/etc/redis/redis.conf
ports:
- "6379:6379"