mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-04-05 16:26:15 +02:00
feat: kolibri app
This commit is contained in:
parent
721c6b9653
commit
a44b88e72c
|
|
@ -20,6 +20,7 @@ export class DockerService {
|
||||||
public static OPEN_WEBUI_SERVICE_NAME = 'nomad_open_webui';
|
public static OPEN_WEBUI_SERVICE_NAME = 'nomad_open_webui';
|
||||||
public static CYBERCHEF_SERVICE_NAME = 'nomad_cyberchef';
|
public static CYBERCHEF_SERVICE_NAME = 'nomad_cyberchef';
|
||||||
public static FLATNOTES_SERVICE_NAME = 'nomad_flatnotes';
|
public static FLATNOTES_SERVICE_NAME = 'nomad_flatnotes';
|
||||||
|
public static KOLIBRI_SERVICE_NAME = 'nomad_kolibri';
|
||||||
public static NOMAD_STORAGE_ABS_PATH = '/opt/project-nomad/storage';
|
public static NOMAD_STORAGE_ABS_PATH = '/opt/project-nomad/storage';
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
|
||||||
|
|
@ -121,6 +121,25 @@ export default class ServiceSeeder extends BaseSeeder {
|
||||||
is_dependency_service: false,
|
is_dependency_service: false,
|
||||||
depends_on: null,
|
depends_on: null,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
service_name: DockerService.KOLIBRI_SERVICE_NAME,
|
||||||
|
friendly_name: 'Kolibri',
|
||||||
|
description: 'An offline-first education platform for schools and learners',
|
||||||
|
container_image: 'treehouses/kolibri:latest',
|
||||||
|
container_command: null,
|
||||||
|
container_config: JSON.stringify({
|
||||||
|
HostConfig: {
|
||||||
|
RestartPolicy: { Name: 'unless-stopped' },
|
||||||
|
PortBindings: { '8080/tcp': [{ HostPort: '8300' }] },
|
||||||
|
Binds: [`${DockerService.NOMAD_STORAGE_ABS_PATH}/kolibri:/root/.kolibri`]
|
||||||
|
},
|
||||||
|
ExposedPorts: { '8080/tcp': {} },
|
||||||
|
}),
|
||||||
|
ui_location: '8300',
|
||||||
|
installed: false,
|
||||||
|
is_dependency_service: false,
|
||||||
|
depends_on: null,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
async run() {
|
async run() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user