CasaOS-Store/Apps/Pihole/docker-compose.yml

115 lines
4.4 KiB
YAML
Raw Normal View History

name: pihole
services:
pihole:
environment:
PROXY_LOCATION: pi.hole
TZ: $TZ
VIRTUAL_HOST: pi.hole
WEBPASSWORD: casaos
image: pihole/pihole:latest
mem_reservation: "268435456"
network_mode: bridge
ports:
- target: 80
published: "8800"
protocol: tcp
- target: 53
published: "53"
protocol: tcp
- target: 53
published: "53"
protocol: udp
- target: 67
published: "67"
protocol: udp
- target: 547
published: "547"
protocol: udp
restart: unless-stopped
volumes:
- type: bind
source: /DATA/AppData/$AppID/etc/pihole/
target: /etc/pihole
- type: bind
source: /DATA/AppData/$AppID/etc/dnsmasq.d/
target: /etc/dnsmasq.d
x-casaos:
author: CasaOS Team
category: Network
container:
envs:
- configurable: "no"
container: TZ
description:
en_US: TimeZone
- configurable: basic
container: WEBPASSWORD
description:
en_US: Pi-hole admin password
- configurable: advanced
container: VIRTUAL_HOST
description:
en_US: Pi-hole Custom Hostname
- configurable: advanced
container: PROXY_LOCATION
description:
en_US: Pi-hole PROXY_LOCATION
index: /
port_map: "80"
ports:
- configurable: advanced
container: "80"
description:
en_US: WebUI HTTP Port
protocol: tcp
- configurable: "no"
container: "53"
description:
en_US: Pihole DNS port
protocol: tcp
- configurable: "no"
container: "53"
description:
en_US: Pihole DNS port
protocol: udp
- configurable: "no"
container: "67"
description:
en_US: Pihole DHCP IPv4 port
protocol: udp
- configurable: "no"
container: "547"
description:
en_US: Pihole DHCP IPv6 port
protocol: udp
shell: bash
volumes:
- configurable: "no"
container: /etc/pihole
description:
en_US: Pi-hole /etc/pihole directory.
- configurable: "no"
container: /etc/dnsmasq.d
description:
en_US: Pi-hole /etc/dnsmasq.d directory.
description:
en_US: Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.
developer: Pi-hole
icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Pihole/icon.png
screenshot_link:
- https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Pihole/screenshot-1.jpg
- https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Pihole/screenshot-2.jpg
- https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Pihole/screenshot-3.jpg
tagline:
en_US: Network-wide Ad Blocking
thumbnail: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Pihole/thumbnail.jpg
tips:
before_install:
- content:
en_US: 'Default password: '
value: casaos
title:
en_US: Pi-hole
x-casaos:
main_app: pihole