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
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose |
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
#!/bin/sh | |
# If you download a different version, don't forget to change the file name in the below line! | |
java -jar /opt/ha-bridge/ha-bridge-5.4.1-java11.jar |
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
[Unit] | |
Description=Run HA Bridge service | |
DefaultDependencies=no | |
#After=network.target | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
Type=simple | |
ExecStart=/opt/ha-bridge/ha-bridge.sh |
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
To install Docker on Debian as root: | |
1) apt-get update | |
2) apt-get install ca-certificates curl gnupg lsb-release | |
3) curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
4) echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ | |
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null | |
5) apt-get update | |
6) apt-get install docker-ce docker-ce-cli containerd.io |
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: |
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: "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: | |
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
---------- 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' | |
volumes: | |
portainer-data: | |
services: | |
portainer: | |
image: portainer/portainer:latest | |
container_name: base-portainer |
NewerOlder