From 6a9f1518f969255c3a0b8e92989c260e4088b759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Pinson?= Date: Wed, 16 Jun 2021 14:47:36 +0200 Subject: [PATCH] minio noroot (#172) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * test: add Makefile to wrap around docker-compose.yml This allows to set uid and gid for MinIO Signed-off-by: Raphaël Pinson * test: use UID and GID environment variables in docker-compose.yml Signed-off-by: Raphaël Pinson --- test/docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/docker-compose.yml b/test/docker-compose.yml index 6b8492db..7d67011c 100755 --- a/test/docker-compose.yml +++ b/test/docker-compose.yml @@ -31,6 +31,7 @@ services: environment: MINIO_ROOT_USER: root MINIO_ROOT_PASSWORD: mypassword + user: "${UID}:${GID}" expose: - "9000" ports: @@ -59,4 +60,4 @@ services: - "5050:80" volumes: - tb-data: {} \ No newline at end of file + tb-data: {}