# Wie muss ich die Docker-Konfiguration für Enginsight anpassen, wenn ich einen Proxy verwende?

Wenn du in deinem Netzwerk einen Proxy verwendest, musst du diesen in der Docker-Konfigurationsdatei **docker-compose.yml** in einzelnen Docker-Containern hinterlegen.

Nimm dazu folgende Schritte vor:

{% stepper %}
{% step %}
Logge dich auf dem **Enginsight Applikationsserver** ein.
{% endstep %}

{% step %}
Navigiere mit folgendem Befehl in das Enginsight Installationsverzeichnis:

```
cd /opt/enginsight/enterprise
```

{% endstep %}

{% step %}
Öffne mit folgendem Befehl die **Docker-Konfigurationsdatei**:

```
sudo nano docker-compose.yml
```

{% endstep %}

{% step %}
Navigiere in den Docker-Containern `server-m2` und `ui-m1` zum Abschnitt `environment` und ergänze diesen wie folgt:

<pre><code>environment:
<strong>  - HTTP_PROXY=http://&#x3C;ProxyURL>:&#x3C;Port>
</strong><strong>  - HTTPS_PROXY=http://&#x3C;ProxyForHTTPS_URL>:&#x3C;Port>
</strong><strong>  - NO_PROXY=&#x3C;DomainApp>
</strong></code></pre>

{% hint style="info" %}
Vergiss dabei nicht, folgende Parameter entsprechend zu ersetzen:

* `<ProxyURL>`
* `<ProxyForHTTPS_URL>`
* `<Port>`
* `<DomainApp>`
  {% endhint %}
  {% endstep %}

{% step %}
Speichere die Änderungen in der Konfigurationsdatei (Strg+o) und bestätige den Speicherprozess. Schließe die Datei (Strg+x).
{% endstep %}

{% step %}
Führe mit folgendem Befehl das Setup-Skript für den Applikationsserver neu aus, um deine Anpassungen zu übernehmen, und bestätige alle Abfragen mit der **Enter**-Taste:

```
sudo ./setup.sh
```

{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.enginsight.com/docs/knowledge-base/konfiguration/wie-muss-ich-die-docker-konfiguration-fur-enginsight-anpassen-wenn-ich-einen-proxy-verwende.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
