Skip to content

Dockerfile for the Bludit - simple, fast, secure, flat-file CMS

Notifications You must be signed in to change notification settings

pdacity/bludit_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bludit Docker Image (Alpine based)

You can run Bludit as a Docker container. Image based in Alpine Linux 3.7, php 5.6 (with healthcheck) and latest bludit. The size of container only 32 MB !

Run the container

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

To get access go with your browser to http://localhost:8000

Stop the container

$ docker stop bludit

Delete the container

$ docker rm bludit

Delete the image

$ docker rmi pdacity/bludit_docker:latest

Start with docker-compose

version: '2.4'
services:
  bludit:
    image: pdacity/bludit_docker
    ports:
      - 8080:80
    volumes:
      - html:/var/www           # Bludit home dir
      - nginx:/etc/nginx        # Nginx config dir
    restart: always
    cpu_shares: 50
    mem_limit: 64m
    memswap_limit: 64m
volumes:
  html: {}
  nginx: {}
networks:
  default:

Refs

About

Dockerfile for the Bludit - simple, fast, secure, flat-file CMS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published