mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-03-28 03:29:25 +01:00
feat: kolibri app
This commit is contained in:
parent
c2f33075fd
commit
9670a78fb4
|
|
@ -20,6 +20,7 @@ export class DockerService {
|
|||
public static OPEN_WEBUI_SERVICE_NAME = 'nomad_open_webui';
|
||||
public static CYBERCHEF_SERVICE_NAME = 'nomad_cyberchef';
|
||||
public static FLATNOTES_SERVICE_NAME = 'nomad_flatnotes';
|
||||
public static KOLIBRI_SERVICE_NAME = 'nomad_kolibri';
|
||||
public static NOMAD_STORAGE_ABS_PATH = '/opt/project-nomad/storage';
|
||||
|
||||
constructor() {
|
||||
|
|
|
|||
|
|
@ -121,6 +121,25 @@ export default class ServiceSeeder extends BaseSeeder {
|
|||
is_dependency_service: false,
|
||||
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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user