Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.01 KB

README.md

File metadata and controls

54 lines (36 loc) · 1.01 KB

Bludit Docker Image

You can run Bludit as a Docker container.

Docker Hub

Kubernetes

Run the container

$ docker run --name bludit -p 8000:80 -d bludit/docker:latest

To get access visit with your browser http://localhost:8000

Run the container and mounting a volume to persist data

mkdir ~/bludit

docker run --name bludit \
    -p 8000:80 \
    -v ~/bludit:/usr/share/nginx/html/bl-content \
    -d bludit/docker:latest

To get access visit with your browser http://localhost:8000

Stop the container

$ docker stop bludit

Delete the container

$ docker rm bludit

Delete the image

$ docker rmi bludit/docker:latest

Kubernetes

Run Bludit on K8s.

$ kubectl apply -f kubernetes/deployment.yml
$ kubectl apply -f kubernetes/service.yml