Giter Site home page Giter Site logo

kairoi-docker's Introduction

Kairoi-Docker

The Docker image packager for Kairoi.

What is Kairoi?

Kairoi is a Dynamic, Accurate and Scalable Time-based Job Scheduler written in Rust.

You can read more about Kairoi on the Kairoi Official Repository.

TL;DR

$ docker run emerick42/kairoi:latest

Docker Compose

version: '2'

services:
    kairoi:
        image: emerick42/kairoi:latest
        ports:
            - '5678:5678'
        volumes:
            - 'persisted_data:/var/lib/kairoi'

Usage

The recommended way to get the Kairoi Docker image is to pull the prebuilt image from the Docker Hub Registry.

$ docker pull emerick42/kairoi:latest

You should always use a specific version with a versioned tag. You can view the list of available versions in the Docker Hub Registry. For example, to get the 0.1.0-alpha, you can:

$ docker pull emerick42/kairoi:0.1.0-alpha

Configuration

Kairoi uses a configuration.toml file for configuration. This file is read at startup by the software. You can use your own configuration file by mounting a volume containing a configuration.toml file.

$ touch /path/to/data/configuration.toml
$ docker run -v /path/to/data:/var/lib/kairoi emerick42/kairoi:latest

Data Persistence

In the default configuration, if you remove the container, all your data and configurations will be lost. To avoid this loss of data, you should mount a volume that will persist even after the container is removed.

The image exposes a volume at /var/lib/kairoi, containing both the configuration.toml file and all persisted data (logfile, logfile.compressed, etc). If the mounted directory is empty, it will be initialized on the first run.

$ docker run -v /path/to/data:/var/lib/kairoi emerick42/kairoi:latest

kairoi-docker's People

Contributors

emerick42 avatar

Stargazers

 avatar

Watchers

 avatar  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.