improve initial config

This commit is contained in:
Tchama 2021-02-18 18:11:04 +01:00
parent 00d6a6efbd
commit de5433b54c
2 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,2 +1,5 @@
# Comment if you want include Symfony project
app
# Ignore Database datas
data

View File

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