https://github.com/benoitvallon/docker-php-for-prestashop
Base docker image to run Prestashop (Apache with all php extensions for prestashop installed)
https://github.com/benoitvallon/docker-php-for-prestashop
Last synced: 5 months ago
JSON representation
Base docker image to run Prestashop (Apache with all php extensions for prestashop installed)
- Host: GitHub
- URL: https://github.com/benoitvallon/docker-php-for-prestashop
- Owner: benoitvallon
- Created: 2015-02-12T10:28:19.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-24T19:30:23.000Z (over 11 years ago)
- Last Synced: 2025-04-07T17:13:17.116Z (about 1 year ago)
- Homepage:
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
docker-php-for-prestashop
================
Base docker image to run Prestashop (Apache with all php extensions for prestashop installed)
Running the docker image
------------------------------------
Start the image binding the external port 80, with your own php code in `/your-code-folder` and a container running mysql named `your-mysql-container`:
docker run -d -p 80:80 --name docker-php-for-prestashop \
--link your-mysql-container:mysql \
--volume /your-code-folder:/var/www/html \
benoitvallon/docker-php-for-prestashop
Running the docker image with docker-compose
------------------------------------
yourprestashop:
image: benoitvallon/docker-php-for-prestashop
restart: always
ports:
- "80:80"
links:
- your-mysql-container:mysql
volumes:
- /your-code-folder:/var/www/html
Adding mail support with ssmtp
------------------------------------
If you want the support of mails with ssmtp, you can mount your ssmtp configuration files with a volume.
--volume /your-ssmtp-configuration-folder:/etc/ssmtp
Building the base image
-----------------------
To create the base image `docker-php-for-prestashop`, execute the following command on the docker-php-for-prestashop folder after a git clone on the repo:
docker build -t docker-php-for-prestashop .