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:
@@ -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" ]
|
||||
|
Reference in New Issue
Block a user