Archived
1
Fork 0
forked from Korbs/4get

add required environment variable

This commit is contained in:
throwaway 2024-01-09 17:15:22 -08:00
parent 554fb9f93f
commit 8423be1663
2 changed files with 3 additions and 0 deletions

View file

@ -176,6 +176,7 @@ to serve custom banners create a directory named `banners` for example with imag
to serve captcha images create a directory named `captchas` for example containing subfolders with images and mount to `/var/www/html/4get/data/captcha`
any environment variables prefixed with `FOURGET_` will be added to the generated config
the entrypoint will automatically set the `CAPTCHA_DATASET` value for you based on directory names and number of files in each

View file

@ -8,6 +8,7 @@ services:
environment:
- FOURGET_VERSION=6
- FOURGET_SERVER_NAME=4get.ca
- FOURGET_SERVER_ADMIN_EMAIL=you@example.com
ports:
- "80:80"
@ -15,5 +16,6 @@ services:
volumes:
- /etc/letsencrypt/live/domain.tld:/etc/4get/certs
# mount custom banners and captcha
- ./banners:/var/www/html/4get/banner
- ./captcha:/var/www/html/4get/data/captcha