This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Required libraries: | |
// - Adafruit Unified Sensor (required for DHT) | |
// - DHT Sensor Library | |
// - NTPClient | |
#include <DHT.h> | |
#include <NTPClient.h> | |
#include <ESP8266WiFi.h> | |
#include <WiFiUdp.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Required libraries: | |
// - Adafruit Unified Sensor (required for DHT) | |
// - DHT Sensor Library | |
// - NTPClient | |
// - PubSubClient (for MQTT) | |
#include <DHT.h> | |
#include <NTPClient.h> | |
#include <ESP8266WiFi.h> | |
#include <WiFiUdp.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
network={ | |
ssid="YOUR_NETWORK_NAME" | |
psk="YOUR_PASSWORD" | |
key_mgmt=WPA-PSK | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=============================8< docker-compose.yaml, cut here 8<========================== | |
version: '3.2' | |
volumes: | |
pihole: | |
services: | |
pihole: | |
image: pihole/pihole:latest | |
ports: | |
- 80:80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
volumes: | |
portainer-data: | |
services: | |
portainer: | |
image: portainer/portainer:latest | |
container_name: base-portainer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------- Commands for disabling Systemd Resolved | |
sudo systemctl disable systemd-resolved | |
sudo systemctl stop systemd-resolved | |
sudo rm /etc/resolv.conf | |
---------- Host resolv.conf (create a new /etc/resolv.conf on your host) | |
nameserver 127.0.0.1 | |
nameserver 8.8.8.8 | |
nameserver 8.8.4.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2.0" | |
volumes: | |
heimdall-data: | |
services: | |
heimdall: | |
image: linuxserver/heimdall:latest | |
ports: | |
- 9999:80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
networks: | |
default: | |
driver: macvlan | |
driver_opts: | |
parent: enp7s0 | |
ipam: | |
config: | |
- subnet: 192.168.1.0/24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2.0" | |
volumes: | |
portainer-data: | |
cronicle-data: | |
cronicle-logs: | |
cronicle-plugins: | |
cronicle-app: | |
services: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2.0" | |
services: | |
nut-upsd: | |
image: instantlinux/nut-upsd | |
ports: | |
- 3493:3493 | |
environment: | |
- SERIAL=abcdef123456 | |
secrets: |
OlderNewer