Skip to content

Commit

Permalink
minio noroot (#172)
Browse files Browse the repository at this point in the history
* test: add Makefile to wrap around docker-compose.yml

This allows to set uid and gid for MinIO

Signed-off-by: Raphaël Pinson <raphael.pinson@camptocamp.com>

* test: use UID and GID environment variables in docker-compose.yml

Signed-off-by: Raphaël Pinson <raphael.pinson@camptocamp.com>
  • Loading branch information
raphink committed Jun 16, 2021
1 parent 156f59d commit 6a9f151
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/docker-compose.yml
Expand Up @@ -31,6 +31,7 @@ services:
environment:
MINIO_ROOT_USER: root
MINIO_ROOT_PASSWORD: mypassword
user: "${UID}:${GID}"
expose:
- "9000"
ports:
Expand Down Expand Up @@ -59,4 +60,4 @@ services:
- "5050:80"

volumes:
tb-data: {}
tb-data: {}

0 comments on commit 6a9f151

Please sign in to comment.