{"id":20748174,"url":"https://github.com/topi314/docker","last_synced_at":"2025-07-14T05:37:09.945Z","repository":{"id":96701160,"uuid":"264162398","full_name":"topi314/docker","owner":"topi314","description":"My docker compose config files","archived":false,"fork":false,"pushed_at":"2025-02-01T17:51:11.000Z","size":1291,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-27T20:03:10.661Z","etag":null,"topics":["docker","docker-compose"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/topi314.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-05-15T10:16:12.000Z","updated_at":"2025-02-01T17:51:15.000Z","dependencies_parsed_at":"2024-07-12T00:46:12.232Z","dependency_job_id":"3bc8055e-cce3-4f87-8091-59dc4275a6ef","html_url":"https://github.com/topi314/docker","commit_stats":null,"previous_names":["topi314/docker","topisenpai/docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/topi314/docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topi314%2Fdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topi314%2Fdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topi314%2Fdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topi314%2Fdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/topi314","download_url":"https://codeload.github.com/topi314/docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/topi314%2Fdocker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265246229,"owners_count":23734111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose"],"created_at":"2024-11-17T08:15:51.421Z","updated_at":"2025-07-14T05:37:09.790Z","avatar_url":"https://github.com/topi314.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker\n\nDocker Compose and other config files for my homelab\n\n## Hosts\n\n### docker\n\nhttps://github.com/topi314/docker/tree/docker\n\n### wg\n\nhttps://github.com/topi314/docker/tree/wg\n\n### pi-zero\n\nhttps://github.com/topi314/docker/tree/pi-zero\n\n---\n\n## Other Docs\n\n### pve/pmg/pbs on port 443\n\n```bash\n$ iptables -F\n$ iptables -t nat -F\n```\n#### pve/pmg\n\n```bash\n$ iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8006\n```\n\n#### pbs\n\n```bash\n$ iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8007\n```\n\n---\n\n```bash\n$ apt install iptables-persistent -y\n```\n\n\n### remove proxmox no subscription message\n\n#### pve\n\n```sh\n$ sed -Ezi.bak \"s/(Ext.Msg.show\\(\\{\\s+title: gettext\\('No valid sub)/void\\(\\{ \\/\\/\\1/g\" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js \u0026\u0026 systemctl restart pveproxy.service\n```\n\n#### pmg\n\n```sh\n$ sed -Ezi.bak \"s/(Ext.Msg.show\\(\\{\\s+title: gettext\\('No valid sub)/void\\(\\{ \\/\\/\\1/g\" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js \u0026\u0026 systemctl restart pmgproxy.service\n```\n\n#### pbs\n\n```sh\n$ sed -Ezi.bak \"s/(Ext.Msg.show\\(\\{\\s+title: gettext\\('No valid sub)/void\\(\\{ \\/\\/\\1/g\" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js \u0026\u0026 systemctl restart proxmox-backup-proxy.service\n```\n\n\n### realtek lan controller drivers\n\ndownload from https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software\n\n```bash\n$ apt install build-essential\n$ apt install pve-headers-$(uname –r)\n$ tar -xvf r8168-8.051.02.tar.bz2\n$ cd r8168-8.051.02\n$ chmod +x autorun.sh\n$ ./autorun.sh\n```\n\n`r8168` isn't yet compatible with debian 12 it seems like,\n\nto fix the `error: too many arguments to function netif_napi_add` just replace the lines in `r8168-8.051.02/src/r8168.h`\n\n```diff\n-#define RTL_NAPI_CONFIG(ndev, priv, function, weight)   netif_napi_add(ndev, \u0026priv-\u003enapi, function, weight)\n+#if LINUX_VERSION_CODE \u003c KERNEL_VERSION(6,1,0)\n+#define RTL_NAPI_CONFIG(ndev, priv, function, weight)   netif_napi_add(ndev, \u0026priv-\u003enapi, function, weight)\n+#else\n+#define RTL_NAPI_CONFIG(ndev, priv, function, weight)   netif_napi_add_weight(ndev, \u0026priv-\u003enapi, function, weight)\n+#endif\n```\n\nreboot \u0026 should fucking work god\n\n### passwordless sudo\n\n```bash\n$ echo -e \"\\ntopi ALL=(ALL) NOPASSWD: ALL\\n\" | sudo tee -a /etc/sudoers\n```\n\n### ZFS\n\nDelete all snapshots\n```bash\n$ zfs destroy -rvn \u003cDATASET\u003e@%\n```\nremove `-n` to run it\n\n### docker post install\n\nhttps://docs.docker.com/engine/install/linux-postinstall/\n\n### for Grafana run\n\n```bash\n$ sudo chown -R 472:472 data/grafana/\n```\n\n### for Lavalink run\n\n```bash\n$ sudo chown -R 322:322 plugins\n```\n\n### gpu passthrough\n\nhttps://www.reddit.com/r/homelab/comments/b5xpua\n\n### nvidia driver stuff\n\nhttps://www.nvidia.com/Download/index.aspx\n\n```bash\n$ wget https://us.download.nvidia.com/XFree86/Linux-x86_64/535.54.03/NVIDIA-Linux-x86_64-535.54.03.run\n\n$ apt install linux-headers-`uname -r` build-essential\n\n$ sh NVIDIA-Linux-x86_64-535.54.03.run\n```\n\nthen follow: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker\n\n### Samba shares\n\n```\n\\\\192.168.178.75\\topi\n\\\\192.168.178.75\\media\n\\\\192.168.178.75\\share\n\\\\192.168.178.75\\bunker\n\\\\192.168.178.75\\downloads\n```\n\n### Resize VM Disk\n\nhttps://pve.proxmox.com/wiki/Resize_disks#1._Resizing_guest_disk\n\n### Wireguard Allowed IPs Exclude Calculator\n\nhttps://www.procustodibus.com/blog/2021/03/wireguard-allowedips-calculator/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopi314%2Fdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftopi314%2Fdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftopi314%2Fdocker/lists"}