Hello guys,
I am deploying my Strapi application on AWS with no issues. However, when creating new containers; the data on previous container gets lost (On every deployment, new container is started).
I have 3 alternatives on my mind:
- Use an external database (I don’t want to unless it is necessary)
- Use strapi export & import CLI before deployment, which isn’t also a clean way
- Have some sort of shared folder between containers
For the third option, I don’t know which folders/files should I commonly use so database is persisted amongst multiple containers.
I would like to hear your thoughts about which option to use, and how to make third option work.
Thank you.
This topic has been created from a Discord post (1249699874425802914) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord