From b7d1ed138e9dfd633439cd5a865b90db58e7f09c Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Mon, 29 Jul 2024 09:44:22 +0200 Subject: [PATCH] Added Lazydocker configuration --- README.md | 1 + lazydocker/dot-config/lazydocker/config.yml | 65 +++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 lazydocker/dot-config/lazydocker/config.yml diff --git a/README.md b/README.md index 9d22f78..f89b583 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Below is a list of the software: - Hyprland - k9s - Kitty +- Lazydocker - Lazygit - Neovim - Moar diff --git a/lazydocker/dot-config/lazydocker/config.yml b/lazydocker/dot-config/lazydocker/config.yml new file mode 100644 index 0000000..76548ba --- /dev/null +++ b/lazydocker/dot-config/lazydocker/config.yml @@ -0,0 +1,65 @@ +# yaml-language-server: $schema=https://json.schemastore.org/lazydocker.json + +gui: + scrollHeight: 2 + language: "auto" # one of 'auto' | 'en' | 'pl' | 'nl' | 'de' | 'tr' + border: "rounded" # one of 'rounded' | 'single' | 'double' | 'hidden' + theme: + activeBorderColor: + - "#8caaee" + - bold + inactiveBorderColor: + - "#a5adce" + selectedLineBgColor: + - "#414559" + optionsTextColor: + - "#8caaee" + returnImmediately: true + wrapMainPanel: true + # Side panel width as a ratio of the screen's width + sidePanelWidth: 0.333 + # Determines whether we show the bottom line (the one containing keybinding + # info and the status of the app). + showBottomLine: true + # When true, increases vertical space used by focused side panel, + # creating an accordion effect + expandFocusedSidePanel: false + # Determines which screen mode will be used on startup + screenMode: "normal" # one of 'normal' | 'half' | 'fullscreen' + # Determines the style of the container status and container health display in the + # containers panel. "long": full words (default), "short": one or two characters, + # "icon": unicode emoji. + containerStatusHealthStyle: "long" +logs: + timestamps: false + since: "60m" # set to '' to show all logs + tail: "" # set to 200 to show last 200 lines of logs +commandTemplates: + dockerCompose: docker compose # Determines the Docker Compose command to run, referred to as .DockerCompose in commandTemplates + restartService: "{{ .DockerCompose }} restart {{ .Service.Name }}" + up: "{{ .DockerCompose }} up -d" + down: "{{ .DockerCompose }} down" + downWithVolumes: "{{ .DockerCompose }} down --volumes" + upService: "{{ .DockerCompose }} up -d {{ .Service.Name }}" + startService: "{{ .DockerCompose }} start {{ .Service.Name }}" + stopService: "{{ .DockerCompose }} stop {{ .Service.Name }}" + serviceLogs: "{{ .DockerCompose }} logs --since=60m --follow {{ .Service.Name }}" + viewServiceLogs: "{{ .DockerCompose }} logs --follow {{ .Service.Name }}" + rebuildService: "{{ .DockerCompose }} up -d --build {{ .Service.Name }}" + recreateService: "{{ .DockerCompose }} up -d --force-recreate {{ .Service.Name }}" + allLogs: "{{ .DockerCompose }} logs --tail=300 --follow" + viewAlLogs: "{{ .DockerCompose }} logs" + dockerComposeConfig: "{{ .DockerCompose }} config" + checkDockerComposeConfig: "{{ .DockerCompose }} config --quiet" + serviceTop: "{{ .DockerCompose }} top {{ .Service.Name }}" +oS: + openCommand: open {{filename}} + openLinkCommand: open {{link}} +stats: + graphs: + - caption: CPU (%) + statPath: DerivedStats.CPUPercentage + color: "#8caaee" + - caption: Memory (%) + statPath: DerivedStats.MemoryPercentage + color: "#a6d189"