mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2024-11-14 03:49:48 +01:00
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
This commit is contained in:
commit
2984c4f8c6
|
@ -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`
|
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
|
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
|
the entrypoint will automatically set the `CAPTCHA_DATASET` value for you based on directory names and number of files in each
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- FOURGET_VERSION=6
|
- FOURGET_VERSION=6
|
||||||
- FOURGET_SERVER_NAME=4get.ca
|
- FOURGET_SERVER_NAME=4get.ca
|
||||||
|
- FOURGET_SERVER_ADMIN_EMAIL=you@example.com
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
|
@ -15,5 +16,6 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/letsencrypt/live/domain.tld:/etc/4get/certs
|
- /etc/letsencrypt/live/domain.tld:/etc/4get/certs
|
||||||
|
# mount custom banners and captcha
|
||||||
- ./banners:/var/www/html/4get/banner
|
- ./banners:/var/www/html/4get/banner
|
||||||
- ./captcha:/var/www/html/4get/data/captcha
|
- ./captcha:/var/www/html/4get/data/captcha
|
||||||
|
|
Loading…
Reference in a new issue