pdacity / bludit_docker

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

Home Page:https://www.bludit.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://www.bludit.com


Languages

Language:Dockerfile 100.0%