Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidwinter/pi-broadcast
https://github.com/davidwinter/pi-broadcast
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidwinter/pi-broadcast
- Owner: davidwinter
- Created: 2023-08-31T21:09:00.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-27T02:41:00.000Z (12 months ago)
- Last Synced: 2024-05-01T13:39:27.167Z (7 months ago)
- Language: TypeScript
- Size: 843 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# 📢 pi-broadcast
> broadcast hostnames for traefik served apps on local network
Using Traefik and serving some apps with Docker? Using `.local` DNS hostnames and want to have those automatically broadcast on your network for automatic discovery? Use `pi-broadcast`!
## Usage
```sh
curl https://raw.githubusercontent.com/davidwinter/pi-broadcast/main/compose.prod.yml -o compose.yml
docker compose up -d
```So long as you have other docker containers running, with Traefik labels that setup Hosts, then it will start to broadcast them. An example other project that you might have running that `pi-broadcast` detects and broadcasts automatically `uptime.home.local`, is:
```yml
services:
uptime-kuma:
image: louislam/uptime-kuma:1
volumes:
- ./uptime-kuma-data:/app/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 3001:3001
restart: always
labels:
- "traefik.http.routers.uptime-kuma.rule=Host(`uptime.home.local`)"
```