feat: added persistence to minio and postgresql
This commit is contained in:
parent
71ee5c1d0b
commit
ad948033eb
|
|
@ -45,6 +45,8 @@ services:
|
|||
environment:
|
||||
- MINIO_BROWSER_REDIRECT_URL=http://localhost/minio
|
||||
command: server /data --console-address ":9001"
|
||||
volumes:
|
||||
- minio_data:/data
|
||||
|
||||
postgres:
|
||||
restart: on-failure
|
||||
|
|
@ -60,6 +62,7 @@ services:
|
|||
- 5433:5432
|
||||
volumes:
|
||||
- ./migrations/before:/docker-entrypoint-initdb.d
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
|
||||
pgadmin:
|
||||
restart: on-failure
|
||||
|
|
@ -163,3 +166,7 @@ services:
|
|||
- gotrue
|
||||
ports:
|
||||
- 3000:3000
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
minio_data:
|
||||
|
|
|
|||
Loading…
Reference in New Issue