
- NEXTCLOUD UNRAID SETUP INSTALL
- NEXTCLOUD UNRAID SETUP PASSWORD
See the examples for further instructions. The use of Redis is recommended to prevent file locking problems.
NEXTCLOUD UNRAID SETUP PASSWORD
REDIS_HOST_PASSWORD (not set by default) Redis password. REDIS_HOST_PORT (default: 6379) Optional port for Redis, only use for external Redis servers that run on non-standard ports. REDIS_HOST (not set by default) Name of Redis container. To inform Nextcloud about the Redis container, pass in the following parameters: If you want to use Redis you have to create a separate Redis container in your setup / in your docker-compose file. NEXTCLOUD UNRAID SETUP INSTALL
If you use a custom command you have to enable the install / update with The install and update script is only triggered when a default command is used ( apache-foreground or php-fpm).
NEXTCLOUD_TRUSTED_DOMAINS (not set by default) Optional space-separated list of domains. They will be added to the configuration after install. One or more trusted domains can be set through environment variable, too. NEXTCLOUD_DATA_DIR (default: /var/www/html/data) Configures the data directory where nextcloud stores all files from the users.
If you want, you can set the data directory, otherwise default value will be used.
NEXTCLOUD_ADMIN_PASSWORD Password for the Nextcloud admin user. NEXTCLOUD_ADMIN_USER Name of the Nextcloud admin user. With a complete configuration by using all variables for your database type, you can additionally configure your Nextcloud instance by setting admin user and password (only works if you set both): all of MYSQL_DATABASE, MYSQL_USER, MYSQL_PASSWORD, MYSQL_HOST), they will not be asked in the install page on first run. POSTGRES_HOST Hostname of the database server using postgres.Īs an alternative to passing sensitive information via environment variables, _FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. POSTGRES_PASSWORD Password for the database user using postgres. POSTGRES_USER Username for the database using postgres. POSTGRES_DB Name of the database using postgres. MYSQL_HOST Hostname of the database server using mysql / mariadb. MYSQL_PASSWORD Password for the database user using mysql / mariadb. MYSQL_USER Username for the database using mysql / mariadb. MYSQL_DATABASE Name of the database using mysql / mariadb. SQLITE_DATABASE Name of the database using sqlite. You must specify all of the environment variables for a given database or the database environment variables defaults to SQLITE. To enable auto configuration, set your database connection via the following environment variables. You can preconfigure everything that is asked on the install page on first run. The Nextcloud image supports auto configuration via environment variables. $ docker-compose exec -user www-data app php occ Auto configuration via environment variables /var/www/html/ folder where all Nextcloud data lives. To achieve this, you need one volume for your database container and one for Nextcloud. The Nextcloud installation and all data beyond what lives in the database (file uploads, etc.) are stored in the unnamed docker volume volume /var/That means your data is saved even if the container crashes, is stopped or deleted.Ī named Docker volume or a mounted host directory should be used for upgrades and backups. More info is in the docker-compose section. link my-mysql:mysql, and then use mysql as the database host on setup. You can also link a database container, e. Using an external databaseīy default, this container uses SQLite for data storage but the Nextcloud setup wizard (appears on first run) allows connecting to an existing MySQL/MariaDB or PostgreSQL database. You can find more information in the docker-compose section. This can be achieved with the volumes-from option. ), the webserver needs access to these files. As the fastCGI-Process is not capable of serving static files (style sheets, images.