ignore data folder and use it for database
This commit is contained in:
parent
08bafaebc1
commit
1a87ac79ee
9
.gitignore
vendored
9
.gitignore
vendored
@ -155,10 +155,7 @@ dmypy.json
|
|||||||
# Cython debug symbols
|
# Cython debug symbols
|
||||||
cython_debug/
|
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/
|
||||||
@ -9,4 +9,6 @@ services:
|
|||||||
POSTGRES_DB: postgres_db
|
POSTGRES_DB: postgres_db
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "5434:5432"
|
- "5434:5432"
|
||||||
|
volumes:
|
||||||
|
- ./data/postgres:/var/lib/postgresql/data
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user