Dockerize Old Apps - How to manage users files

Hi guys,

I wonder to know how do you manage user files when an apps is dockerized ?
For example, config files or uploaded profile images…

I have to dockerize some old php apps but i can’t use an external storage (like S3) to manage this files. I have to keep all files on the app’s location.

Do i need to create a volume for each “shared” folders ?

Some apps are style under development, i don’t understand how to manage this when the app is build in CI / CD (app is copyed in docker image).

Thanks for your help