Skip to content

1. Prerequisites

Pro-Tweaker edited this page Jul 27, 2023 · 18 revisions

Partitions

Main or first disk

Filesystem Mount Point Size
1 ext4 /boot 1 Gio
2 ext4 / 25 Gio
3 Swap swap 512 Mio
4 ext4 /data1 1.8 Tio

Extra Disks

sudo fdisk /dev/sda

Final

NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda      8:0    0  1.8T  0 disk 
├─sda1   8:1    0    1G  0 part /boot
├─sda2   8:2    0   25G  0 part /
├─sda3   8:3    0  512M  0 part [SWAP]
├─sda4   8:4    0    1K  0 part 
├─sda5   8:5    0  1.8T  0 part /data1
└─sda6   8:6    0  1.9M  0 part 
sdb      8:16   0  1.8T  0 disk 
└─sdb1   8:17   0  1.8T  0 part /data2
sdc      8:32   1  1.8T  0 disk 
└─sdc1   8:33   1  1.8T  0 part /data3

MergerFS

sudo apt update
sudo apt -y install mergerfs

Prerequisites

sudo apt update
sudo apt install git
sudo apt install python3 python3-pip python3-passlib python3-lxml python3-pbkdf2
sudo apt install python-is-python3 # optional

sudo apt install python3-docker
sudo apt install python3-dockerpycreds
sudo apt install python3-pbkdf2

pipx

sudo apt install pipx 
pipx ensurepath

ansible

pipx install --include-deps ansible

Edit Path

nano ~/.bashrc
add the following line at the end of it:
export PATH="~/.local/bin:$PATH" Then
source ~/.bashrc

Check Install

ansible --version
ansible --version | grep "python version"

Add

ansible-galaxy collection install community.docker

Minimal

ansible-playbook seedbox.yml --tags=docker

create a file name settings.yml and override the defautls settings: Recommended:

  • domain
  • notifications_email
  • cloudflare:
    • api_key
    • api_email
    • domain_zone_id
  • traefik:
    • acme_email
Clone this wiki locally