selfhosted
docker compose + traefik + tailscale
File Explorer
Download Latest Version (.zip)- cfapi.png
- pihole-advanced.png
- pihole-dns.png
- router-dhcp.png
- router-dnsmasq.png
- router-system.png
- config.boot
- edgerouter-backups.md
- lan-only-routes.md
- pihole-dnsmasq.md
- ubuntu-expand-lvm.md
- wildcard-certs.md
- wireguard-question.md
- rules-fail2ban.yml
- .env.example
- authconfig.ini
- mdadm.conf
- sshd_config
- traefik-logrotate.conf
- unbound.conf
- .drone.yml
- .env.example
- .gitignore
- docker-compose.yml
- logrotate.service
- logrotate.timer
- media-4tb.mount
- media-primary.mount
- media-secondary.mount
- media-wildy.mount
- README.md
- unifi.docker-compose.yaml
- wildy.compose.yml
# Installation Guide
1. Get the code
git clone https://github.com/subdavis/selfhosted
Downloads the entire project code from GitHub to your computer.
cd selfhosted
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
You may need to disable ubuntu's default dns service and remove resolf.conf [read more](https://www.smarthomebeginner.com/run-pihole-in-docker-on-ubuntu-with-reverse-proxy/).
Type this command into your terminal and run it.
With `systemd-resolved` disabled, `/etc/resolv.conf` must be a real file pointing at a proper upstream DNS server β **not** `127.0.0.1`/AdGuard. Docker's embedded DNS resolver on user-defined networks (127.0.0.11) reads the host's resolv.conf at daemon start to find upstreams; if it can't reach an upstream, every container's DNS breaks. Pointing at AdGuard creates a chicken-and-egg: AdGuard can't start without Docker DNS, and Docker DNS can't resolve anything without AdGuard.
Type this command into your terminal and run it.
* [Docker IPV6](https://docs.docker.com/config/daemon/ipv6/)
Type this command into your terminal and run it.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
