-
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.
Merge pull request #2 from felixschndr/debug-units
Fix: Unit is not copied if the unit has no abbreviation set
- Loading branch information
Showing
5 changed files
with
89 additions
and
37 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 |
---|---|---|
|
@@ -42,6 +42,8 @@ No matter which deployment option you chose you must setup some environment vari | |
| `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` | | ||
|
||
Ensure to quote your environment variables. Without quotes your password might not be read properly if it contains symbols such as `<`, `&` or `;`. | ||
|
||
### Deployment options | ||
|
||
You can run this app in three simple ways. I prefer the third option. Depending on the deployment option you chose | ||
|
@@ -60,11 +62,11 @@ you can ignore some environment variables (e.g. `HTTP_HOST` and `HTTP_PORT`). | |
- You *can* (not must) specify a different port than the default (`8742`) with `-p 1234:8742`. | ||
- Example: | ||
```bash | ||
docker run | ||
-e BRING_USERNAME="[email protected]" | ||
-e BRING_PASSWORD="my super secret password" | ||
-e BRING_LIST_NAME="My shopping list with spaces" | ||
-p 1234:8742 | ||
docker run \ | ||
-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Take a look at the README for an explanation of the environment variables | ||
BRING_USERNAME=[email protected] | ||
BRING_PASSWORD=mysupersecretpassword | ||
BRING_LIST_NAME=My list has some spaces in it | ||
IGNORED_INGREDIENTS=Pepper,Salt | ||
BRING_USERNAME="[email protected]" | ||
BRING_PASSWORD="mysupersecretpassword" | ||
BRING_LIST_NAME="My list has some spaces in it" | ||
IGNORED_INGREDIENTS="Pepper,Salt" | ||
LOG_LEVEL=INFO | ||
HTTP_HOST=0.0.0.0 | ||
HTTP_PORT=8742 |
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