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
|
app
|
||||||
|
|
||||||
|
# Ignore Database datas
|
||||||
data
|
data
|
||||||
|
@ -4,8 +4,8 @@ services:
|
|||||||
db:
|
db:
|
||||||
image: postgres:12
|
image: postgres:12
|
||||||
volumes:
|
volumes:
|
||||||
# comment to keep data in docker volumes
|
# uncomment to keep data out of docker volumes
|
||||||
- ./data:/var/lib/postgresql/data
|
# - ./data:/var/lib/postgresql/data
|
||||||
- ./docker_build/db/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
- ./docker_build/db/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||||
environment:
|
environment:
|
||||||
- "POSTGRES_USER=postgres"
|
- "POSTGRES_USER=postgres"
|
||||||
|
Loading…
Reference in New Issue
Block a user