diff --git a/src/content/docs/de/installation/docker.mdx b/src/content/docs/de/installation/docker.mdx index d5ab235e0..180e67554 100644 --- a/src/content/docs/de/installation/docker.mdx +++ b/src/content/docs/de/installation/docker.mdx @@ -141,6 +141,19 @@ Füge bei Bedarf weitere Ports hinzu. Details findest du im Abschnitt [Ports](#ports). ::: +:::tip +Alle Parameter aus `evcc.yaml` können als Umgebungsvariable in der Kommandozeile gesetzt werden: `EVCC_` + Parametername in Großbuchstaben. + +Eine vollständige Liste aller CLI-Optionen findest du in der [CLI-Dokumentation](/de/reference/cli/evcc). + +Beispiel für die Kommandozeile, um das Log-Level zu ändern: + +```sh +-e EVCC_LOG=debug \ +``` + +::: + #### Aktualisierung Um auf eine neue Version von evcc zu aktualisieren, führe folgende Schritte durch. @@ -237,6 +250,20 @@ Füge bei Bedarf weitere Ports hinzu. Details findest du im Abschnitt [Ports](#ports). ::: +:::tip +Alle Parameter aus `evcc.yaml` können als Umgebungsvariable in der `compose.yaml` gesetzt werden: `EVCC_` + Parametername in Großbuchstaben. + +Eine vollständige Liste aller CLI-Optionen findest du in der [CLI-Dokumentation](/de/reference/cli/evcc). + +Zum Beispiel: + +```yaml +environment: + - EVCC_LOG=debug +``` + +::: + Starte den Container mit: ```sh diff --git a/src/content/docs/en/installation/docker.mdx b/src/content/docs/en/installation/docker.mdx index cee327553..63abff028 100644 --- a/src/content/docs/en/installation/docker.mdx +++ b/src/content/docs/en/installation/docker.mdx @@ -141,6 +141,19 @@ The above example only uses basic ports. Please refer to the [Ports](#ports) section and add additional ports as needed. ::: +:::tip +All parameters from `evcc.yaml` can be set as environment variables via command line: `EVCC_` + parameter name in uppercase. + +For a complete list of all CLI options, see the [CLI documentation](/en/reference/cli/evcc). + +Example command line snippet to change log level: + +```sh +-e EVCC_LOG=debug \ +``` + +::: + ### via Docker Compose [docker-compose](https://docs.docker.com/compose) has several advantages over direct command line execution. @@ -205,6 +218,20 @@ The above example only uses basic ports. Please refer to the [Ports](#ports) section and add additional ports as needed. ::: +:::tip +All parameters from `evcc.yaml` can be set as environment variables in the `compose.yaml` file: `EVCC_` + parameter name in uppercase. + +For a complete list of all CLI options, see the [CLI documentation](/en/reference/cli/evcc). + +Example: + +```yaml +environment: + - EVCC_LOG=debug +``` + +::: + Start the container with: ```sh diff --git a/src/content/docs/en/reference/configuration/log.md b/src/content/docs/en/reference/configuration/log.md index c13cc4d7d..7d9de550a 100644 --- a/src/content/docs/en/reference/configuration/log.md +++ b/src/content/docs/en/reference/configuration/log.md @@ -18,7 +18,7 @@ Defines the level of detail for logging information to the console. - `trace`: Includes `debug`, additionally shows messages of the `trace` category. This is the most detailed category and can result in very large log data. In general, this is not usually needed! When running evcc in the console, the `log` messages are simply directed to the standard output. -If evcc is run as a Linux systemd service, messages can be tracked using `sudo journalctl -fau evcc`, see [Logfile zur Fehleranalyse](/en/faq#debugging). +If evcc is run as a Linux systemd service, messages can be tracked using `sudo journalctl -fau evcc`, see [Debugging](/en/faq#debugging). In the case of a Docker installation, you can view the messages using `docker logs`, see [Docker Documentation](https://docs.docker.com/config/containers/logging/). **For example**: