feat: Se agrega volumen db para persistencia de datos.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:12
|
||||
volumes:
|
||||
- postgres:/var/lib/postgresql
|
||||
environment:
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
@@ -32,5 +34,6 @@ services:
|
||||
env_file:
|
||||
- .env.development
|
||||
volumes:
|
||||
postgres:
|
||||
app:
|
||||
attachments:
|
||||
|
||||
Reference in New Issue
Block a user