curl -s 'https://ifconfig.jakemeyer.sh'
192.168.1.1
curl -s 'https://ifconfig.jakemeyer.sh/json' | jq
{"ip":"192.168.1.1"}
docker-compose.yml
services:
ifconfig:
container_name: "ifconfig"
image: ghcr.io/jakewmeyer/ifconfig:latest
ports:
- "7000:7000"
restart: "unless-stopped"
docker-compose up
docker run -p 7000:7000 ghcr.io/jakewmeyer/ifconfig:latest