Skip to content

mgebiesheuvel/webapp-serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Webapp Serve

A quick and easy way to serve web applications using Docker. It will serve both a web application and MySQL database, including PHPMyAdmin.

Requirements

Install a web application

  1. Clone this project;
  2. Create a new directory src in the root folder of this project;
  3. Add a web application (i.e. a Laravel app) in the newley created folder.

Starting the containers

  1. Run docker-compose up -d to serve the app and database; The app will be available on http://127.0.0.1:8000. PHPMyAdmin will be available on http://127.0.0.1:8080.

Stopping the containers

  1. Run docker-compose down to stop all the running containers;

SSH into a running container

  1. Run docker ps to get the name of the container;
  2. Run docker exec -it <container name> /bin/bash to access the container.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published