Skip to content

Add Docker Volume for Database Persistence#19

Open
arcane-engine[bot] wants to merge 1 commit intomainfrom
add-database-volume-to
Open

Add Docker Volume for Database Persistence#19
arcane-engine[bot] wants to merge 1 commit intomainfrom
add-database-volume-to

Conversation

@arcane-engine
Copy link
Contributor

@arcane-engine arcane-engine bot commented Oct 12, 2024

This update enhances the docker-compose.yml file by adding a volume for the database, ensuring data persistence even when containers are stopped or removed. The database data is now stored in a Docker volume named db_data, improving data reliability and management.

Docker Configuration

  • Updated docker-compose.yml to include a volume for the database.
  • Added a new volume db_data to persist database data at /var/lib/postgresql/data.

These changes ensure that the database data is not lost, enhancing the robustness of the application's data management.

File Modified

@arcane-engine arcane-engine bot changed the title 🔧 Add Docker volume for database persistence 🔧 Add Docker Volume for Database Persistence Nov 8, 2024
@arcane-engine arcane-engine bot changed the title 🔧 Add Docker Volume for Database Persistence Add Docker Volume for Database Persistence Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants