mirror of
https://github.com/rodneyosodo/homelab.git
synced 2026-06-23 04:10:19 +00:00
d0939e97e6
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>
13 lines
346 B
YAML
13 lines
346 B
YAML
services:
|
|
cloudflared:
|
|
container_name: cloudflared
|
|
image: cloudflare/cloudflared:latest
|
|
restart: unless-stopped
|
|
command: tunnel --no-autoupdate run --token ${CLOUDFLARE_TOKEN}
|
|
networks:
|
|
- homelab-network
|
|
environment:
|
|
- ${CLOUDFLARE_TOKEN}=${CLOUDFLARE_TOKEN}
|
|
security_opt:
|
|
- no-new-privileges:true
|