Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3bb583f
commit 60ddad7
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2019 PrestaShop | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Docker Internal images | ||
|
||
This repository provides additional Docker images for a quick deployment of PrestaShop. | ||
|
||
:warning: They are not designed for a production use. | ||
|
||
## Description | ||
|
||
These Docker files are based on the images [prestashop/prestashop](https://hub.docker.com/r/prestashop/prestashop/). | ||
With the Apache + PHP server already present, a MySQL server is installed and configured for a small environment (only one user per running website) to avoid too much memory consumption. | ||
PrestaShop is pre-installed during the build, and all existing languages are being added at the same time. | ||
|
||
For each PrestaShop major version, we chose the best compromise between reliability and speed of PHP. | ||
* PrestaShop 1.5 with PHP 5.6 | ||
* PrestaShop 1.6 with PHP 7.1 | ||
* PrestaShop 1.7 with PHP 7.2 | ||
|
||
## Installation | ||
|
||
Images are being stored by default on Docker hub. They can be downloaded with: | ||
|
||
```bash | ||
docker pull prestashop/docker-internal-images[:tag] | ||
``` | ||
|
||
Possible values for the tag are: `1.5`, `1.6`, `1.7`. Not providing this parameter will fallback on PrestaShop 1.7. | ||
|
||
## Runnig this image | ||
|
||
To run this images flawlessly on your environment, we advice you to find an available port on the host, then bind it | ||
to the container and the domain parameter. | ||
|
||
This example runs a pre-installed PrestaShop 1.7 on the port 8003 of the local machine: | ||
|
||
```bash | ||
docker run -ti -p 8003:80 -e PS_DOMAIN=localhost:8003 prestashop/docker-internal-images:1.7 | ||
``` |