ignore data folder and use it for database

This commit is contained in:
osbm 2025-05-05 16:26:08 +03:00
parent 08bafaebc1
commit 1a87ac79ee
2 changed files with 6 additions and 7 deletions

9
.gitignore vendored
View File

@ -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/

View File

@ -9,4 +9,6 @@ services:
POSTGRES_DB: postgres_db
ports:
- "5434:5432"
- "5434:5432"
volumes:
- ./data/postgres:/var/lib/postgresql/data