This commit add the configuration files and settings for Docker Compose and the Unbound DNS resolver. The changes include updating services, container names, images, restart policies, networks, environment variables, volumes, ports, and security options. The configurations for services like Nextcloud, NTP, Pi-hole, Unbound DNS resolver, Portainer, Postgres, PostgreSQL, Uptime Kuma, and WireGuard VPN server have been optimized for privacy, security, and performance. Additionally, the "no-new-privileges:true" setting has been added to prevent acquiring new privileges.
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
This commit adds the configuration for pre-commit hooks in the new file `.pre-commit-config.yaml`. The configuration includes several hooks from the `pre-commit/pre-commit-hooks` repository, such as `check-yaml`, `end-of-file-fixer`, `trailing-whitespace`, `check-symlinks`, `destroyed-symlinks`, `detect-aws-credentials`, `check-shebang-scripts-are-executable`, `check-merge-conflict`, and `detect-private-key`. Additionally, a hook from the `IamTheFij/docker-pre-commit` repository, `docker-compose-check`, is also included in the configuration.
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>