From e1ceddca076ae2f2826387f851daa28170195a48 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Wed, 21 Aug 2024 13:01:32 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20emp=C3=AAcher=20build=20sans=20MINIO=5FR?= =?UTF-8?q?OOT=5FPASSWORD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aussi donner une valeur par défaut `agecemorg` à MINIO_ROOT_USER --- docker-compose.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 467dd46..887b61e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,8 +3,8 @@ services: image: 'quay.io/minio/minio:latest' restart: 'unless-stopped' environment: - MINIO_ROOT_USER: "${MINIO_ROOT_USER}" - MINIO_ROOT_PASSWORD: "${MINIO_ROOT_PASSWORD}" + MINIO_ROOT_USER: "${MINIO_ROOT_USER:-agecemorg}" + MINIO_ROOT_PASSWORD: "${MINIO_ROOT_PASSWORD:?MINIO_ROOT_PASSWORD requis dans .env}" volumes: - 'minio-data:/data' command: 'server /data --console-address ":9001"' @@ -15,8 +15,8 @@ services: build: . image: 'git.agecem.com/agecem/agecem-org:latest' environment: - AGECEM_ORG_SERVER_DOCUMENTS_ACCESS_KEY_ID: "${MINIO_ROOT_USER}" - AGECEM_ORG_SERVER_DOCUMENTS_SECRET_ACCESS_KEY: "${MINIO_ROOT_PASSWORD}" + AGECEM_ORG_SERVER_DOCUMENTS_ACCESS_KEY_ID: "${MINIO_ROOT_USER:-agecemorg}" + AGECEM_ORG_SERVER_DOCUMENTS_SECRET_ACCESS_KEY: "${MINIO_ROOT_PASSWORD:?MINIO_ROOT_PASSWORD requis dans .env}" ports: - '8080:8080' volumes: -- 2.45.2