Skip to content

Commit

Permalink
Update docs and provisioning script
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon committed Oct 30, 2023
1 parent da9c7dc commit a7528da
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,14 @@ If you visit `localhost` you should be able to access the frontend. The same use

### Test leaks

The Wireguard setup changes the transports of the torrent client, so it's worth checking if anything is leaking.
https://ipleak.net/

## Development

`docker-compose -f docker-compose.dev.yml up`

## Todo

- Scan libraries when torrents complete
- Verify file downloads on client restart
- Fix issues with prowlarr links
2 changes: 1 addition & 1 deletion apps/client/src/torrent.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (tc *Torrentclient) Add(magnet string) error {
}
}

log.Println("Adding torrent:", magnet)
log.Println("Adding torrent:", magnet, "with public IPs:", tc.Client.PublicIPs())
torrent, err := tc.Client.AddMagnet(magnet)

if err != nil {
Expand Down
6 changes: 5 additions & 1 deletion scripts/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
# For provisioning a fresh Vultr Alpine instance with block storage attached

apk update && apk upgrade
apk add docker docker-compose fail2ban rsync
apk add docker docker-compose fail2ban rsync openvpn
modprobe tun || exit 0
echo "tun" >> /etc/modules-load.d/tun.conf
echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.d/ipv4.conf
sysctl -p /etc/sysctl.d/ipv4.conf
mkdir /root/freeflix && mkdir /root/freeflix/config && mkdir /root/freeflix/data
rc-update add fail2ban
rc-update add docker boot
Expand Down

0 comments on commit a7528da

Please sign in to comment.