improve initial config
This commit is contained in:
parent
00d6a6efbd
commit
de5433b54c
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
||||
# Comment if you want include Symfony project
|
||||
app
|
||||
|
||||
# Ignore Database datas
|
||||
data
|
||||
|
@ -4,8 +4,8 @@ services:
|
||||
db:
|
||||
image: postgres:12
|
||||
volumes:
|
||||
# comment to keep data in docker volumes
|
||||
- ./data:/var/lib/postgresql/data
|
||||
# uncomment to keep data out of docker volumes
|
||||
# - ./data:/var/lib/postgresql/data
|
||||
- ./docker_build/db/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||
environment:
|
||||
- "POSTGRES_USER=postgres"
|
||||
|
Loading…
Reference in New Issue
Block a user