Chad
1ef1903f6b
* Fix program for html websites, need to handle errors for non-local sites though. * Add message that the main program is starting since node-modules does not show anything. * Go ahead and give DB a bump. * Fix warning in DB log and NC not having enough power sometimes. * Fix errors in DB log. * This command uses the root account, not nextcloud. * Add example CRON file. * Specify that the host network should be used. * Specify that the host network should be used. * Recommend daily reset of the photos library. * Add another package the container is missing. * Add a backup script for the project directory. * Fix a typo. * Improve example file and add the backup job. * Add an example of pulling the backup file. * Give the zip a temporary filename while being built. * Always get the full path, relative path does not work well when not in `.`. * Remove extra newline. * Prevent doing large uploads on a micro Nextcloud instance. * Change how bz2 gets installed. * More trying to fix the annoying bz2 warning. * Remove "bad" package. * Use a temporary filename during transfer. * Bump CPUs up just a bit more for Nextcloud to avoid sync errors. * Be more explicit with instructions.
56 lines
1.8 KiB
Plaintext
56 lines
1.8 KiB
Plaintext
# Example environment file for Nextcloud stack, should be copied as `.env`. The
|
|
# variables here only apply to the compose file. If you need it passed to a
|
|
# container then it also needs specified in its `environment:` operator.
|
|
#
|
|
# ** All usernames and passwords need changed before running in production! **
|
|
#
|
|
# Full guide on the Nextcloud parameters which may be supplied:
|
|
# https://github.com/docker-library/docs/blob/master/nextcloud/README.md#auto-configuration-via-environment-variables
|
|
|
|
#
|
|
## Nextcloud ##
|
|
#
|
|
|
|
NEXTCLOUD_ADMIN_USER=nc_admin
|
|
NEXTCLOUD_ADMIN_PASSWORD=SuperDuperSecretPassword
|
|
|
|
PHP_MEMORY_LIMIT=512M
|
|
PHP_UPLOAD_LIMIT=32M
|
|
|
|
#
|
|
## MariaDB ##
|
|
#
|
|
# Should load automatically the first run. Then config.php is the source of
|
|
# truth for these values. So, if something like the DB password is changed,
|
|
# updating it here will have no effect. This is only used for the install.
|
|
|
|
MYSQL_HOST=nc-db
|
|
MYSQL_DATABASE=nextcloud
|
|
MYSQL_ROOT_PASSWORD=ChangeMe
|
|
MYSQL_USER=nc
|
|
MYSQL_PASSWORD=changeme
|
|
|
|
#
|
|
## Redis ##
|
|
#
|
|
# Installs automagically if both of these parameters are supplied.
|
|
|
|
REDIS_HOST=nc-redis
|
|
REDIS_HOST_PASSWORD=someredispassword
|
|
|
|
###
|
|
#### OnlyOffice ##
|
|
###
|
|
### How Nextcloud's ONLYOFFICE Admin Settings should be set up:
|
|
### OO Address: https://FQDN-For-Reverse-Proxied-OO-Server
|
|
### OO Secret: Contents-Of-$JWT_SECRET
|
|
### OO Header:
|
|
### OO Internal Address: http://docker-server-ip:8081 ?OR http://nc-oo:8081?
|
|
### NC Internal Address: http://docker-server-ip:8080 ?OR http://nc-app:8080?
|
|
###
|
|
### Documentation which references the variable(s) below, Nextcloud link does not cover them:
|
|
### https://helpcenter.onlyoffice.com/installation/docs-configure-jwt.aspx
|
|
##
|
|
### Secret key which is used above in the Nextcloud ONLYOFFICE Administration UI.
|
|
##JWT_SECRET=abc123
|