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