-
Network
- pi-hole
- unbound
- cups
-
Monitoring
- InfluxDB : metrics persistence
- Grafana : dashboards
- Loki : logs collection
- Telegraf : metrics agent
- Promtail : logs agent
-
IOT automation
- Mosquitto : MQTT broker
- Zigbee2mqtt : communication with devices
- Nodered : automation
- Telegraf : MQTT to InfluxDB bridge
-
Collaboration
- Nextcloud
Create folders requiring special permissions
mkdir -p data/loki
sudo chown -R 1000:1000 data/loki
mkdir -p data/grafana
sudo chown -R 1000:1000 data/grafana
For collecting logs of docker containers, the easiest way is to change the default loggin driver to journald
, to aggregate them into systemd journal. From there they will be collected by promtail.
{
"log-driver": "journald"
}
Then restart the docker service using sudo systemctl restart docker.service
- more docs
- backups
pg_dump postgres://${FIREFLY_DB_USER}:${FIREFLY_DB_PASSWORD}@${FIREFLY_DB_HOST}:5432/${FIREFLY_DB_DATABASE} > firefly.dump psql postgres://${FIREFLY_DB_USER}:${FIREFLY_DB_PASSWORD}@${FIREFLY_DB_HOST}_new:5432/${FIREFLY_DB_DATABASE} < firefly.dump rm firefly.dump
pg_dump postgres://${NEXTCLOUD_DB_USER}:${NEXTCLOUD_DB_PASSWORD}@${NEXTCLOUD_DB_HOST}:5432/${NEXTCLOUD_DB_DATABASE} > nextcloud.dump psql postgres://${NEXTCLOUD_DB_USER}:${NEXTCLOUD_DB_PASSWORD}@${NEXTCLOUD_DB_HOST}:5432/${NEXTCLOUD_DB_DATABASE} < nextcloud.dump rm nextcloud.dump