Initial commit: Socktop WebTerm with k3s deployment
- Multi-architecture Docker image (ARM64 + AMD64) - Kubernetes manifests for 3-replica deployment - Traefik ingress configuration - NGINX Proxy Manager integration - ConfigMap-based configuration - Automated build and deployment scripts - Session monitoring tools
This commit is contained in:
@@ -0,0 +1,177 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: socktop-webterm-config
|
||||
data:
|
||||
profiles.json: |
|
||||
{
|
||||
"profiles": {
|
||||
"local": {
|
||||
"url": "ws://127.0.0.1:3001/ws"
|
||||
},
|
||||
"rpi-master": {
|
||||
"url": "wss://192.168.1.101:8443/ws",
|
||||
"tls_ca": "/home/socktop/.config/socktop/certs/rpi-master.pem",
|
||||
"metrics_interval_ms": 1000,
|
||||
"processes_interval_ms": 5000
|
||||
},
|
||||
"rpi-worker-1": {
|
||||
"url": "wss://192.168.1.102:8443/ws",
|
||||
"tls_ca": "/home/socktop/.config/socktop/certs/rpi-worker-1.pem",
|
||||
"metrics_interval_ms": 1000,
|
||||
"processes_interval_ms": 5000
|
||||
},
|
||||
"rpi-worker-2": {
|
||||
"url": "wss://192.168.1.103:8443/ws",
|
||||
"tls_ca": "/home/socktop/.config/socktop/certs/rpi-worker-2.pem",
|
||||
"metrics_interval_ms": 1000,
|
||||
"processes_interval_ms": 5000
|
||||
},
|
||||
"rpi-worker-3": {
|
||||
"url": "wss://192.168.1.104:8443/ws",
|
||||
"tls_ca": "/home/socktop/.config/socktop/certs/rpi-worker-3.pem",
|
||||
"metrics_interval_ms": 1000,
|
||||
"processes_interval_ms": 5000
|
||||
}
|
||||
},
|
||||
"version": 0
|
||||
}
|
||||
|
||||
alacritty.toml: |
|
||||
import = [
|
||||
"~/.config/alacritty/catppuccin-frappe.toml",
|
||||
]
|
||||
|
||||
[window]
|
||||
decorations = "None"
|
||||
decorations_theme_variant = "Dark"
|
||||
dynamic_padding = true
|
||||
opacity = 0.85
|
||||
blur = true
|
||||
startup_mode = "Windowed"
|
||||
padding.x = 12
|
||||
padding.y = 12
|
||||
|
||||
[window.dimensions]
|
||||
columns = 120
|
||||
lines = 36
|
||||
|
||||
[scrolling]
|
||||
history = 10000
|
||||
multiplier = 3
|
||||
|
||||
[font]
|
||||
size = 12.0
|
||||
|
||||
[font.normal]
|
||||
family = "FiraCode Nerd Font"
|
||||
style = "Regular"
|
||||
|
||||
[font.bold]
|
||||
family = "FiraCode Nerd Font"
|
||||
style = "Bold"
|
||||
|
||||
[font.italic]
|
||||
family = "FiraCode Nerd Font"
|
||||
style = "Italic"
|
||||
|
||||
[font.bold_italic]
|
||||
family = "FiraCode Nerd Font"
|
||||
style = "Bold Italic"
|
||||
|
||||
[colors]
|
||||
draw_bold_text_with_bright_colors = true
|
||||
|
||||
[cursor]
|
||||
style.shape = "Block"
|
||||
style.blinking = "On"
|
||||
vi_mode_style.shape = "Block"
|
||||
blink_interval = 750
|
||||
blink_timeout = 5
|
||||
unfocused_hollow = true
|
||||
thickness = 0.15
|
||||
|
||||
[mouse]
|
||||
hide_when_typing = false
|
||||
|
||||
[bell]
|
||||
animation = "EaseOutExpo"
|
||||
duration = 0
|
||||
color = "#ffffff"
|
||||
|
||||
[selection]
|
||||
save_to_clipboard = true
|
||||
|
||||
[terminal]
|
||||
osc52 = "CopyPaste"
|
||||
|
||||
catppuccin-frappe.toml: |
|
||||
# Catppuccin Frappe color scheme for Alacritty
|
||||
|
||||
[colors.primary]
|
||||
background = "#303446"
|
||||
foreground = "#c6d0f5"
|
||||
dim_foreground = "#838ba7"
|
||||
bright_foreground = "#c6d0f5"
|
||||
|
||||
[colors.cursor]
|
||||
text = "#303446"
|
||||
cursor = "#f2d5cf"
|
||||
|
||||
[colors.vi_mode_cursor]
|
||||
text = "#303446"
|
||||
cursor = "#babbf1"
|
||||
|
||||
[colors.search.matches]
|
||||
foreground = "#303446"
|
||||
background = "#a5adce"
|
||||
|
||||
[colors.search.focused_match]
|
||||
foreground = "#303446"
|
||||
background = "#a6d189"
|
||||
|
||||
[colors.footer_bar]
|
||||
foreground = "#303446"
|
||||
background = "#a5adce"
|
||||
|
||||
[colors.hints.start]
|
||||
foreground = "#303446"
|
||||
background = "#e5c890"
|
||||
|
||||
[colors.hints.end]
|
||||
foreground = "#303446"
|
||||
background = "#a5adce"
|
||||
|
||||
[colors.selection]
|
||||
text = "#303446"
|
||||
background = "#f2d5cf"
|
||||
|
||||
[colors.normal]
|
||||
black = "#51576d"
|
||||
red = "#e78284"
|
||||
green = "#a6d189"
|
||||
yellow = "#e5c890"
|
||||
blue = "#8caaee"
|
||||
magenta = "#f4b8e4"
|
||||
cyan = "#81c8be"
|
||||
white = "#b5bfe2"
|
||||
|
||||
[colors.bright]
|
||||
black = "#626880"
|
||||
red = "#e78284"
|
||||
green = "#a6d189"
|
||||
yellow = "#e5c890"
|
||||
blue = "#8caaee"
|
||||
magenta = "#f4b8e4"
|
||||
cyan = "#81c8be"
|
||||
white = "#a5adce"
|
||||
|
||||
[colors.dim]
|
||||
black = "#51576d"
|
||||
red = "#e78284"
|
||||
green = "#a6d189"
|
||||
yellow = "#e5c890"
|
||||
blue = "#8caaee"
|
||||
magenta = "#f4b8e4"
|
||||
cyan = "#81c8be"
|
||||
white = "#b5bfe2"
|
||||
Reference in New Issue
Block a user