skip to Main Content

No php-fpm error logs from docker container – Apache

Using apache + php-fpm containers in docker-compose, I can't get the php-fpm container to display any errors. docker-compose.yml version: '3' services: php: build: context: ./php ports: - 9000:9000 volumes: - ./code:/code - ./php/www.conf:/usr/local/etc/php-fpm.d/www.conf environment: ENVIRONMENT: local web: image: httpd:2.4 depends_on:…

VIEW QUESTION

Dockerfile – deploy mysql dump in entrypoint – Magento

Is it possible to connect to external container in entrypoint and upload DB dump to it? I always get web_1 exited with code 0 on this line execution: mysql -h$MYSQL_HOST -u$MYSQL_USER -p$MYSQL_PASSWORD $MYSQL_DATABASE < magento-sample-data-1.9.1.0/magento_sample_data_for_1.9.1.0.sql in install-sampledata from Dockerfile However,…

VIEW QUESTION
Back To Top
Search