Skip to content

Commit

Permalink
Add Readme to the project
Browse files Browse the repository at this point in the history
  • Loading branch information
Quetzacoalt91 committed Jan 14, 2019
1 parent 3bb583f commit 60ddad7
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
@@ -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.
37 changes: 37 additions & 0 deletions Readme.md
@@ -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
```

0 comments on commit 60ddad7

Please sign in to comment.