Compare commits

...

16 Commits

Author SHA1 Message Date
kdouglas011 5056545d93 Delete .gitignore 2026-04-27 15:28:34 -04:00
kdouglas011 5cd54e81d2 Delete .DS_Store 2026-04-27 15:28:24 -04:00
kdouglas011 c26ebcdb75 Fixed broken readme 2026-04-27 15:27:15 -04:00
kdouglas011 017a74fdda Incorrect format 2026-04-27 15:23:32 -04:00
Kevin Douglas b781825fb8 Updated ReadMe. 2026-04-27 15:22:54 -04:00
Kevin Douglas 6acacdce95 Updated ReadMe. 2026-04-27 15:19:25 -04:00
Kevin Douglas a1c6d800c4 Updated ReadMe. 2026-04-27 15:15:28 -04:00
Kevin Douglas 835dd43b1c Created a ReadMe for Instructions on management. 2026-04-27 14:57:47 -04:00
Kevin Douglas be3dd56408 Made some changes to yaml files. 2026-04-27 14:50:23 -04:00
Kevin Douglas 9103fae334 Fix pihole stack: remove external network, use safe ports 5333/8080 2026-04-27 11:32:00 -04:00
Kevin Douglas 991a7ff99c Fix pihole: use non-conflicting ports 5333 and 8080 2026-04-27 11:21:50 -04:00
Kevin Douglas 3ba96a0824 Clean pihole stack for Portainer deployment - removed external network 2026-04-27 11:18:50 -04:00
Kevin Douglas 030a997a15 Fix pihole stack: remove external network declaration 2026-04-27 11:14:50 -04:00
kdouglas011 85d00419da Uploaded backup of Portainer for the Pi5 - Automation Server 2026-04-27 10:59:57 -04:00
kdouglas011 acb463c701 Uploaded backup of Portainer for BlueRidge 2026-04-27 10:58:46 -04:00
Kevin Douglas ef53d2f4a1 Remove unneeded/conflicting portainer/docker-compose.yaml 2026-04-27 10:56:43 -04:00
8 changed files with 75 additions and 49 deletions
Vendored
BIN
View File
Binary file not shown.
-5
View File
@@ -1,5 +0,0 @@
.DS_Store
.DS_Store?
._*
*.log
.env
+1 -1
View File
@@ -8,7 +8,7 @@
widget:
type: pihole
url: http://192.168.1.155:8080
key: yL4lBDboHC5FVPAZTBSW8IZvoxEQA0ObAAVyzrcll04=
key: sefsKK9vPYS/KyagpUctdM78j7udNNuFm//2br81w+M=
version: 6
- Home Automation:
+17 -23
View File
@@ -1,30 +1,24 @@
version: "3.8" # Modern version (original was 3.6, safe to bump)
volumes:
pihole_data:
dnsmasq_data:
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
container_name: pihole
restart: unless-stopped
hostname: pihole # Cleaner than the random container ID
environment:
TZ: America/New_York # Proper IANA format (was "New York")
FTLCONF_webserver_api_password: "~Guards1345"
FTLCONF_dns_listeningMode: ALL
FTL_CMD: no-daemon
DNSMASQ_USER: pihole
ports:
- "53:53/tcp"
- "53:53/udp"
- "8080:80/tcp" # HTTP admin
- "8443:443/tcp" # HTTPS admin
- TZ=America/New_York # Change to your actual timezone
- WEBPASSWORD=ChangeThisToAStrongPassword123!
volumes:
- "/data/compose/5/etc-pihole:/etc/pihole:rw" # Keep this — confirmed by inspect
# Add this second volume if you have custom dnsmasq configs (very common for Pi-hole)
# - "/data/compose/5/etc-dnsmasq.d:/etc/dnsmasq.d:rw"
networks:
- pihole_default
networks:
pihole_default:
name: pihole_default
external: true
- pihole_data:/etc/pihole
- dnsmasq_data:/etc/dnsmasq.d
ports:
- "5333:53/tcp" # Non-conflicting DNS ports
- "5333:53/udp"
- "8080:80/tcp" # Web UI
dns:
- 127.0.0.1
- 1.1.1.1
cap_add:
- NET_ADMIN
-20
View File
@@ -1,20 +0,0 @@
version: '3.8'
volumes:
portainer_data:
services:
portainer:
image: portainer/portainer-ce:lts
container_name: portainer
restart: unless-stopped # Recommended over "always" for modern setups
ports:
- "8000:8000" # Agent / API port
- "9443:9443" # HTTPS Web UI
volumes:
- portainer_data:/data
- /var/run/docker.sock:/var/run/docker.sock
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- TZ=America/New_York # ← Change this to your actual timezone
+57
View File
@@ -0,0 +1,57 @@
# Portainer Stacks
My personal collection of Docker Compose stacks for Portainer.
This repository is the **single source of truth** for all my self-hosted services.
## Folder Structure
```bash
portainer-stacks/
├── gitea/
├── portainer/
├── pihole/
├── homeassistant/
├── homepage/
├── ... (additional services)
└── README.md
```
Each service folder contains its own docker-compose.yml (or docker-compose.yaml) file.
## How to Work with This Repo
1. Clone the Repository (first time only)
git clone http://192.168.1.46:3131/kdouglas011/portainer-stacks.git ~/portainer-stacks
cd ~/portainer-stacks
2. Daily Workflow (pull → edit → push)
Always start here
cd ~/portainer-stacks
git pull origin main
3. Make your changes to any docker-compose.yml file
Stage, commit, and push
git add .
git commit -m "Updated pihole stack - changed ports and password"
git push origin main
4. Deploy / Update the Stack in Portainer
- Open Portainer → Stacks
- Click Add stack (or edit an existing one)
- Choose Repository as the build method
- Fill in the following:
| Field | Value |
|------------------------|--------------------------------------------|
| Repository URL | http://192.168.1.46:3131/kdouglas011/portainer-stacks.git |
| Repository reference | refs/heads/main |
| Compose path | pihole/docker-compose.yml (use exact relative path) |
- (Optional) Enable Automatic updates
- Click Deploy the stack (or Update the stack)
## Tips & Best Practices
- Always run git pull origin main before editing anything.
- Use clear, descriptive commit messages.
- Test changes locally first:
docker compose up -d
- Never commit real passwords or secrets. Use Portainer environment variables instead (highly recommended for security).
- Keep stacks modular — one service per folder keeps everything clean and easy to maintain.