forked from theGeeBee/NextCloudOnFreeBSD
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinstall.conf.sample
43 lines (39 loc) · 2.19 KB
/
install.conf.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# All fields are required
# Common settings
#
EMAIL_USERNAME="nextcloud-admin" # Used for the `ServerAdmin` variable in Apache's httpd.conf
HOST_NAME="nextcloud.my.network" # Set to the same as the entry in your DNS server (See line 184 in install.sh)
IP_ADDRESS="IP_ADDRESS_VALUE"
SERVER_EMAIL="nextcloud-alert" # will have ${HOST_NAME} automatically appened, used to send out alerts from the server by `sendmail`
NEXTCLOUD_VERSION="28" # v27 tested
WWW_DIR="/usr/local/www" # NOTE: no trailing /
SSL_DIRECTORY="/usr/local/www/ssl" # NOTE: no trailing /, SSL_DIRECTORY="OFF" if you want to disable SSL (eg. using reverse proxy with SSL)
COUNTRY_CODE="IT" # Example: US/UK/CA/AU/DE, etc.
TIME_ZONE="Europe/Rome" # See: https://www.php.net/manual/en/timezones.php
# Do not modify the 2 variables below, they are populated by values above.
OPENSSL_REQUEST="/C=${COUNTRY_CODE}/CN=${HOST_NAME}" # This populates the `-subj` field of the `openssl` request
EMAIL_ADDRESS="${EMAIL_USERNAME}@${HOST_NAME}" # Used for the `ServerAdmin` variable in Apache's httpd.conf
#
# Nextcloud settings
#
ADMIN_USERNAME="admin" # Username for the Nextcloud Web UI
ADMIN_PASSWORD="$(openssl rand -base64 12)" # Password for the Nextcloud Web UI
DATA_DIRECTORY="/mnt/nextcloud_data" # Please use something like /path/to/zfs/dataset/ - and use the script to create a subdirectory for NC data
#
# More Nextcloud settings, defaults should be OK for most users
#
ENCRYPT_DATA=false # default is false, comes with a massive performance penalty
# set to true will use your hostname instead of IP address. Make sure your DNS server can resolve this hostname.
USE_HOSTNAME=false
# Install Recommended apps in Nextcloud (default: true)
INSTALL_APPS=true
# Enable external storage support, to access remote storage from within Nextcloud
EXTERNAL_STORAGE=true
#
# mySQL setttings (for Nextcloud)
#
DB_ROOT_PASSWORD="$(openssl rand -base64 16)"
DB_USERNAME="nextcloud"
DB_PASSWORD="$(openssl rand -base64 16)"
DB_NAME="nextcloud"