Skip to content

mnieslony/WebServer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebServer

to create docker container with webserver in use:

docker run --name=WebServer -v local_git_clone_path:/web --net=host -dt anniesoft/webserver bash -c "source /setup/Setup.sh; cp /web/httpd.conf /etc/httpd/conf/; httpd stop; httpd -X"

To subsequently start and stop web server use:

docker start WebServer
docker stop WebServer

Note: Be aware that rapid stop and start may not allow the container to run as the system may have not released the port binding. To check if the web server really is running use:

  docker ps 

If Webserver is not listed wait a few mins and try to start again.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 49.8%
  • C++ 28.6%
  • Shell 17.8%
  • CSS 3.5%
  • Other 0.3%