Skip to content

Instantly share code, notes, and snippets.

@rudyj03
rudyj03 / docker-compose.yml
Last active November 14, 2019 23:53
This docker compose file creates an empty Postgres database container and a pgAdmin container. You can connect to the database by specifying "database" as the host name in the pgAdmin UI along with the Postgres credentials listed in this compose file.
version: '3.1'
services:
postgresql:
image: postgres:11-alpine
container_name: database
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: test
POSTGRES_DB: postgres
ports:
@rudyj03
rudyj03 / gist:0955b04b04cc7d584fb7034ce4e1e01d
Last active November 4, 2021 18:01
Set up Pi Hole via Docker with DHCP with instructions for a Verizon fios router
Pi-Hole
Installation:
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
sudo usermod -aG docker pi
newgrp docker
sudo systemctl enable docker
git clone https://github.com/pi-hole/docker-pi-hole.git