# Global parameters exec.start = "/bin/sh /etc/rc"; #exec.start += "/sbin/ifconfig lo0 127.0.0.1 up"; #exec.start += "/sbin/ifconfig epair${nid}b 192.168.123.${nid}/24 up"; #exec.start += "/sbin/route add default 192.168.123.1"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.clean; mount.devfs; mount.procfs; mount.fstab = "/mnt/ssd/jail/${name}/etc/fstab"; devfs_ruleset = 5; allow.raw_sockets; allow.sysvipc; allow.mount; allow.mount.fusefs; allow.mount.devfs; allow.mount.procfs; enforce_statfs = 1; # VNET-specific parameters vnet; vnet.interface = "epair${nid}b"; exec.prestart = "ifconfig epair${nid} create up"; exec.prestart += "ifconfig epair${nid}a up"; exec.prestart += "ifconfig bridge1 addm epair${nid}a"; exec.poststop = "ifconfig epair${nid}a destroy"; # Path parameters path = "/mnt/ssd/jail/${name}"; host.hostname = "${name}.jail"; # NID 3, 4 is available now navidrome { $nid = 17; } ntfy { $nid = 16; } seafile { $nid = 15; } immich { # This is a Linux jail. $nid = 14; mount.procfs = 0; exec.start = "/bin/sh /sbin/swinit"; exec.stop = "/bin/sh /sbin/swshutdown"; } kanboard { $nid = 13; } authelia { $nid = 12; } freshrss { $nid = 11; } nextcloud { $nid = 10; } games { $nid = 9; } mastodon { $nid = 8; } matrix { $nid = 7; } ircbots { $nid = 6; } peertube { $nid = 5; } # { # $nid = 4; #} # { # $nid = 3; #} thelounge { $nid = 2; } forgejo { $nid = 1; } opengist { $nid = 0; }