Docker deployment of AnQiCMS, will the data really be lost after stopping?——Expert in website operations for you in-depth interpretation
Understanding the data lifecycle of Docker containers
Its internal filesystem is transient.
This means that once this container is stopped and removed (for example, you execute)docker rm
The core data composition of AnQiCMS
What critical data does AnQiCMS produce during runtime that we need to pay special attention to and persistently store? According to our understanding of AnQiCMS's functions and architecture, its data can mainly be divided into two categories:
- Database dataThis is undoubtedly the 'heart' of AnQiCMS.It includes all the website content (articles, products, pages), category information, user data, multi-site configuration, various functional modules (such as friend links, guestbook, keyword library) and so on.AnQiCMS usually relies on a relational database such as MySQL to store this core information.
- File system dataThis part of the data is located in the file system of the AnQiCMS application, mainly including:
- User-uploaded media resourcesThese include images, attachments, videos, and other content, which are important components of the website.
- System configuration file:such as used to manage port, database connection, and other key settings `config.'