services: app: build: context: . dockerfile: docker/php-apache/Dockerfile container_name: prn2026-app ports: - "8000:80" volumes: - .:/var/www/html - ./docker/php/custom.ini:/usr/local/etc/php/conf.d/99-custom.ini - vendor_cache:/var/www/html/vendor - node_modules_cache:/var/www/html/node_modules environment: APACHE_DOCUMENT_ROOT: /var/www/html/public APP_ENV: local APP_DEBUG: "true" DB_HOST: 172.17.20.16 DB_PORT: 3306 DB_DATABASE: prn2026 DB_USERNAME: root DB_PASSWORD: "1234" REDIS_HOST: redis REDIS_PORT: 6379 depends_on: - redis extra_hosts: - "host.docker.internal:host-gateway" redis: image: redis:7-alpine container_name: prn2026-redis ports: - "6379:6379" volumes: - redis_data:/data command: redis-server --appendonly yes volumes: redis_data: vendor_cache: node_modules_cache: