-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for recipes disabled ingredient amounts
- Loading branch information
1 parent
b2ab6a7
commit 007aba8
Showing
4 changed files
with
57 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,15 +32,15 @@ Mealie instance and adds the ingredients of a recipe to a specified Bring shoppi | |
|
||
No matter which deployment option you chose you must setup some environment variables: | ||
|
||
| Variable name | Description | Required | Default | Example | | ||
|-----------------------|-----------------------------------------------------------------------------------------------------------------------------------------|:--------:|-----------------------------------|------------------------------| | ||
| `BRING_USERNAME` | The email address of your bring account | Yes | - | [email protected] | | ||
| `BRING_PASSWORD` | The password of your bring account | Yes | - | my super secret password | | ||
| `BRING_LIST_NAME` | The exact name of the list you want to add the ingredients to, supports special characters | Yes | - | My shopping list with spaces | | ||
| `IGNORED_INGREDIENTS` | Ingredients that are never added to the shopping list (things you always have at home), separated by a `,`, case insensitive | No | - (all ingredients will be added) | Salt,Pepper,Frying oil | | ||
| `LOG_LEVEL` | The loglevel the application logs at | No | `INFO` | `DEBUG` | | ||
| `HTTP_HOST` | The address the application tries to attach to, leave this empty to listen on all interfaces, leave this empty if you are using Docker | No | `0.0.0.0` | `192.168.1.5` | | ||
| `HTTP_PORT` | The port the application listens on, change this if needed if you run the application locally, leave this empty if you are using Docker | No | `8742` | `1234` | | ||
| Variable name | Description | Required | Default | Example | | ||
|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------:|-----------------------------------|--------------------------------| | ||
| `BRING_USERNAME` | The email address of your bring account | Yes | - | `[email protected]` | | ||
| `BRING_PASSWORD` | The password of your bring account | Yes | - | `my super secret password` | | ||
| `BRING_LIST_NAME` | The exact name of the list you want to add the ingredients to, supports special characters | Yes | - | `My shopping list with spaces` | | ||
| `IGNORED_INGREDIENTS` | Ingredients that are never added to the shopping list (things you always have at home), separated by a `,`, case insensitive, **WARNING**: This *only* works for recipes with *enabled* ingredient amounts! | No | - (all ingredients will be added) | `Salt,Pepper,Frying oil` | | ||
| `LOG_LEVEL` | The loglevel the application logs at | No | `INFO` | `DEBUG` | | ||
| `HTTP_HOST` | The address the application tries to attach to, leave this empty to listen on all interfaces, leave this empty if you are using Docker | No | `0.0.0.0` | `192.168.1.5` | | ||
| `HTTP_PORT` | The port the application listens on, change this if needed if you run the application locally, leave this empty if you are using Docker | No | `8742` | `1234` | | ||
|
||
### Deployment options | ||
|
||
|
@@ -61,9 +61,9 @@ you can ignore some environment variables (e.g. `HTTP_HOST` and `HTTP_PORT`). | |
- Example: | ||
```bash | ||
docker run | ||
-e BRING_USERNAME="<your email>" | ||
-e BRING_PASSWORD="<your password>" | ||
-e BRING_LIST_NAME="<your list name>" | ||
-e BRING_USERNAME="[email protected]" | ||
-e BRING_PASSWORD="my super secret password" | ||
-e BRING_LIST_NAME="My shopping list with spaces" | ||
-p 1234:8742 | ||
ghcr.io/felixschndr/mealie-bring-api:latest | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters