We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use docker compose and prestashop PHP-FPM image, however we need a HTTP server.
But the default image httpd (apache), uses as default path : /usr/local/apache2/htdocs
Prestashop image is configured by default to : /var/www/html
Is it possible to modify this ?
I looked in the environment variables but I didn't find anything.
Here is my problem :
services: apache: image: httpd:2.4 restart: always ports: - 8080:80 volumes: - ./:/usr/local/apache2/htdocs # volume not shared <------ - php-socket:/run/php networks: - front ... here mariadb ... ... php-fpm: image: prestashop/prestashop:1.7.8.6-7.4-fpm restart: always ports: - 9000:9000 volumes: - ./:/var/www/html # volume not shared <------ - ./.docker/zz-docker.conf:/usr/local/etc/php-fpm.d/zz-docker.conf - php-socket:/run/php networks: - front volumes: php-socket: networks: front:
But as there are two different paths, the volumes are not sharing and will return an error : File not found.
Do I have to modify the default HTTPD image Apache DocumentRoot (and create/var/www/html to copy files) ? Or is there another solution ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I use docker compose and prestashop PHP-FPM image, however we need a HTTP server.
But the default image httpd (apache), uses as default path : /usr/local/apache2/htdocs
Prestashop image is configured by default to : /var/www/html
Is it possible to modify this ?
I looked in the environment variables but I didn't find anything.
Here is my problem :
But as there are two different paths, the volumes are not sharing and will return an error : File not found.
Do I have to modify the default HTTPD image Apache DocumentRoot (and create/var/www/html to copy files) ?
Or is there another solution ?
The text was updated successfully, but these errors were encountered: