Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.
/ gp-php Public archive
forked from teecke/gp-php

Generic Platform - PHP Webapp Server Product

License

Notifications You must be signed in to change notification settings

tpbtools/gp-php

 
 

Repository files navigation

Generic Platform - PHP Web Application

Overview

Docker image and docker-compose sample configuration to bring up a PHP web application product to the Docker Generic Platform (GP).

Configuration

The product is formed by one container:

Operation

  1. Use the docker-compose.yml.sample file as your docker-compose configuration file.

  2. Install assets with devcontrol assets-install and copy your web application files in the /data/var/www/html directory.

  3. Start with docker-compose up -d.

  4. Open the url http://localhost:8080 in a browser to view your application running.

  5. Manage backups of your files:

    1. Make a backup executing docker-compose exec webapp backup.
    2. Find the current backup within the /var/backups/gp/webapp/ of the container.
    3. Extract the current backup executing docker cp $(docker-compose ps -q webapp):/var/backups/gp gp.
  6. Stop the platform with docker-compose stop.

You can use this docker piece with the Docker Generic Platform project.

Known issues

None known

About

Generic Platform - PHP Webapp Server Product

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 86.7%
  • Dockerfile 10.2%
  • PHP 3.1%