KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
docker
★ 9
Open GitHub ↗
My docker compose config files
Download README (.md)
Explore Similar Repositories
ner-spacy-doccano
:
NER using Doccano / Spacy EN
linux-on-litex-blackparrot
:
Linux on Litex for BlackParrot Core
Bubble-Sheet-Scanner
:
Bubble sheet multiple choice scanner and test grader using OpenCV.
svelte-and-typescript
:
Example project on how you can use Typescript with Svelte
Stocks-with-Python
:
Get SMS Notifications of changes in Stock Market with Python
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
docker
?
Download (.md)
# 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 ```bash $ iptables -F $ iptables -t nat -F ``` #### pve/pmg ```bash $ iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8006 ``` #### pbs ```bash $ iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8007 ``` --- ```bash $ apt install iptables-persistent -y ``` ### remove proxmox no subscription message #### pve ```sh $ 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 ```sh $ 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 ```sh $ 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 ```bash $ 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` ```diff -#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 ```bash $ echo -e "\ntopi ALL=(ALL) NOPASSWD: ALL\n" | sudo tee -a /etc/sudoers ``` ### ZFS Delete all snapshots ```bash $ zfs destroy -rvn <DATASET>@% ``` remove `-n` to run it ### docker post install https://docs.docker.com/engine/install/linux-postinstall/ ### for Grafana run ```bash $ sudo chown -R 472:472 data/grafana/ ``` ### for Lavalink run ```bash $ 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 ```bash $ 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/