logo Search
logo Search
Icon

Get Started

Icon

API Usage

Installation Setup

Get Started

View production requirements in Preparation documentation before continuing.

Directory Structure

Logment
├── compose.yml
└── config.json

Compose File

File Setup

Use the following for the compose.yml file:

services:
    logment:
        image: oci.registry.sudovanilla.org/logment:amd64
        ports:
            - 7440:8085 # Frontend
            - 7450:4500 # Backend
        volumes:
            - ./config.json:/logment/config.json
        environment:
            - DASHBOARD=http://localhost:7440
            - API=RANDOM_KEY_HERE

Choice of Architecture

The OCI images available for Docker and other container software are available for both amd64 and arm64 system architecture. By default, amd64 is already selected in the compose.yml file as it’s more common to see in servers. This is shown at the end of the OCI image name in the image section.

If your server does not run on either of the architecture, then you’ll need to build the OCI image on the server itself, if that is the case please continue to Building OCI Image.

ArchitectureOCI Image
amd64oci.registry.sudovanilla.org/logment:amd64
arm64oci.registry.sudovanilla.org/logment:arm64

Configuration

Use the following for the config.json file:

{
    "api": "YOUR_API_KEY_HERE",
    "login": {
        "username": "Username",
        "password": "Password"
    },
    "instances": {
        "backend": "https://logment.api.example.org",
        "git": "https://git.example.org"
    }
}

Launch

Retrieve the OCI image:

docker compose pull

Then launch:

docker compose up -d

Within a few moments, Logment will be able on http://localhost:45000.

If it still not available yet at the port 45000, then it may still be building or something was mis-configured resulting in error. To check the status, run the log command:

docker compose logs --follow