---
title: "Discussion on \"My Database Disappeared Every Time I Restarted Docker. Migrations Fixed That.\" | Hashnode"
description: "Discussion on \"My Database Disappeared Every Time I Restarted Docker. Migrations Fixed That.\". In Part 8, I ripped out SQLite and switched to Postgres. The database was real now — but it still only ran on my laptop.\nThree terminal tabs. One for go run, one for Redis, one for Postgres. If I closed any of them, the whole thing fell over.\nIt was ..."
url: "https://hashnode.com/posts/my-database-disappeared-every-time-i-restarted-docker-migrations-fixed-that/69ecff3d2a1bb6f5716c9723"
---

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

Discussion

# [My Database Disappeared Every Time I Restarted Docker. Migrations Fixed That.](https://abhishekshr.hashnode.dev/my-database-disappeared-every-time-i-restarted-docker-migrations-fixed-that?utm_source=hashnode&utm_medium=feed)

In Part 8, I ripped out SQLite and switched to Postgres. The database was real now — but it still only ran on my laptop. Three terminal tabs. One for go run, one for Redis, one for Postgres. If I closed any of them, the whole thing fell over. It was ...

Apr 25 · 7 min read · abhishekshr.hashnode.dev  
Read the article

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

## Written by

[Abhishek Sharma](https://hashnode.com/@abhishekshr)

@abhishekshr

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
