Skip to content

Instantly share code, notes, and snippets.

@ivanmal
ivanmal / docker-comose.yml
Created January 3, 2022 18:12
Pi Hole Unbound
version: '2'
services:
pihole:
container_name: pihole
image: cbcrowe/pihole-unbound:latest
hostname: ${HOSTNAME}
domainname: ${DOMAIN_NAME}
ports:
- 443:443/tcp
version: "3.7"
services:
samba:
image: servercontainers/samba
container_name: samba
network_mode: host
restart: always
environment:
SAMBA_VOLUME_CONFIG_share: "[Share]; path=/shares/share; guest ok = yes; read only = no; browseable = yes; writable = yes; comment = Shared Folder"
@ivanmal
ivanmal / docker-compose.yaml
Last active May 2, 2021 23:36
PI-Hole and DNS-Over-HTTPS on docker
version: "3" version: "3"
# Thanks to https://visibilityspots.org/dockerized-cloudflared-pi-hole.html
services:
cloudflared:
container_name: cloudflared
image: visibilityspots/cloudflared
restart: unless-stopped
networks:
pihole_net:
ipv4_address: 10.0.0.2