Skip to content

Commit

Permalink
Persist dockerized postgres data locally (#1350)
Browse files Browse the repository at this point in the history
* Persist dockerized postgres data locally

* Update volume path
  • Loading branch information
radoslavzeman authored Sep 23, 2024
1 parent e8c3c3c commit 6d8013a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ typings/
# Meilisearch
meilisearch

# Postgres
postgresql

# parcel-bundler cache (https://parceljs.org/)
.cache

Expand Down
5 changes: 2 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ services:
- '5432'
ports:
- '127.0.0.1:5432:5432'
volumes:
- ./postgresql:/var/lib/postgresql
meilisearch:
image: getmeili/meilisearch:v0.30.5
environment:
Expand All @@ -28,6 +30,3 @@ services:
volumes:
- ./meilisearch/data.ms:/data.ms
restart: unless-stopped

volumes:
postgres:

0 comments on commit 6d8013a

Please sign in to comment.