matthewtran.com/README.md
2023-09-11 12:25:48 +00:00

39 lines
1.1 KiB
Markdown

# matthewtran.com
Stuff that's deployed on [matthewtran.com](http://matthewtran.com). Tested on Ubuntu Server 22.04.3 LTS. Currently running the following services.
- website
- gitea ([git.matthewtran.com](http://git.matthewtran.com))
- monerod
- p2pool (`xmrig -o matthewtran.com:3333`)
- minecraft
- terraria
- wireguard
## setup
Forward the following ports to the server.
| service | port |
|-----------|--------------------|
| website | 80, 443 |
| gitea | 2222 |
| monerod | 18080 |
| p2pool | 3333, 37888, 37889 |
| minecraft | 25565 |
| terraria | 7777 |
| wireguard | 51820 |
Run the following commands. For the IP update script, add a SendGrid API key to `website/sendgrid.key`.
```
docker compose build
docker compose up -d # auto restarts on reboot!
```
Note for first start you'll need to configure Gitea. You may also need to `chown` and `chmod` the mounted folders for each container.
## backup
Run `./backup` and save the resultant `data.zip` somewhere. I should probably automate this.