a sample webapp build with php, jquery and bootstrap. includes fontawesome, fpdf and pdfjs.
1.2K
a generic example webapp build using php bootstrap and javascript on top of the lemp webstack the image is based on the clemp image
a prebuild version of the image can be pulled with
docker pull fuseteam/lemp-webapp
containers using this images as a base can mount files into /var/www/html using the following command
docker run -d -v /absolute/path/to/directory:/var/www/html fuseteam/lemp-webapp
note that when mounting it over writes the content of the folder as such it requires at least an index file
with docker compose file the prebuilt image can used and brought up using one command:
docker-compose up -d
the way it is set up with with populate the www folder with the document root and the www-data with the database, both configurable in docker-compose.yml. both www and www-data must be created manually before running the above command with the default docker-compose file
this contains the actual webapp build with php css html and javascript of which
this contains the configuration of nginx and the rest of the server stack
this contains the script the container runs to initialize the webapp enviroment
this file contains the configuration used by docker to create the docker image which the webapp can run on without issue
this file contains the configuration used by docker-compose to setup the webapp application with the docker-compose up -d command
Content type
Image
Digest
Size
403.1 MB
Last updated
almost 6 years ago
docker pull fuseteam/lemp-webapp