Skip to content

Instantly share code, notes, and snippets.

View TheTinkerDad's full-sized avatar
🏠
Working from home

Laszlo Merczel TheTinkerDad

🏠
Working from home
View GitHub Profile
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose
#!/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
[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
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
version: "2.0"
services:
nut-upsd:
image: instantlinux/nut-upsd
ports:
- 3493:3493
environment:
- SERIAL=abcdef123456
secrets:
version: "2.0"
volumes:
portainer-data:
cronicle-data:
cronicle-logs:
cronicle-plugins:
cronicle-app:
services:
version: "3"
networks:
default:
driver: macvlan
driver_opts:
parent: enp7s0
ipam:
config:
- subnet: 192.168.1.0/24
@TheTinkerDad
TheTinkerDad / docker-compose.yaml
Created October 17, 2020 01:00
Super-simple Docker Compose configuration for running Heimdall
version: "2.0"
volumes:
heimdall-data:
services:
heimdall:
image: linuxserver/heimdall:latest
ports:
- 9999:80
---------- 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
version: '2'
volumes:
portainer-data:
services:
portainer:
image: portainer/portainer:latest
container_name: base-portainer