You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
version: "3"
|
|
|
|
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
|
|
services:
|
|
pihole:
|
|
container_name: pihole
|
|
image: pihole/pihole:latest
|
|
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
|
|
ports:
|
|
- "53:53/tcp"
|
|
- "53:53/udp"
|
|
- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
|
|
- "1080:80/tcp"
|
|
environment:
|
|
TZ: 'America/Los_Angeles'
|
|
WEBPASSWORD: '${SECUREPASSWORD}'
|
|
|
|
# Volumes store your data between container upgrades
|
|
volumes:
|
|
- './etc-pihole:/etc/pihole'
|
|
- './etc-dnsmasq.d:/etc/dnsmasq.d'
|
|
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
|
|
cap_add:
|
|
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
|
|
restart: unless-stopped
|
|
|
|
librespeed:
|
|
image: lscr.io/linuxserver/librespeed:latest
|
|
container_name: librespeed
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=America/Los_Angeles
|
|
- PASSWORD=${SECUREPASSWORD}
|
|
- CUSTOM_RESULTS=false #optional
|
|
- DB_TYPE=sqlite #optional
|
|
- DB_NAME=DB_NAME #optional
|
|
- DB_HOSTNAME=DB_HOSTNAME #optional
|
|
- DB_USERNAME=DB_USERNAME #optional
|
|
- DB_PASSWORD=DB_PASSWORD #optional
|
|
- DB_PORT=DB_PORT #optional
|
|
volumes:
|
|
- /home/ronnic/Configs/Librespeed/config:/config
|
|
ports:
|
|
- 1082:80
|
|
restart: unless-stopped
|
|
|
|
|