Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ docker Public

My docker compose config files

Notifications You must be signed in to change notification settings

topi314/docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

680 Commits

Repository files navigation

docker

Docker Compose and other config files for my homelab

Hosts

docker

https://github.com/topi314/docker/tree/docker

wg

https://github.com/topi314/docker/tree/wg

pi-zero

https://github.com/topi314/docker/tree/pi-zero


Other Docs

pve/pmg/pbs on port 443

$ iptables -F
$ iptables -t nat -F

pve/pmg

$ iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8006

pbs

$ iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8007

$ apt install iptables-persistent -y

remove proxmox no subscription message

pve

$ sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/1円/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service

pmg

$ sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/1円/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pmgproxy.service

pbs

$ sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/1円/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart proxmox-backup-proxy.service

realtek lan controller drivers

download from https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software

$ apt install build-essential
$ apt install pve-headers-$(uname –r)
$ tar -xvf r8168-8.051.02.tar.bz2
$ cd r8168-8.051.02
$ chmod +x autorun.sh
$ ./autorun.sh

r8168 isn't yet compatible with debian 12 it seems like,

to fix the error: too many arguments to function netif_napi_add just replace the lines in r8168-8.051.02/src/r8168.h

-#define RTL_NAPI_CONFIG(ndev, priv, function, weight) netif_napi_add(ndev, &priv->napi, function, weight)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6,1,0)
+#define RTL_NAPI_CONFIG(ndev, priv, function, weight) netif_napi_add(ndev, &priv->napi, function, weight)
+#else
+#define RTL_NAPI_CONFIG(ndev, priv, function, weight) netif_napi_add_weight(ndev, &priv->napi, function, weight)
+#endif

reboot & should fucking work god

passwordless sudo

$ echo -e "\ntopi ALL=(ALL) NOPASSWD: ALL\n" | sudo tee -a /etc/sudoers

ZFS

Delete all snapshots

$ zfs destroy -rvn <DATASET>@%

remove -n to run it

docker post install

https://docs.docker.com/engine/install/linux-postinstall/

for Grafana run

$ sudo chown -R 472:472 data/grafana/

for Lavalink run

$ sudo chown -R 322:322 plugins

gpu passthrough

https://www.reddit.com/r/homelab/comments/b5xpua

nvidia driver stuff

https://www.nvidia.com/Download/index.aspx

$ wget https://us.download.nvidia.com/XFree86/Linux-x86_64/535.54.03/NVIDIA-Linux-x86_64-535.54.03.run
$ apt install linux-headers-`uname -r` build-essential
$ sh NVIDIA-Linux-x86_64-535.54.03.run

then follow: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker

Samba shares

\192円.168.178.75\topi
\192円.168.178.75\media
\192円.168.178.75\share
\192円.168.178.75\bunker
\192円.168.178.75\downloads

Resize VM Disk

https://pve.proxmox.com/wiki/Resize_disks#1._Resizing_guest_disk

Wireguard Allowed IPs Exclude Calculator

https://www.procustodibus.com/blog/2021/03/wireguard-allowedips-calculator/

About

My docker compose config files

Topics

Resources

Stars

Watchers

Forks

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /