# Frequently Asked Questions

#### **Question: How can I upgrade from an existing Docker SWAG deployment to using Docker SWAG integrated with open-appsec?**

Keeping your existing Docker SWAG configuration when deploying Docker SWAG with open-appsec is simple and straightforward:

**Moke sure to follow these important notes related to the deployment:**

* **Create a new folder** for the Docker SWAG with open-appsec deployment so that you can keep the original one as backup.
* **Copy your existing SWAG configuration** into **./swag-config** within that new folder.\
  The `docker-compose.yaml` by default mounts the config from the folder `./swag-config` on the docker host as a volume into `/config` inside the `swag-attachment` container.
* **Before deployment** of the `docker-compose.yaml` and `.env` file for the SWAG with open-appsec deployment:\
  \
  Make sure to configure all parameters which you had previously adjusted in the `docker-compose.yaml` file of your existing Docker SWAG deployment also within the `docker-compose.yaml` file or respectively in the `.env` file for the Docker SWAG with open-appsec deployment (e.g. env variables URL, VALIDATION, ...)

For the actual deployment follow the steps explained here:

{% content-ref url="/pages/mcpoyz0gThQSQQkIintt" %}
[Deploy Docker SWAG with open-appsec](/integrations/docker-swag/deploy-docker-swag-with-open-appsec.md)
{% endcontent-ref %}


---

# 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.openappsec.io/integrations/docker-swag/frequently-asked-questions.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.
