Skip to content

An Apache (HTTPD) application that is built and run in Habitat

Notifications You must be signed in to change notification settings

burtlo/habitat-httpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache (HTTP) in Habitat

Run an apache website that reports the time and the ip address of the system.

Apache Site

Building and Running with Habitat

  1. Install Habitat

  2. Install Docker

  3. Build the Habitat package and run it

$ export HAB_DOCKER_OPTS="-p 8000:80"
$ hab studio enter
$ build
$ hab svc start YOURORG/webapp

Visit the site in your browser at http://localhost:8000

  1. Build the Habitat package and export it to Docker
$ hab studio enter
$ build
$ hab pkg export docker YOURORG/webapp
$ exit
$ docker run -p 8000:80 YOURORG/webapp

About

An Apache (HTTPD) application that is built and run in Habitat

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published