This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use client"; | |
import { zodResolver } from "@hookform/resolvers/zod"; | |
import { useForm } from "react-hook-form"; | |
import MoneyInput from "src/components/custom/money-input"; | |
import { Button } from "src/components/ui/button"; | |
import { Form } from "src/components/ui/form"; | |
import * as z from "zod"; | |
const schema = z.object({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Base paths | |
BASE_PATH=CHANGE-ME # Base configuration directory (Different from Data_Path lcoation) | |
DATA_PATH=CHANGE-ME # Base data directory (Not /home) | |
MEDIA_PATH=${DATA_PATH}/media # Media storage location | |
DOWNLOADS_PATH=${DATA_PATH}/torrents # Download directory for qBittorrent (Different from Media_path location) | |
# Volume paths for different services | |
GLUETUN_VOLUME=${BASE_PATH}/gluetun | |
QBITTORRENT_CONFIG_VOLUME=${BASE_PATH}/qbittorrent/config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
***Pi-Mox setup on raspberry pi 4b (cm4 you will need add the appropriate steps for your hw setup) | |
***None of this is "Prod" ready so use at your own risk, your VM's/Containers are your own responsibility. You should already have adequate backups etc. | |
***Raspberry PI OS setup | |
Install raspbian x64 lite on raspberry pi | |
pull the latest copy of Raspberry PI OS x64 lite based on debian 11 bullseye from here: https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit | |
open imager, click choose os, scroll to the bottom and select custom. open the image "2023-05-03-raspios-bullseye-arm64-lite.img.xz" |