diff options
author | lolcat <lolcat@no-reply@lolcat.ca> | 2024-01-09 19:23:06 -0600 |
---|---|---|
committer | lolcat <lolcat@no-reply@lolcat.ca> | 2024-01-09 19:23:06 -0600 |
commit | 2984c4f8c6c43da1563ae3be2adfd5616848eff0 (patch) | |
tree | 75d1280f6a5c0b096e0e72c8f6afbd655464fefb | |
parent | e5cd3d40cf6a1be9efcc1e1677eedf8cd784682e (diff) | |
parent | 8423be1663a5c3d6d881f4c1a8b91f74d10b83e8 (diff) |
Merge pull request 'add required environment variable to example docker-compose.yaml' (#23) from feature/fix_example_file into master
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/23
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | docker-compose.yaml | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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 diff --git a/docker-compose.yaml b/docker-compose.yaml index d3ffe62..b0eff1a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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 |