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
loading...
Uncomment environment and add MALOJA_FORCE_PASSWORD=CHANGE_ME to set an admin password
Start the container:
~/malojaData
docker compose up -d
- Navigate to the Admin Panel (Cog in upper-right corner) -> API Keys (or at http://myMalojaServerIP/admin_apikeys)
- Create a New Key and then copy the generated key value
Finally, add the Maloja server URL and API Key to the configuration type you choose to use, below.
Configuration
- ENV
- File
- AIO
| Environmental Variable | Required? | Default | Description |
|---|---|---|---|
MALOJA_URL | Yes | Base URL of your installation | |
MALOJA_API_KEY | Yes | Api Key |
CONFIG/maloja.json
[
{
"name": "myMaloja-client",
"enable": true,
"configureAs": "client",
"data": {
"url": "http://localhost:42010",
"apiKey": "myMalojaKey"
}
}
]
or explore the schema with an example and live editor/validator
CONFIG_DIR/config.json
{
"clients": [
{
"name": "myMaloja-client",
"enable": true,
"configureAs": "client",
"data": {
"url": "http://localhost:42010",
"apiKey": "myMalojaKey"
},
"type": "maloja"
}
]
}
or explore the schema with an example and live editor/validator