diff --git a/.gitignore b/.gitignore index ab3e8ce..ed85c50 100644 --- a/.gitignore +++ b/.gitignore @@ -155,10 +155,7 @@ dmypy.json # Cython debug symbols cython_debug/ -# PyCharm -# JetBrains specific template is maintained in a separate JetBrains.gitignore that can -# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore -# and can be added to the global gitignore or merged into this file. For a more nuclear -# option (not recommended) you can uncomment the following to ignore the entire idea folder. -#.idea/ + +# database +data/ \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 76c3981..e625283 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,4 +9,6 @@ services: POSTGRES_DB: postgres_db ports: - - "5434:5432" \ No newline at end of file + - "5434:5432" + volumes: + - ./data/postgres:/var/lib/postgresql/data