Skip to content

Maloja

Setup a Maloja server if you have not already done this.

Maloja Setup Intructions

Using Maloja’s example docker-compose.yml:

~/malojaData/docker-compose.yml
services:
maloja:
# from dockerhub
image: "krateng/maloja:latest"
# or built locally
#build:
# context: .
# dockerfile: ./Containerfile
ports:
- "42010:42010"
# different directories for configuration, state and logs
volumes:
- "$PWD/config:/etc/maloja"
- "$PWD/data:/var/lib/maloja"
- "$PWD/logs:/var/log/maloja"
#you can also have everything together instead:
#volumes:
#- "$PWD/data:/data"
#environment:
#- "MALOJA_DATA_DIRECTORY=/data"

View on GitHub

Uncomment environment and add MALOJA_FORCE_PASSWORD=CHANGE_ME to set an admin password

Start the container:

~/malojaData
docker compose up -d

Finally, add the Maloja server URL and API Key to the configuration type you choose to use, below.

Configuration Type

This is configuration for the ENV Config Type.

Environmental Variable Type Default Description
MALOJA_ID string A globally unique ID EX myComponentId
MALOJA_NAME string Value of MALOJA_ID A vanity name EX My Cool Component
MALOJA_ENABLE boolean true Should this component be used?
MALOJA_URL string URL for maloja server
MALOJA_API_KEY string API Key for Maloja server

Bold/Italic = Required