if this git repo is meant for all instances, it doesn't make sense that 4get.ca banners are stored here.
instead, I've added `banner/*` to a .gitignore file, so instances can clone/pull/push the repo without grabbing other people's banners or uploading their own.
making this change required deleting all the currently tracked banners from the repo. an unfortunate side-effect of this is that **if you have any of these tracked banners in your local version, pulling this commit WILL DELETE ALL OF THEM!!!!!!** pulling this commit properly while preserving tracked banners should be done by temporarily copying them to another directory, `git pull`ing, then copying them back.
I also added a default banner based on the default nginx page so new instances aren't bannerless.
Co-authored-by: cynic <kurisufag1@gmail.com>
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/9
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
see title.
the workflow here (i.e. a file data/*.php, which only has a data structure and is used to generate content elsewhere) could also be used for easier per-instance customization.
[you can see what this looks like live here](https://4get.silly.computer/about)
Co-authored-by: cynic <kurisufag1@gmail.com>
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/8
Co-authored-by: cynic <admin@cynic.moe>
Co-committed-by: cynic <admin@cynic.moe>
use `exec` to turn httpd into parent process. This is important for docker signalling such as `docker stop ${container_id}`
add `set -e` which stops the entrypoint script if any command exits with a non-zero exit code.
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/6
Co-authored-by: throwaway <developerthrowaway@protonmail.com>
Co-committed-by: throwaway <developerthrowaway@protonmail.com>