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