- Clone repo including submodules with:
git clone --recurse-submodules [email protected]:jondef/homelab.git
or get submodules after cloning:
git submodule update --init --recursive
- Configure zpool and zfs
- Setup start containers on reboot
sudo vim /etc/systemd/system/start_containers.service
[Unit]
Description=Start Docker Containers
After=network.target
[Service]
WorkingDirectory=/home/user/homelab
ExecStart=python3 manage.py
[Install]
WantedBy=multi-user.target
If you're importing into Nextcloud from outside Nextcloud, run:
docker exec --user www-data nextcloud php occ files:scan --all
- add flame dashbard
- https://github.com/gethomepage/homepage
- Increase security: https://www.reddit.com/r/selfhosted/comments/t6ap67/need_some_advice_to_tighten_up_security_for/
- use docker mounts instead of file mounts: https://www.guguweb.com/2019/02/07/how-to-move-docker-data-directory-to-another-location-on-ubuntu/
- configure traefik using middlewares https://community.traefik.io/t/all-middlewares-produce-middleware-not-found-error/18131
- https://www.reddit.com/r/kubernetes/comments/15mq55d/want_to_setup_a_k8s_homelab_what_are_some/
- https://www.windmill.dev/scripts