add: restart policy to MinIO service (#576)

restart: unless-stopped is a Docker restart policy that automatically restarts a container if it stops due to an error or Docker daemon restart
This commit is contained in:
Jemg
2025-12-15 00:30:03 -05:00
committed by GitHub
parent b23e3320f0
commit 54eccbe32b

View File

@@ -1,10 +1,10 @@
version: "3.8"
services:
minio:
# after RELEASE.2025-04-22T22-12-26Z, minio removed most of the admin UI, if you want to use the admin UI, uncomment the line below
# image: minio/minio:RELEASE.2025-04-22T22-12-26Z
# if you uncommented the line above, comment the line below
image: minio/minio
restart: unless-stopped
volumes:
# by default, the MinIO container will use a volume named minio-data
# to store its data. This volume is created automatically by Docker.