feat: do not use default admin pw

This commit is contained in:
Michael Barz
2025-06-18 09:39:08 +02:00
parent 4ecd436580
commit 278b58e683
3 changed files with 15 additions and 5 deletions

View File

@@ -59,8 +59,6 @@ OC_DOCKER_TAG=
# Domain of openCloud, where you can find the frontend.
# Defaults to "cloud.opencloud.test"
OC_DOMAIN=
# openCloud admin user password. Defaults to "admin".
ADMIN_PASSWORD=
# Demo users should not be created on a production instance,
# because their passwords are public. Defaults to "false".
# If demo users is set to "true", the following user accounts are created automatically:
@@ -81,6 +79,21 @@ LOG_LEVEL=
# Leaving it default stores data in docker internal volumes.
# OC_CONFIG_DIR=/your/local/opencloud/config
# OC_DATA_DIR=/your/local/opencloud/data
# OpenCloud Web can load extensions from a local directory.
# The default uses the bind mount to the config/opencloud/apps directory.
# Example: curl -L https://github.com/opencloud-eu/web-extensions/releases/download/unzip-v1.0.2/unzip-1.0.2.zip | tar -xz -C config/opencloud/apps
# NOTE: you need to restart the openCloud container to load the new extensions.
# OC_APPS_DIR=/your/local/opencloud/apps
## OpenCloud Admin Password ##
# The password for the OpenCloud admin user.
# The admin user password is randomly generated on the first start of OpenCloud.
# It will be printed to the console. You can access it by running the following command:
# `docker compose logs opencloud | grep -B 1 -A 4 "generated OpenCloud Config"`
# The password is stored in the OpenCloud configuration file.
# It can only be changed via the OpenCloud User Settings UI or by using the OpenCloud CLI.
# https://docs.opencloud.eu/docs/admin/resources/common-issues#-change-admin-password-set-in-env
# S3 Storage configuration - optional
# OpenCloud supports S3 storage as primary storage.