Sign inSign up

sgr33n/myhomeip

By sgr33n

•Updated 9 months ago

A simple Nginx container that shows your public IP for private services, protected by Cloudflare.

Image
Networking
Security
Monitoring & observability
0

1.4K

sgr33n/myhomeip repository overview

⁠MyHomeIP

A lightweight, containerized web application to display and manage your home network's public IP address with integrated Cloudflare DDNS support.

⁠Features
  • Real-time IP Display - Clean, responsive UI showing your current public IP
  • Cloudflare DDNS - Automatic DNS record updates when your IP changes
  • JSON API - Programmatic access via ?format=json endpoint
  • Dark/Light Theme - Toggle with automatic system preference detection
  • HTTP Basic Auth - Optional password protection
  • Customizable Avatar - Personalize the UI with your own image
⁠Quick Start
services:
  myhomeip:
    image: sgr33n/myhomeip:latest
    ports:
      - "80:80"
    environment:
      - CF_API_TOKEN=your_cloudflare_token
      - URL=myhome.example.com
      - REFRESH_MIN=60
      - APP_USER=admin
      - APP_PASS=secret
⁠Environment Variables
VariableDescriptionDefault
CF_API_TOKENCloudflare API token (required for DDNS)-
URLDomain to update on Cloudflare-
REFRESH_MINDNS update interval in minutes60
APP_USERHTTP Basic Auth username (optional)-
APP_PASSHTTP Basic Auth password (optional)-
AVATAR_URLCustom avatar image URL or pathdefault avatar
DEBUGEnable loggingfalse
⁠Use Cases
  • Remote VPN access to home network
  • Self-hosted Dynamic DNS alternative
  • IP monitoring dashboard
  • Automation scripts via JSON API

Tag summary

Content type

Image

Digest

sha256:83b932ef7…

Size

36.7 MB

Last updated

9 months ago

docker pull sgr33n/myhomeip