Clarify how to enable whoogle.env for docker/docker-compose

The readme section on enabling whoogle.env needed to be updated to clarify
how it should work for "docker-compose" and "docker build" runs.
main
Ben Busby 2021-05-03 14:36:00 -04:00 committed by GitHub
parent 3b7b9d2738
commit 35aa02167c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -237,7 +237,11 @@ Depending on your preferences, you can also deploy the app yourself on your own
- A bit more experience or willingness to work through issues - A bit more experience or willingness to work through issues
## Environment Variables ## Environment Variables
There are a few optional environment variables available for customizing a Whoogle instance. These can be set manually, or copied into `whoogle.env` and enabled by setting `WHOOGLE_DOTENV=1`. There are a few optional environment variables available for customizing a Whoogle instance. These can be set manually, or copied into `whoogle.env` and enabled for your preferred deployment method:
- Local runs: Set `WHOOGLE_DOTENV=1` before running
- With `docker-compose`: Uncomment the `env_file` option
- With `docker build/run`: Add `--env-file ./whoogle.env` to your command
| Variable | Description | | Variable | Description |
| ------------------ | ----------------------------------------------------------------------------------------- | | ------------------ | ----------------------------------------------------------------------------------------- |