This commit is contained in:
2025-03-06 19:48:17 -07:00
parent 8a764156f7
commit c160e2b41e
4 changed files with 0 additions and 87 deletions

View File

@@ -1,43 +0,0 @@
#!/bin/bash
# curl -X GET https://api.cloudflare.com/client/v4/zones/bf7a05315be9bf7a39d50dd4001e7a97/dns_records -H "X-Auth-Email: alexmickelson96@gmail.com" -H "X-Auth-Key: jo7GntHEEBtANFsuteAM8EJ-stLUqyNbOk2x4Czr" | python -m json.tool
source /home/alex/actions-runner/_work/infrastructure/infrastructure/home-pi/dns/cloudflare.env
NETWORK_INTERFACE=wlan0
IP=$(ip a s $NETWORK_INTERFACE | awk '/inet / {print$2}' | cut -d/ -f1)
EMAIL="alexmickelson96@gmail.com";
ZONE_ID="bf7a05315be9bf7a39d50dd4001e7a97";
update_record() {
LOCAL_NAME=$1
LOCAL_RECORD_ID=$2
echo "UPDATING RECORD FOR $LOCAL_NAME TO $IP"
curl -X PUT "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records/$LOCAL_RECORD_ID" \
-H "X-Auth-Email: alexmickelson96@gmail.com" \
-H "X-Auth-Key: $CLOUDFLARE_TOKEN" \
-H "Content-Type: application/json" \
--data '{"type":"A","name":"'"$LOCAL_NAME"'","content":"'"$IP"'","ttl":1}' \
| python3 -m json.tool;
echo
echo "------------------------------------"
echo
}
NAME="ha.alexmickelson.guru";
RECORD_ID="09eac5a17fa4302091532dabdbe73a68"
update_record $NAME $RECORD_ID
NAME="jellyfin.alexmickelson.guru";
RECORD_ID="577293ab0488913308fda78010a7483b"
update_record $NAME $RECORD_ID
NAME="next.alexmickelson.guru";
RECORD_ID="cc686333d2421a4e558a04589b375ded"
update_record $NAME $RECORD_ID

View File

@@ -1,20 +0,0 @@
services:
lyrion:
container_name: lyrion
image: lmscommunity/lyrionmusicserver
volumes:
- /data/lyrion/config:/config:rw
- /data/media/music/tagged:/music:ro
- /data/lyrion/playlist:/playlist:rw
# - /etc/localtime:/etc/localtime:ro
# - /etc/timezone:/etc/timezone:ro
ports:
- 9000:9000/tcp
- 9090:9090/tcp
- 3483:3483/tcp
- 3483:3483/udp
environment:
- TZ=America/Denver
- HTTP_PORT=9000
- EXTRA_ARGS=--advertiseaddr=server.alexmickelson.guru
restart: always

View File

@@ -1,15 +0,0 @@
services:
navidrome:
image: deluan/navidrome:latest
user: 1000:1000
ports:
- 4533:4533
restart: unless-stopped
environment:
ND_SCANSCHEDULE: 1h
ND_LOGLEVEL: info
ND_SESSIONTIMEOUT: 24h
ND_BASEURL: ""
volumes:
- /data/navidrome/data:/data
- /data/media/music/tagged:/music:ro

View File

@@ -1,9 +0,0 @@
## Navidrome thoughts
found based on this reddit thread: <https://www.reddit.com/r/selfhosted/comments/1eop058/is_jellyfin_music_streaming_good/>
UI is a little dated, but not a bad experience.
Has subsonic compatibility, so clients should work fine
Not sure if this is better than jellyfin for music