> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/de/installation-setup/installation/docker.md).

# Docker

Auf jeder Plattform ausführen, die Docker-Images unterstützt

{% hint style="danger" %} <mark style="color:rot;">**Um auf das Docker-Image zuzugreifen, benötigen Sie einen Login und ein Zugriffs-Token. Um Ihr persönliches Zugriffs-Token zu erhalten**</mark> [<mark style="color:rot;">**kontaktieren**</mark> ](#user-content-fn-1)[^1][<mark style="color:rot;">**das Vertriebsteam von ngSurvey**</mark>](https://www.ngsurvey.com/contact)<mark style="color:rot;">**.**</mark>
{% endhint %}

### Verwendung

Zum Ausführen **ngSurvey** auf Ihrem lokalen Rechner unter Verwendung von Port `8080`:

1. Holen Sie das Docker-Image von Docker Hub.
2. Setzen Sie die erforderliche `ConnectionStrings:NgSurveyDB` Umgebungsvariable auf Ihren Datenbank-Host und Ihre Details.

```bash
docker login -u ngsurvey -p YOUR_ACCESSTOKEN
docker pull ngsurvey/ngsurveyee:latest
docker run -d --name ngsurvey -p 8080:80 -e "ConnectionStrings:NGSurveyDB=Server=YourSQLServerHost;Initial Catalog=NGSurvey;User ID=youruserid;Password=yourpassword" ngsurvey/ngsurveyee:latest
```

Sobald es läuft, erreichen Sie ngSurvey unter `http://localhost:8080` mit dem Standardkonto:

* **User**: ngsadmin
* **Password**: admin

Um auf Plattformen wie Azure, AWS, Google Cloud oder Windows Server bereitzustellen, konsultieren Sie die jeweilige Docker-Dokumentation des Anbieters.

***

### Verwendung von Docker Compose - SQL Express

Für eine schnelle 5-Minuten-Einrichtung mit **ngSurvey** und einer vollständig konfigurierten **SQL Express** Instanz mit persistenter Datenspeicherung:

1. Laden Sie die vorkonfigurierte YAML-Datei herunter: [ngsurveyee.yml](https://ngsurvey.s3.eu-central-1.amazonaws.com/ngsurveyee.yml).
2. Führen Sie den folgenden Befehl aus:

   <pre class="language-bash"><code class="lang-bash"><strong>docker login -u ngsurvey -p YOUR_ACCESSTOKEN
   </strong><strong>docker-compose -f ngsurveyee.yml up
   </strong></code></pre>

ngSurvey ist verfügbar unter `http://localhost:8080`.

* Die Einrichtung erstellt zwei Container: einen für **ngSurvey** und einen für **SQL Express**.
* Die Daten bleiben erhalten, auch wenn die Container aktualisiert oder gestoppt werden.
* **Wichtig**: Aktualisieren Sie das Standardkennwort in `ngsurveyee.yml` mithilfe eines Texteditors vor der Bereitstellung.

***

### Verwendung von Docker Compose - MySQL

Für eine schnelle 5-Minuten-Einrichtung mit **ngSurvey** und einer vollständig konfigurierten **MySQL** Instanz mit persistenter Datenspeicherung:

1. Laden Sie die vorkonfigurierte YAML-Datei herunter: [ngsurveyee.mysql.yml](https://ngsurvey.s3.eu-central-1.amazonaws.com/ngsurveyee.mysql.yml).
2. Führen Sie den folgenden Befehl aus:

   ```bash
   docker login -u ngsurvey -p YOUR_ACCESSTOKEN
   docker-compose -f ngsurveyee.mysql.yml up
   ```

ngSurvey ist verfügbar unter `http://localhost:8080`.

* Die Einrichtung erstellt zwei Container: einen für **ngSurvey** und einen für **MySQL**.
* Die Daten bleiben erhalten, auch wenn die Container aktualisiert oder gestoppt werden.
* **Wichtig**: Aktualisieren Sie das Standardkennwort in `ngsurveyee.mysql.yml` mithilfe eines Texteditors vor der Bereitstellung.

***

### Verwendung von Docker Compose - PostgreSQL

Für eine schnelle 5-Minuten-Einrichtung mit **ngSurvey** und einer vollständig konfigurierten **PostgreSQL** Instanz mit persistenter Datenspeicherung:

1. Laden Sie die vorkonfigurierte YAML-Datei herunter: [ngsurveyee.postgres.yml](https://ngsurvey.s3.eu-central-1.amazonaws.com/ngsurveyee.postgres.yml).
2. Führen Sie den folgenden Befehl aus:

   ```bash
   docker login -u ngsurvey -p YOUR_ACCESSTOKEN
   docker-compose -f ngsurveyee.postgres.yml up
   ```

ngSurvey ist verfügbar unter `http://localhost:8080`.

* Die Einrichtung erstellt zwei Container: einen für **ngSurvey** und einen für **PostgreSQL**.
* Die Daten bleiben erhalten, auch wenn die Container aktualisiert oder gestoppt werden.
* **Wichtig**: Aktualisieren Sie das Standardkennwort in `ngsurveyee.postgres.yml` mithilfe eines Texteditors vor der Bereitstellung.

***

### Datenbankeinrichtung

Standardmäßig konfiguriert, erstellt oder aktualisiert ngSurvey automatisch die in Ihrer Verbindungszeichenfolge angegebene Datenbank. Beim Betrieb auf **AWS**übernimmt ngSurvey automatisch alle RDS-Verbindungseigenschaften.

***

### Einrichtung von Mailserver / API-Integrationen von Drittanbietern

Nach der Installation können Sie Ihren Mailserver über die **Administration > System > Settings** Seite konfigurieren. Sie können auch API-Integrationen von Drittanbietern wie Google reCAPTCHA einrichten.

***

{% hint style="info" %}
Wenn Sie planen, eine große Menge an Dateien zu erfassen oder eine große Menge an Dateien als Medien zu verwenden, empfehlen wir die Einrichtung eines [Docker-Volumes](/de/installation-setup/installation/docker/dateisystemspeicher.md) und die Verwendung von ngSurvey [filesystem storage](/de/installation-setup/system-settings/active-directory-settings-1.md) Funktion, um Ihre Dateien zu speichern.
{% endhint %}

[^1]:


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ngsurvey.com/de/installation-setup/installation/docker.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
