1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-25 14:37:41 +00:00

Fix root password init

We can now use MINIO_ROOT_USER  and MINIO_ROOT_PASSWORD env vars.
These default to minioadmin. When set, it will change/update the password.
When not set, it keeps the old password from the last run.
This commit is contained in:
Girish Ramakrishnan
2022-01-21 13:28:02 -08:00
parent c0b9c4167f
commit 6162ff540b
4 changed files with 18 additions and 12 deletions

View File

@@ -9,6 +9,6 @@ ARG MC_VERSION=RELEASE.2022-01-07T06-01-38Z
RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio && \
wget https://dl.min.io/client/mc/release/linux-amd64/mc.${MC_VERSION} -O /app/code/mc && chmod +x /app/code/mc
COPY minio-credentials start.sh /app/code/
COPY env.sh minio-credentials start.sh /app/code/
CMD [ "/app/code/start.sh" ]