alnoda-workspaces/workspaces/base-devspace/workspace/workspace.yaml
2022-11-01 14:07:03 +00:00

84 lines
2.3 KiB
YAML

---
# mandatory
name: Base devspace
doc_url: https://github.com/bluxmit/alnoda-workspaces/blob/main/workspaces/base-devspace/README.md
author: bluxmit
version: 4.0
repository: https://github.com/bluxmit/alnoda-workspaces/tree/main/workspaces/base-devspace
description: |
# Base devspace
Basis for other workspaces. This workspace has UI, but does not have code editor (or IDE) up & running.
tags: workspace-ui, filebrowser, ungit, ngrok
# optional:
# (Quickstart UI appearance)
styles:
font: Roboto # chose any from https://fonts.google.com/
colors:
light:
primary: "#252525"
accent: "#19758F"
background: "#F5F7F7"
dark:
primary: "#3C3C3C"
accent: "#E77260"
background: "#1E1E1E"
title: "#9CDCFE"
text: "#9CDCFE"
common_colors:
header: "#FFFFFF"
nav: "#eab676"
# optional:
# (tools to add to the Quickstart UI)
pages:
admin:
- name: Termianl
port: 8022
path: /
title: Terminal
description: "Full-fledged WEB-based Command Line Interface"
image: terminal.png
- name: Workspace admin
port: 8024
title: Workspace admin
description: "Configure workspace. Start new applicatios and services. Share workspace."
image: alnoda-admin.png
- name: M.Commander
port: 8025
title: M.Commander
description: Feature rich visual file manager with internal text viewer and editor
image: mc.jpg
- name: Htop
port: 8026
title: Process monitor
description: Monitor running process and resource utilization
image: htop.jpg
# optional:
# (applications and services to launch every time workspace starts)
start:
- name: MkDocs
folder: $HOME/.wrk/ui
cmd: mkdocs serve -a 0.0.0.0:8020
- name: File Browser
cmd: /home/abc/apps/filebrowser/filebrowser -c /home/abc/apps/filebrowser/.filebrowser.json
- name: Admin
env_vars:
- name: TERM
value: xterm
cmd: ttyd -p 8024 -P 15 /bin/zsh -c 'alnoda-wrk admin'
- name: MC
env_vars:
- name: TERM
value: xterm
- name: EDITOR
value: mcedit
cmd: ttyd -p 8025 -P 15 /bin/zsh -c '/usr/bin/mc'
- name: Htop
env_vars:
- name: TERM
value: xterm
cmd: ttyd -p 8026 /bin/zsh -c '/usr/bin/htop'