Public | Automated Build

Last pushed: 16 days ago
Short Description
Docker PHP Stack - PHP FPM container
Full Description

DOCKER PHP STACK - PHPFPM

General information

This image provides php 5.4, 5.5, 5.6 and 7.0 trough php fpm.

Environment variables

Name Description possible values (/format) default mandatory
DB_HOST The database host. any valid host mysql n
DB_USER The database username. any valid username root n
DB_PASS The database password. any valid password root n
DB_NAME The database name. any valid db name app n
DB_DUMP The dump file or directory from which you want to import the queries on the first run. any valid path or file EMPTY n
BACKUP_URL The url from which you want to grab the backup. any valid url EMPTY n
BACKUP_USER The username for the backup download. any valid username EMPTY n
BACKUP_PASS The password for the backup download. any valid password EMPTY n
PROJECT_URL The project url for the config files. If you use docker dns something like _FOLDERNAME__web_1.local.docker any valid url EMPTY n
PROJECT_TYPE Depending on the project type the script under projects will be executed. oxid,shopware EMPTY n
USER_MAIL The user mail for the default user. any valid mail dev@local.docker n
USER_PASS The password for the default user. any valid password root n

First run

  • After the first run a file with the name init.lock will be created. Remove it to rerun the setup script again.
  • If a db dump file or path is provided the run script will run the queries.
    • If a directory is provided the query are executed in alphabetical order. It's suggested to name the files with an numbered prefix like 000_dump.sql.
  • If a backup url is provided the backup will be downloaded and extracted at the app dir
    • The backup file must be .tar.gz zipped.
    • WARNING: ALL FILES WHICH ARE NOT UNDER VERSION CONTROL WILL BE DELETED BEFORE THE BACKUP WILL BE EXTRACTED

Run image

Use the docker-compose file at https://bitbucket.org/best-it/dps-compose.

Docker Pull Command
Owner
bestitdocker
Source Repository

Comments (0)