Go to file
Kjeld Schouten-Lebbing 4d8755c9ee
Create FUNDING.yml
2020-03-07 11:33:20 +01:00
.github Create FUNDING.yml 2020-03-07 11:33:20 +01:00
docs The Birth of JailMan (#2) 2020-03-06 21:32:55 +01:00
jails The Birth of JailMan (#2) 2020-03-06 21:32:55 +01:00
.gitignore The Birth of JailMan (#2) 2020-03-06 21:32:55 +01:00
config.yml.example The Birth of JailMan (#2) 2020-03-06 21:32:55 +01:00
global.sh The Birth of JailMan (#2) 2020-03-06 21:32:55 +01:00
jailcreate.sh The Birth of JailMan (#2) 2020-03-06 21:32:55 +01:00
jailman.sh The Birth of JailMan (#2) 2020-03-06 21:32:55 +01:00

Intro

JailMan is a collection of shell scripts designed to make it easier to install iocage Jails on FreeNAS and/or TrueNAS core. Inspirations for this script are: Docker, FreeNAS plugins, Pentaflake's guide and "freenas-iocage-nextcloud" by danb35. The updater is inspired by the updater designed for ZFS-Compression-Test by Ornias1993.

The goal of this project is to be able to install, update, reinstall, upgrade and delete most of your services by just running a single command. While doing this we aim for a "docker like" scenario, where the jail is completely disposable and all configuration is saved outside of the jail.

Example: If something goes wrong with Jackett, you just use: 'jailman -r jackett'

Install

  • git clone https://github.com/Ornias1993/jailman.git
  • cp config.yml.ex. config.yml
  • edit config.yml to reflect your personal settings

Thats all.

Update

This script includes an autoupdate feature which checks if changes to the script has been posted to github.

Use

Replace $jailname with the name of the jail you want to install. For supported jails, please see this readme or config.yml.example

  • Install: jailman.sh -i $jailname

  • ReInstall: jailman.sh -r $jailname

  • Destroy jailman.sh -d $jailname

This installs the jail, creates the config dataset if needed, installs all packages and sets them up for you. Only thing you need to do is do the setup of the packages in their respective GUI. All settings for the applications inside the jails are persistent across reinstalls, so don't worry reinstalling!

config.yml.example includes basic configuration for all jails. Basic means: The same setup as a FreeNAS plugin would've, DHCP on bridge0.

Currently Supported Services

General

  • organizr
  • py-kms

Downloads

  • transmission
  • jackett

Media

  • plex
  • tautulli
  • sonarr
  • radarr
  • lidarr

References

LICENCE

This work is dual licenced under GPLv2 and BSD-2 clause