dotfiles/.config/lazydocker/config.yml
2024-09-05 14:59:51 +02:00

65 lines
2.5 KiB
YAML

# yaml-language-server: $schema=https://json.schemastore.org/lazydocker.json
gui:
scrollHeight: 2
language: "auto" # one of 'auto' | 'en' | 'pl' | 'nl' | 'de' | 'tr'
theme:
lightTheme: false
activeBorderColor:
- "#a6da95"
- bold
inactiveBorderColor:
- "#a5adcb"
optionsTextColor:
- "#8aadf4"
selectedLineBgColor:
- "#363a4f"
returnImmediately: false
wrapMainPanel: true
# Side panel width as a ratio of the screen's width
sidePanelWidth: 0.25
# Determines whether we show the bottom line (the one containing keybinding
# info and the status of the app).
showBottomLine: false
# When true, increases vertical space used by focused side panel,
# creating an accordion effect
expandFocusedSidePanel: true
# 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
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: blue
- caption: Memory (%)
statPath: DerivedStats.MemoryPercentage
color: green