Skip to content

Commit

Permalink
Fix SELinux context of data volume
Browse files Browse the repository at this point in the history
Add the "shared" flag to the volume definition.
  • Loading branch information
DavidePrincipi authored Oct 24, 2024
1 parent bd84f26 commit 41c0f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imageroot/systemd/user/minio.service
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ExecStart=/usr/bin/podman run \
--env=MINIO_ROOT_USER=${MINIO_ROOT_USER} \
--env=MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD} \
--env=MINIO_DOMAIN=${MINIO_HOST_SERVER} \
--volume=${MINIO_STORAGE}:/data \
--volume=${MINIO_STORAGE}:/data:z \
${MINIO_IMAGE} server /data --console-address ":9001"
ExecStop=/usr/bin/podman stop --ignore --cidfile %t/minio.ctr-id -t 10
ExecStopPost=/usr/bin/podman rm --ignore -f --cidfile %t/minio.ctr-id
Expand Down

0 comments on commit 41c0f5d

Please sign in to comment.