Coder Social home page Coder Social logo

docker's Introduction

What is librebooking

Librebooking is a simple powerful scheduling solution for any organization, forked from Booked.

Project goal

This project implements the librebooking web application as a docker image.

The image contains the apache web server and the librebooking application files. It needs to be linked to a MariaDB database container.

Upgrade to version 2 of the docker images

Version 1 of the docker images exposed the container directory /var/www/html. This resulted in:

  • Storing the application files in a docker volume or a local directory on the host
  • A complex upgrade procedure
  • Longer container startup time

From version 2, the docker images expose the container directory /config. This implies:

  • To store the application configuration files only
  • A simple upgrade procedure
  • A faster container startup time

Docker images are tagged as follows:

librebooking/librebooking:<application-version>-<image-version>

Examples:

  • image v1: librebooking/librebooking:2.8.5.5-1.2.3
  • image v2: librebooking/librebooking:2.8.5.5-2.3.2

To upgrade from a version-1 docker image to a version-2 docker image, you need to:

  1. Stop your running librebooking-V1 instance
  2. Edit your docker-compose.yml file to replace the:
    1. v1-docker image with the corresponding v2
    2. container mapped folder /var/www/html with /config
  3. Start your librebooking-V2 instance

On first run:

  • The former content of your librebooking volume will be moved to the folder archive
  • The librebooking configuration files will be copied under the root of the librebooking volume and linked to the application container folder

Table of contents

  1. Get or build the docker image
  2. Run the docker container
  3. Setup the application

docker's People

Contributors

colisee avatar uebmaster avatar dependabot[bot] avatar user90210 avatar yenyen avatar

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.