listenAddressSingleHTTPFrontend: 127.0.0.1:1337
logLevel: "INFO"
themeName: home
checkForUpdates: true
webUIDir: /opt/olivetin/webui
actions:
- title: Check Internet
shell: 'ping -c 1 1.1.1.1'
icon: ping
popupOnStart: default
- title: ISP_1
shell: 'ping -c 1 192.168.0.1'
icon: ping
popupOnStart: default
- title: ISP_2
shell: 'ping -c 1 192.168.1.254'
icon: ping
popupOnStart: default
# Actions for containers
- title: Update containers
shell: '/etc/OliveTin/update_containers.sh'
hidden: true
execOnStartup: true
execOnCron: '*/5 * * * *'
- title: Stop {{ container.name }}
shell: '{{ container.command }} stop'
icon: ping
popupOnStart: execution-dialog-stdout-only
entity: container
triggers:
- Update containers
- title: Update {{ container.name }}
shell: '{{ container.command }} update'
icon: ping
popupOnStart: execution-dialog-stdout-only
entity: container
triggers:
- Update containers
- title: Start {{ container.name }}
shell: '{{ container.command }} start'
icon: ping
popupOnStart: execution-dialog-stdout-only
entity: container
triggers:
- Update containers
# Actions for servers
- title: Update servers
shell: '/etc/OliveTin/update_servers.sh'
hidden: true
execOnStartup: true
execOnCron: '*/5 * * * *'
- title: ping {{ server.ip }}
shell: 'ping {{ server.ip }} -c 1'
icon: ping
entity: server
entities:
- file: entities/servers.yaml
name: server
- file: entities/containers.yaml
name: container
dashboards:
- title: Home network
contents:
- title: Server {{ server.name }}
type: fieldset
entity: server
contents:
- type: display
cssClass: '{{ server.status }}'
title: |
{{ server.name }}
{{ server.ip }}
- title: ping {{ server.ip }}
- title: servizi
contents:
- title: Servizio {{ container.name }}
type: fieldset
entity: container
contents:
- type: display
cssClass: '{{ container.state }}'
title: |
{{ container.state }}
- title: "Start {{ container.name }}"
- title: "Stop {{ container.name }}"
- title: "Update {{ container.name }}"