Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.07 KB

README.md

File metadata and controls

58 lines (43 loc) · 1.07 KB

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