mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2025-12-16 06:33:01 +00:00
matthewtran.com
Services deployed on matthewtran.com.
- website
- gitea (git.matthewtran.com)
- monerod
- p2pool (
xmrig -o matthewtran.com) - minecraft
- minecraft bedrock
- terraria
- nas (
<server>/<name>on LAN) - wireguard
setup
- Create
config/server.jsonand runconfig/provision.py. - On the server to be provisioned, boot a Fedora CoreOS installation media and run the install command.
- To configure the OpenWrt router, run
/opt/router.py --provision <interface>on the server. Then reboot the router and server. - Add the following DNS entries at the registrar.
hosts type data @,git,wg,wwwA<public IPv4>@,git,wwwAAAA<delegated prefix>::69wgAAAA<delegated prefix>::1 - Optionally, run
config/peer.pyfor each WireGuard client.
development
- For quick iteration, run
config/update.py. This copies over sources, rebuilds images, and restarts containers. - After development, it's best to reprovision (see above) with
wipe=falsefor drives you want to keep. Then run/opt/router.pyon the server and reboot.
maintenance
logs => sudo -u game podman logs container TODO mdadm status? backup?
Run scripts/backup.py and save the resultant data.zip somewhere. Also run the following commands for BTRFS maintenance. I should probably automate this.
btrfs device stats <mount>
btrfs scrub start -B <mount>
Description
Languages
Python
64.8%
HTML
13.8%
CSS
7.8%
Dockerfile
7.1%
Shell
4.1%
Other
2.4%