Files
homelab/docker-compose/cloudflared/docker-compose.yaml
T
Rodney Osodo d0939e97e6 Add Docker Compose service configurations
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>
2024-01-22 22:21:35 +03:00

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