Files

70 lines
2.0 KiB
YAML

gui:
scrollHeight: 5
border: "rounded"
theme:
activeBorderColor:
- cyan
- bold
inactiveBorderColor:
- black
selectedLineBgColor:
- black
optionsTextColor:
- cyan
returnImmediately: false
wrapMainPanel: true
sidePanelWidth: 0.333
showBottomLine: true
expandFocusedSidePanel: false
screenMode: "normal"
containerStatusHealthStyle: "short"
logs:
timestamps: true
since: "60m"
tail: "200"
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 }}"
customCommands:
containers:
- name: bash
attach: true
command: "docker exec -it {{ .Container.ID }} bash"
serviceNames: []
- name: logs (100)
attach: false
command: "docker logs --tail 100 {{ .Container.ID }}"
serviceNames: []
services:
- name: restart all
attach: false
command: "{{ .DockerCompose }} restart"
serviceNames: []
stats:
graphs:
- caption: CPU (%)
statPath: DerivedStats.CPUPercentage
color: blue
- caption: Memory (%)
statPath: DerivedStats.MemoryPercentage
color: green