Giter Club home page Giter Club logo

docker's Introduction

Bludit the Simple, Fast, and Flexible CMS.

With Bludit, you can build your own website or blog in just seconds. It’s completely free, open-source, and easy to use. Bludit stores content in JSON format, eliminating the need for database installation or configuration. All you need is a web server with PHP support.

As a Flat-File CMS, Bludit offers unparalleled flexibility and speed. Plus, with support for both Markdown and HTML code, creating and managing content has never been easier.

Resources

Requirements

  • Webserver with PHP support.
  • PHP v5.6 or higher version.
  • PHP mbstring module for full UTF-8 support.
  • PHP gd module for image processing.
  • PHP dom module for DOM manipulation.
  • PHP json module for JSON manipulation.

Installation

  1. Download the latest version from the official page: Bludit.com
  2. Extract the zip file into a directory, such as bludit.
  3. Upload the bludit directory to your web server or hosting.
  4. Visit your domain (e.g., https://example.com/bludit/).
  5. Follow the Bludit Installer to set up your website.

Quick installation for testing

You can use PHP Built-in web server (php -S localhost:8000) or Docker image

Support Bludit

Bludit is open-source and free to use, but if you find the project useful and would like to support its development, you can contribute on Patreon. As a token of our appreciation, supporters will receive Bludit PRO.

If you prefer, you can also make a one-time donation to buy us a coffee or beer. Every contribution helps us continue to improve Bludit and provide the best possible experience for our users.

  • PayPal
  • BTC (Network BTC): bc1qtets5pdj73uyysjpegfh2gar4pfywra4rglcph
  • ETH (Network ETH): 0x0d7D58D848aA5f175D75Ce4bC746bAC107f331b7

License

Bludit is open source software licensed under the MIT license.

docker's People

Contributors

cambid avatar coliveiraeti avatar dignajar avatar giselher9 avatar kylethedeveloper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker's Issues

mixed content issues

I stumbled accross some issues with the docker container.
Firefox as well as Chrome prohibit the use of mixed content from http and https sources.
the bludit image apparently uses http for internal ressources.
My quick and dirty fix was to add
add_header Content-Security-Policy "upgrade-insecure-requests;"
to default.conf in the running docker container.
If I'm not mistaken this will only solve the issue for modern browsers though, long term it would probably be better to upgrade the internal ressource loading to https.
I tried to open a pull request to implement this fix, but couldn't.
Would be very cool if this would be implemented. Just following the setup instructions doesn't lead to success in a production environment.

Making bl-themes and bl-plugins persistent

There is no persistent way to add new themes or plugins in Docker installation.

Mounting a volume like bl-contents would not work as mount operation removes the existing files in the container. The only way for now is to manually download bl-themes and bl-plugins contents and put it into host directory, then run the container with mounting.

I suggest an enhancement about this issue. I already started working on this, may send a pull request soon.

Thanks in advance.

Access rights issues and themes

Hello,

Before I detail my problems, I would like to thank you for the work you have done!

I currently have two problems.

The first concerns access rights to the volume. When I create a container with a volume and then try to connect to the website, I face an error that tells me:
Writing test failure, check directory "bl-content" permissions.

I think this error is due to the fact that nginx is not installed on my machine and therefore the user and group used by your dockerfile do not exist.

The second problem concerns the themes. I noticed that it was not possible to create a volume containing the themes. It's a feature that interests me and I think you just have to do the same steps on bl-themes as on bl-content so that you can access it from a volume.

I hope to hear from you soon because I really want to deploy my blog using this great tool!

Thank you in advance.

My docker-compose file:

version: '3.3'

services:
   myblog:
     image: bludit/docker:latest
     volumes:
       - ./content:/usr/share/nginx/html/bl-content
     restart: always
     ports: 
       - 8080:80

Error using reverse proxy

Hello,

First of all, thank you for the great work. I am having trouble loading bludit content through a reverse proxy:
image

My configuration for docker-compose is as follows:
`version: '3'

services:
nginx-proxy:
image: jwilder/nginx-proxy
restart: always
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- certs:/etc/nginx/certs:ro
- vhostd:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
labels:
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy

letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: always
environment:
- NGINX_PROXY_CONTAINER=nginx-proxy
volumes:
- certs:/etc/nginx/certs:rw
- vhostd:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro

www:
image: bludit/docker
restart: always
expose:
- "80"
volumes:
- /home/webadmin/blog/bludit:/usr/share/nginx/html/bl-content
environment:
- VIRTUAL_HOST=example.com
- LETSENCRYPT_HOST=example.com
- LETSENCRYPT_EMAIL=[email protected]
volumes:
certs:
html:
vhostd:`

I have tried removing the volume config for bludit, but still showing the same problem. I have also tried to include the following in the jwilder/nginx-proxy configuration:
proxy_pass_request_headers on;

But I also cannot load the web correctly. Thanks for your help.

arm support

It would be nice to have image for orangepi/rpi.

Documentation on how to make it persistent

It would be great if you could provide/document on how to persist content created in a container... a volume or folder would be enough to configure it on docker-compose or kubernetes

one uninformed guess could be to mount the /usr/share/nginx/html/bl-content from a volume...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.