Welcome to the centralized repository, here you can find some useful Makejails to deploy cool projects.
github.com/DtxdF/AppJail
Every 21 days all AppJail images will be created thanks to the great CI/CD framework, BuildBot. In addition, for each commit in repositories that use AppJail images, the image will be recreated and uploaded again. There are only two exceptions:
- The image is not created if the change contains the
.ajspec
file. - The image is not created if the commit message contains the
[SKIP-BUILD]
keyword.
If for some reason, for example, you see the above problems I have described because the status page is updating
or you prefer to build your own images for security reasons, you can, and it is easier with appjail-reproduce, just follow the steps below.
appjail makejail \
-j hello \
-f gh+AppJail-makejails/hello \
-o virtualnet=":<random> default" \
-o nat -- \
--hello_ajspec reproduce+hello
Note#1: The same principle applies to other images, but you must read the README of the project you want to deploy.
Note#2: The above steps assume that you have already followed the instructions in the appjail-reproduce repository.
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.