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.yamlby default mounts the config from the folder./swag-configon the docker host as a volume into/configinside theswag-attachmentcontainer.Before deployment of the
docker-compose.yamland.envfile for the SWAG with open-appsec deployment: Make sure to configure all parameters which you had previously adjusted in thedocker-compose.yamlfile of your existing Docker SWAG deployment also within thedocker-compose.yamlfile or respectively in the.envfile for the Docker SWAG with open-appsec deployment (e.g. env variables URL, VALIDATION, ...)
For the actual deployment follow the steps explained here:
Deploy Docker SWAG with open-appsecLast updated
Was this helpful?