We are having issues where sometimes we have to restart the API gateway container and the API key we had created from the previous run gets reset with a generated one but our clients are configured to use the API key we had created before the restart. It seems like the API keys aren't being persisted so my question is what is the recommended way for us to persist the data on the API gateway container (i.e. users, api keys, dictionaries, etc)? Also is there other data we should be persisting if we plan to scale the containers dynamically based on demand?
The SDL documentation I read said to mount /opt/sdl/ets/data for persisting job queues. If I did the same on the API gateway container would this persist the users, dictionaries and API keys?