Welcome to the centralized repository, here you can find some useful Makejails to deploy cool projects.
github.com/DtxdF/AppJail
Current Status: safe
Every week I update the images of all the projects to provide security updates or simply update dependencies. When doing these updates I try to automate everything, but in some other operations I have to update manually, namely when updating ajspec files. I am actively working to automate everything.
What the status means is the assumption that you should do.
safe
: I am not updating images, so everything should work correctly.updating
: I am updating images, this means that when I upload files I overwrite the old files with the new ones, so the checksum may not match, the file cannot be found, etc. In many cases this is fixed very quickly.
All images were built using AppJail Reproduce.
You can deploy a stack of applications using AppJail Director.
All these Makejails were created using sysutils/appjail-devel (or the latest version installed using git(1)) to take advantage of the latest features.
New nodes are welcome to provide redundancy. Anything that supports fetch(1) is acceptable, such as FTP or HTTP, but the latter is preferable. SFTP is preferred for file management, but anything else you can provide is acceptable. If you are interested, please contact me or join the Telegram group.
Current Nodes:
mirror.sh:
cd(1)
to your web directory and run the following script. It will recursively download each directory with its files, including the index.html
file, resulting in an exact copy of the mirror you selected.
#!/bin/sh
USER_AGENT="Mozilla/5.0 (Windows NT 10.0; rv:124.0) Gecko/20100101 Firefox/124.0"
MIRROR="$1"
if [ -z "${MIRROR}" ]; then
echo "usage: mirror.sh <HPC|KNT>"
exit 1
fi
case "$1" in
HPC) MIRROR_URL="http://appjail.hpc.at" ;;
KNT) MIRROR_URL="https://images.all101bsd.download" ;;
*) "$0"; exit 1 ;;
esac
wget --user-agent="${USER_AGENT}" --no-host-directories -N -c -r "${MIRROR_URL}"
New Makejails are welcome. Send Makejail or provide a project that you think can be automated in a useful way in the following means:
- Open a new issue in AppJail.
- Telegram Group.
- E-mail.
Note: I am very busy, so email is less preferable than other means.
You can create your own repository on your hosting or personal git profile if you prefer, I simply clone and upload it to the Centralized Repository.
This is because it is preferable to separate the jails by function, this means that if you need, for example, a web server with PHP and DBMS support, you need to create two or three: Apache (with PHP module) and MariaDB or NGINX, PHP-FPM and MariaDB. It is not just a matter of philosophy, technically it is not possible since the FROM
instruction cannot be used twice and some Makejails are intended to write to a single directory which must not be sharable.
Think about using a Makejail that just installs the application, like WordPress and doesn't configure it, what's the gain? I know for some projects they are really hard to automate, but with effort I think it is possible. Wasting hours automating a project to use it in minutes is better than wasting hours installing and configuring it each time.
This is not to stick to only one network feature that AppJail supports in order to use a project. If a user prefers to use DHCP instead of Virtual Networks, that is the user's problem.