Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions src/content/docs/de/installation/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
27 changes: 27 additions & 0 deletions src/content/docs/en/installation/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/en/reference/configuration/log.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**:
Expand Down