-
Notifications
You must be signed in to change notification settings - Fork 480
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1891 from PrestaEdit/patch-44
Update Docker vars
- Loading branch information
Showing
1 changed file
with
9 additions
and
11 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 |
---|---|---|
|
@@ -466,26 +466,24 @@ Several environment variables are available on the PrestaShop Docker image, to c | |
| Environment variable | Description | Default value | | ||
|---|---|---| | ||
| PS_DEV_MODE | The constant _PS_MODE_DEV_ will be set at true | `0` | | ||
| PS_HOST_MODE | The constant _PS_HOST_MODE_ will be set at true. Useful to simulate a PrestaShop Cloud environment. | `0` | | ||
| PS_DEV_MODE | The constant _PS_MODE_DEV_ will be set at true | `1` | | ||
| PS_DEMO_MODE | The constant _PS_DEMO_MODE_ will be set at true. Use it to create a demonstration shop. | `0` | | ||
| DB_SERVER | If set, the external MySQL database will be used instead of the volatile internal one | `localhost` | | ||
| DB_SERVER | If set, the external MySQL database will be used instead of the volatile internal one | `mysql` | | ||
| DB_USER | Override default MySQL user | `root` | | ||
| DB_PASSWD | Override default MySQL password | `admin` | | ||
| DB_PASSWD | Override default MySQL password | `prestashop` | | ||
| DB_PREFIX | Override default tables prefix | `ps_` | | ||
| DB_NAME | Override default database name | `prestashop` | | ||
| PS_INSTALL_AUTO | The installation will be executed. Useful to initialize your image faster. In some configurations, you may need to set PS_DOMAIN or PS_HANDLE_DYNAMIC_DOMAIN as well. (Please note that PrestaShop can be installed automatically from PS 1.5) | `0` | | ||
| PS_INSTALL_AUTO | The installation will be executed. Useful to initialize your image faster. In some configurations, you may need to set PS_DOMAIN or PS_HANDLE_DYNAMIC_DOMAIN as well. (Please note that PrestaShop can be installed automatically from PS 1.5) | `1` | | ||
| PS_ERASE_DB | Drop the mysql database. All previous mysql data will be lost | `0` | | ||
| PS_INSTALL_DB | Create the mysql database. | `0` | | ||
| PS_DOMAIN | When installing automatically your shop, you can tell the shop how it will be reached. For advanced users only | | | ||
| PS_DOMAIN | When installing automatically your shop, you can tell the shop how it will be reached. For advanced users only | `localhost:8001` | | ||
| PS_LANGUAGE | Change the default language installed with PrestaShop | `en` | | ||
| PS_COUNTRY | Change the default country installed with PrestaShop | `GB` | | ||
| PS_COUNTRY | Change the default country installed with PrestaShop | `fr` | | ||
| PS_ALL_LANGUAGES | Install all the existing languages for the current version. | `0` | | ||
| PS_FOLDER_ADMIN | Change the name of the admin folder | `admin` | | ||
| PS_FOLDER_INSTALL | Change the name of the install folder | `install` | | ||
| PS_FOLDER_ADMIN | Change the name of the admin folder | `admin-dev` | | ||
| PS_FOLDER_INSTALL | Change the name of the install folder | `install-dev` | | ||
| PS_ENABLE_SSL | Enable SSL at PrestaShop installation. | `0` | | ||
| ADMIN_MAIL | Override default admin email | `[email protected]` | | ||
| ADMIN_PASSWD | Override default admin password | `prestashop_demo` | | ||
| ADMIN_PASSWD | Override default admin password | `Correct Horse Battery Staple` | | ||
If your IP / port (or domain) change between two executions of your container, you will need to modify this option: | ||
|