Skip to content
Snippets Groups Projects
Select Git revision
  • b54ab8f6a3136717f72aaabd8649aa48e1a9b65c
  • master default protected
  • traefik-3
3 results

Readme.md

Blame
  • installNextcloud.env 1.16 KiB
    # Variables to configure the config.php file.
    
    # wget configuration
    NEXTCLOUD_DIRECTORY_SOURCES=/root/NextcloudSources/
    NEXTCLOUD_WGET_INPUT=nextcloudSource.txt
    NEXTCLOUD_VERSION="latest-12"
    NEXTCLOUD_PACKAGE="$NEXTCLOUD_VERSION.tar.bz2"
    
    # extract configuration
    NEXTCLOUD_INSTALL_DIR="/var/www/nextcloud/"
    NEXTCLOUD_CONFIG_trusted_domains="$(
    echo -n "'trusted_domains' =>"
    echo -n "array("
    echo -n "0 => 'localhost',"
    echo -n "1 => 'nextcloud.$DOMAIN',"
    echo -n "),"
    echo -n "'updater.release.channel' => 'production',"
    echo -n "'default_language' => 'fr',")"
    
    # Installer configuration nextcloud's OCC tools
    NEXTCLOUD_DATABASE="mysql"
    NEXTCLOUD_DATABASE_NAME="nextcloud"
    NEXTCLOUD_DATABASE_HOST="localhost"
    #NEXTCLOUD_DATABASE_PORT=""
    NEXTCLOUD_DATABASE_USER="nextcloud"
    #NEXTCLOUD_DATABASE_PASS=""
    NEXTCLOUD_DATABASE_TABLE_PREFIX="oc_"
    NEXTCLOUD_ADMIN_USER="admin"
    #NEXTCLOUD_ADMIN_PASS= # automatically generated by the installer or
    # specified if any required
    NEXTCLOUD_DATA_DIR="/home/nextcloud"
    
    # Apache configuration
    NEXTCLOUD_CONFIG_ServerAdmin=${NEXTCLOUD_CONFIG_ServerAdmin:-${SERVER_ADMIN}}
    NEXTCLOUD_CONFIG_ServerName=${NEXTCLOUD_CONFIG_ServerName:-nextcloud.${DOMAIN}}