Skip to content

weepee-org/openshift-static-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openshift-static-web

Template for running a apache on a container based on alpine linux/openshift/docker.

Installation

You need oc (https://github.com/openshift/origin/releases) locally installed:

create a new project (change to your whishes) or add this to your existing project

oc new-project openshift-apache \
    --description="WebServer - Apache" \
    --display-name="Apache"

Deploy (externally)

oc new-app https://github.com/weepee-org/openshift-static-web.git --name static-webserver

Deploy (weepee internally) add to Your buildconfig

spec:
  strategy:
    dockerStrategy:
      from:
        kind: ImageStreamTag
        name: static-webserver:latest
        namespace: weepee-registry
    type: Docker

use in your Dockerfile

FROM weepee-registry/static-webserver

# Your app
ADD app /app

Route.yml

Create route for development and testing

curl https://raw.githubusercontent.com/ure/openshift-static-web/master/Route.yaml | oc create -f -

About

Docker container based on Alpine Linux and Apache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published