---
title: "Discussion on \"Docker - Use docker-compose to initialize database\" | Hashnode"
description: "Discussion on \"Docker - Use docker-compose to initialize database\". When using docker-compose.yml to run your application, you will need to ensure that your database is initialized before it is ready.\nAlthough it is expected of the application to manage it’s own database migrations and  seeding there maybe occasions ..."
url: "https://hashnode.com/posts/docker-use-docker-compose-to-initialize-database/604d3fb2cd951c0ca4c011d9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Docker - Use docker-compose to initialize database](https://blog.manoj.ch/docker-use-docker-compose-to-initialize-database?utm_source=hashnode&utm_medium=feed)

When using docker-compose.yml to run your application, you will need to ensure that your database is initialized before it is ready. Although it is expected of the application to manage it’s own database migrations and seeding there maybe occasions ...

Mar 13, 2021 · 2 min read · blog.manoj.ch  
Read the article

-   [#docker](https://hashnode.com/tag/docker)

## Written by

[Manoj Chandrashekar](https://hashnode.com/@manojc)

@manojc

  
[View profile](https://hashnode.com/@manojc)

Always learning!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
