backup templates for my docker compose files for machine agnostic configs mostly notes for myself in case i come back to this 900 years later after setting everything up and a one and done and i forget everything (because i will haha)
for all docker-compose files:
- replace pid&gid with user that has docker folder privileges doh
- replace local_port & container_port with proper ports
for updates (if not using portainer-ce):
docker-compose down && docker-compose pull && docker-compose up -d
for pruning:
docker image prune -f && docker volume prune -f && docker network prune -f
- PMS needs to run in
network_mode: hostfor local network discovery
other, pretty irrelevant notes:
- for tailscale purposes: https://forums.plex.tv/t/ability-to-manually-set-public-ip-for-remote-access/189111/24?utm_source=pocket_mylist
- certs were created with acme https://github.com/acmesh-official/acme.sh/wiki/Synology-NAS-Guide altho i have to test if the CRON renewal actually works eventually
recursive hard linking:
cp -lR /original /other
checking inode #
ls -i
replace NUM with inode# to check other nodes
find . -inum NUM