https://github.com/sclorg/httpd-ex
An example application repository for the s2i httpd builder image
https://github.com/sclorg/httpd-ex
Last synced: 5 months ago
JSON representation
An example application repository for the s2i httpd builder image
- Host: GitHub
- URL: https://github.com/sclorg/httpd-ex
- Owner: sclorg
- Created: 2017-06-14T21:21:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-06-26T10:40:05.000Z (about 1 year ago)
- Last Synced: 2025-06-26T11:43:38.379Z (about 1 year ago)
- Language: HTML
- Size: 55.7 KB
- Stars: 33
- Watchers: 106
- Forks: 789
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Apache HTTP Server (httpd) S2I Sample Application
This is a very basic sample application repository that can be built and deployed
on [OpenShift](https://www.openshift.com) using the [Apache HTTP Server builder image](https://github.com/sclorg/httpd-container).
The application serves a single static html page via httpd.
To build and run the application:
```
$ s2i build https://github.com/sclorg/httpd-ex centos/httpd-24-centos7 myhttpdimage
$ docker run -p 8080:8080 myhttpdimage
$ # browse to http://localhost:8080
```
You can also build and deploy the application on OpenShift, assuming you have a
working `oc` command line environment connected to your cluster already:
`$ oc new-app centos/httpd-24-centos7~https://github.com/sclorg/httpd-ex`
You can also deploy the sample template for the application:
`$ oc new-app -f https://raw.githubusercontent.com/sclorg/httpd-ex/master/openshift/templates/httpd.json`