├── update-config.sh ├── docker-compose.yml ├── .travis.yml ├── config ├── services.php ├── broadcasting.php ├── cache.php ├── filesystems.php ├── database.php ├── mail.php ├── app.php └── session.php ├── 7.1 ├── fpm │ ├── config │ │ ├── services.php │ │ ├── broadcasting.php │ │ ├── cache.php │ │ ├── filesystems.php │ │ ├── database.php │ │ ├── mail.php │ │ ├── app.php │ │ └── session.php │ └── Dockerfile └── apache │ ├── config │ ├── services.php │ ├── broadcasting.php │ ├── cache.php │ ├── filesystems.php │ ├── database.php │ ├── mail.php │ ├── app.php │ └── session.php │ └── Dockerfile ├── 7.2 ├── fpm │ ├── config │ │ ├── services.php │ │ ├── broadcasting.php │ │ ├── cache.php │ │ ├── filesystems.php │ │ ├── database.php │ │ ├── mail.php │ │ ├── app.php │ │ └── session.php │ └── Dockerfile └── apache │ ├── config │ ├── services.php │ ├── broadcasting.php │ ├── cache.php │ ├── filesystems.php │ ├── database.php │ ├── mail.php │ ├── app.php │ └── session.php │ └── Dockerfile ├── 7.3 ├── fpm │ ├── config │ │ ├── services.php │ │ ├── broadcasting.php │ │ ├── cache.php │ │ ├── filesystems.php │ │ ├── database.php │ │ ├── mail.php │ │ ├── app.php │ │ └── session.php │ └── Dockerfile └── apache │ ├── config │ ├── services.php │ ├── broadcasting.php │ ├── cache.php │ ├── filesystems.php │ ├── database.php │ ├── mail.php │ ├── app.php │ └── session.php │ └── Dockerfile ├── update.sh └── Dockerfile.template /update-config.sh: -------------------------------------------------------------------------------- 1 | sed -i \ 2 | -e '/debug/s/=> .*/=> env("OCTOBER_APP_DEBUG", true)/' \ 3 | -e '/url/s/=> .*/=> env("OCTOBER_APP_URL", "http://localhost")/' \ 4 | -e '/timezone/s/=> .*/=> env("OCTOBER_APP_TIMEZONE", true)/' \ 5 | app.php -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '2' 2 | services: 3 | web: 4 | image: "dragontek/octobercms" 5 | ports: 6 | - "8080:80" 7 | depends_on: 8 | - mysql 9 | environment: 10 | - OCTOBER_PLUGINS=October.Drivers; 11 | - OCTOBER_DB_HOST=mysql 12 | - OCTOBER_DB_DRIVER=mysql 13 | - OCTOBER_DB_DATABASE=october_cms 14 | - OCTOBER_DB_PASSWORD=example 15 | volumes: 16 | - .:/var/www/html 17 | mysql: 18 | image: mysql 19 | environment: 20 | - MYSQL_DATABASE=october_cms 21 | - MYSQL_ROOT_PASSWORD=example 22 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: bash 2 | services: docker 3 | 4 | env: 5 | - VARIANT=php5.6/apache 6 | - VARIANT=php5.6/fpm 7 | - VARIANT=php7.0/apache 8 | - VARIANT=php7.0/fpm 9 | 10 | install: 11 | - git clone https://github.com/docker-library/official-images.git ~/official-images 12 | 13 | before_script: 14 | - env | sort 15 | - cd "$VARIANT" 16 | - slash='/'; image="october:${VARIANT//$slash/-}" 17 | 18 | script: 19 | - docker build -t "$image" . 20 | - ~/official-images/test/run.sh "$image" 21 | 22 | after_script: 23 | - docker images 24 | 25 | # vim:set et ts=2 sw=2: 26 | -------------------------------------------------------------------------------- /config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => getenv('OCTOBER_SERVICES_MAILGUN_DOMAIN') ?: '', 19 | 'secret' => getenv('OCTOBER_SERVICES_MAILGUN_SECRET') ?: '', 20 | ], 21 | 22 | 'mandrill' => [ 23 | 'secret' => getenv('OCTOBER_SERVICES_MANDRILL_SECRET') ?: '', 24 | ], 25 | 26 | 'ses' => [ 27 | 'key' => getenv('OCTOBER_SERVICES_SES_KEY') ?: '', 28 | 'secret' => getenv('OCTOBER_SERVICES_SES_SECRET') ?: '', 29 | 'region' => getenv('OCTOBER_SERVICES_SES_REGION') ?: 'us-east-1', 30 | ], 31 | 32 | 'stripe' => [ 33 | 'model' => getenv('OCTOBER_SERVICES_STRIPE_MODEL') ?: 'User', 34 | 'secret' => getenv('OCTOBER_SERVICES_STRIPE_SECRET') ?: '', 35 | ], 36 | 37 | ]; 38 | -------------------------------------------------------------------------------- /7.1/fpm/config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => getenv('OCTOBER_SERVICES_MAILGUN_DOMAIN') ?: '', 19 | 'secret' => getenv('OCTOBER_SERVICES_MAILGUN_SECRET') ?: '', 20 | ], 21 | 22 | 'mandrill' => [ 23 | 'secret' => getenv('OCTOBER_SERVICES_MANDRILL_SECRET') ?: '', 24 | ], 25 | 26 | 'ses' => [ 27 | 'key' => getenv('OCTOBER_SERVICES_SES_KEY') ?: '', 28 | 'secret' => getenv('OCTOBER_SERVICES_SES_SECRET') ?: '', 29 | 'region' => getenv('OCTOBER_SERVICES_SES_REGION') ?: 'us-east-1', 30 | ], 31 | 32 | 'stripe' => [ 33 | 'model' => getenv('OCTOBER_SERVICES_STRIPE_MODEL') ?: 'User', 34 | 'secret' => getenv('OCTOBER_SERVICES_STRIPE_SECRET') ?: '', 35 | ], 36 | 37 | ]; 38 | -------------------------------------------------------------------------------- /7.2/fpm/config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => getenv('OCTOBER_SERVICES_MAILGUN_DOMAIN') ?: '', 19 | 'secret' => getenv('OCTOBER_SERVICES_MAILGUN_SECRET') ?: '', 20 | ], 21 | 22 | 'mandrill' => [ 23 | 'secret' => getenv('OCTOBER_SERVICES_MANDRILL_SECRET') ?: '', 24 | ], 25 | 26 | 'ses' => [ 27 | 'key' => getenv('OCTOBER_SERVICES_SES_KEY') ?: '', 28 | 'secret' => getenv('OCTOBER_SERVICES_SES_SECRET') ?: '', 29 | 'region' => getenv('OCTOBER_SERVICES_SES_REGION') ?: 'us-east-1', 30 | ], 31 | 32 | 'stripe' => [ 33 | 'model' => getenv('OCTOBER_SERVICES_STRIPE_MODEL') ?: 'User', 34 | 'secret' => getenv('OCTOBER_SERVICES_STRIPE_SECRET') ?: '', 35 | ], 36 | 37 | ]; 38 | -------------------------------------------------------------------------------- /7.3/fpm/config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => getenv('OCTOBER_SERVICES_MAILGUN_DOMAIN') ?: '', 19 | 'secret' => getenv('OCTOBER_SERVICES_MAILGUN_SECRET') ?: '', 20 | ], 21 | 22 | 'mandrill' => [ 23 | 'secret' => getenv('OCTOBER_SERVICES_MANDRILL_SECRET') ?: '', 24 | ], 25 | 26 | 'ses' => [ 27 | 'key' => getenv('OCTOBER_SERVICES_SES_KEY') ?: '', 28 | 'secret' => getenv('OCTOBER_SERVICES_SES_SECRET') ?: '', 29 | 'region' => getenv('OCTOBER_SERVICES_SES_REGION') ?: 'us-east-1', 30 | ], 31 | 32 | 'stripe' => [ 33 | 'model' => getenv('OCTOBER_SERVICES_STRIPE_MODEL') ?: 'User', 34 | 'secret' => getenv('OCTOBER_SERVICES_STRIPE_SECRET') ?: '', 35 | ], 36 | 37 | ]; 38 | -------------------------------------------------------------------------------- /7.1/apache/config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => getenv('OCTOBER_SERVICES_MAILGUN_DOMAIN') ?: '', 19 | 'secret' => getenv('OCTOBER_SERVICES_MAILGUN_SECRET') ?: '', 20 | ], 21 | 22 | 'mandrill' => [ 23 | 'secret' => getenv('OCTOBER_SERVICES_MANDRILL_SECRET') ?: '', 24 | ], 25 | 26 | 'ses' => [ 27 | 'key' => getenv('OCTOBER_SERVICES_SES_KEY') ?: '', 28 | 'secret' => getenv('OCTOBER_SERVICES_SES_SECRET') ?: '', 29 | 'region' => getenv('OCTOBER_SERVICES_SES_REGION') ?: 'us-east-1', 30 | ], 31 | 32 | 'stripe' => [ 33 | 'model' => getenv('OCTOBER_SERVICES_STRIPE_MODEL') ?: 'User', 34 | 'secret' => getenv('OCTOBER_SERVICES_STRIPE_SECRET') ?: '', 35 | ], 36 | 37 | ]; 38 | -------------------------------------------------------------------------------- /7.2/apache/config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => getenv('OCTOBER_SERVICES_MAILGUN_DOMAIN') ?: '', 19 | 'secret' => getenv('OCTOBER_SERVICES_MAILGUN_SECRET') ?: '', 20 | ], 21 | 22 | 'mandrill' => [ 23 | 'secret' => getenv('OCTOBER_SERVICES_MANDRILL_SECRET') ?: '', 24 | ], 25 | 26 | 'ses' => [ 27 | 'key' => getenv('OCTOBER_SERVICES_SES_KEY') ?: '', 28 | 'secret' => getenv('OCTOBER_SERVICES_SES_SECRET') ?: '', 29 | 'region' => getenv('OCTOBER_SERVICES_SES_REGION') ?: 'us-east-1', 30 | ], 31 | 32 | 'stripe' => [ 33 | 'model' => getenv('OCTOBER_SERVICES_STRIPE_MODEL') ?: 'User', 34 | 'secret' => getenv('OCTOBER_SERVICES_STRIPE_SECRET') ?: '', 35 | ], 36 | 37 | ]; 38 | -------------------------------------------------------------------------------- /7.3/apache/config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => getenv('OCTOBER_SERVICES_MAILGUN_DOMAIN') ?: '', 19 | 'secret' => getenv('OCTOBER_SERVICES_MAILGUN_SECRET') ?: '', 20 | ], 21 | 22 | 'mandrill' => [ 23 | 'secret' => getenv('OCTOBER_SERVICES_MANDRILL_SECRET') ?: '', 24 | ], 25 | 26 | 'ses' => [ 27 | 'key' => getenv('OCTOBER_SERVICES_SES_KEY') ?: '', 28 | 'secret' => getenv('OCTOBER_SERVICES_SES_SECRET') ?: '', 29 | 'region' => getenv('OCTOBER_SERVICES_SES_REGION') ?: 'us-east-1', 30 | ], 31 | 32 | 'stripe' => [ 33 | 'model' => getenv('OCTOBER_SERVICES_STRIPE_MODEL') ?: 'User', 34 | 'secret' => getenv('OCTOBER_SERVICES_STRIPE_SECRET') ?: '', 35 | ], 36 | 37 | ]; 38 | -------------------------------------------------------------------------------- /update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -euo pipefail 3 | 4 | cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" 5 | 6 | phpVersions=( "$@" ) 7 | if [ ${#phpVersions[@]} -eq 0 ]; then 8 | phpVersions=( php*.*/ ) 9 | fi 10 | phpVersions=( "${phpVersions[@]%/}" ) 11 | 12 | declare -A variantExtras=( 13 | [apache]='\nRUN a2enmod rewrite expires\n' 14 | [fpm]='' 15 | ) 16 | declare -A variantCmds=( 17 | [apache]='apache2-foreground' 18 | [fpm]='php-fpm' 19 | ) 20 | 21 | travisEnv= 22 | for phpVersion in "${phpVersions[@]}"; do 23 | phpVersionDir="$phpVersion" 24 | phpVersion="${phpVersion#php}" 25 | 26 | for variant in apache fpm; do 27 | dir="$phpVersionDir/$variant" 28 | mkdir -p "$dir" 29 | 30 | extras="${variantExtras[$variant]}" 31 | cmd="${variantCmds[$variant]}" 32 | 33 | ( 34 | set -x 35 | 36 | sed -r \ 37 | -e 's!%%PHP_VERSION%%!'"$phpVersion"'!g' \ 38 | -e 's!%%VARIANT%%!'"$variant"'!g' \ 39 | -e 's!%%VARIANT_EXTRAS%%!'"$extras"'!g' \ 40 | -e 's!%%CMD%%!'"$cmd"'!g' \ 41 | Dockerfile.template > "$dir/Dockerfile" 42 | 43 | cp -rf docker-entrypoint.sh "$dir/docker-entrypoint.sh" 44 | cp -R config "$dir/" 45 | ) 46 | 47 | travisEnv+='\n - VARIANT='"$dir" 48 | 49 | done 50 | done 51 | 52 | travis="$(awk -v 'RS=\n\n' '$1 == "env:" { $0 = "env:'"$travisEnv"'" } { printf "%s%s", $0, RS }' .travis.yml)" 53 | echo "$travis" > .travis.yml 54 | -------------------------------------------------------------------------------- /config/broadcasting.php: -------------------------------------------------------------------------------- 1 | 'pusher', 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Broadcast Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the broadcast connections that will be used 24 | | to broadcast events to other systems or over websockets. Samples of 25 | | each available type of connection are provided inside this array. 26 | | 27 | */ 28 | 29 | 'connections' => [ 30 | 31 | 'pusher' => [ 32 | 'driver' => 'pusher', 33 | 'key' => '', 34 | 'secret' => '', 35 | 'app_id' => '', 36 | 'options' => [ 37 | // 38 | ], 39 | ], 40 | 41 | 'redis' => [ 42 | 'driver' => 'redis', 43 | 'connection' => 'default', 44 | ], 45 | 46 | 'log' => [ 47 | 'driver' => 'log', 48 | ], 49 | 50 | ], 51 | 52 | ]; -------------------------------------------------------------------------------- /7.1/apache/config/broadcasting.php: -------------------------------------------------------------------------------- 1 | 'pusher', 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Broadcast Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the broadcast connections that will be used 24 | | to broadcast events to other systems or over websockets. Samples of 25 | | each available type of connection are provided inside this array. 26 | | 27 | */ 28 | 29 | 'connections' => [ 30 | 31 | 'pusher' => [ 32 | 'driver' => 'pusher', 33 | 'key' => '', 34 | 'secret' => '', 35 | 'app_id' => '', 36 | 'options' => [ 37 | // 38 | ], 39 | ], 40 | 41 | 'redis' => [ 42 | 'driver' => 'redis', 43 | 'connection' => 'default', 44 | ], 45 | 46 | 'log' => [ 47 | 'driver' => 'log', 48 | ], 49 | 50 | ], 51 | 52 | ]; -------------------------------------------------------------------------------- /7.1/fpm/config/broadcasting.php: -------------------------------------------------------------------------------- 1 | 'pusher', 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Broadcast Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the broadcast connections that will be used 24 | | to broadcast events to other systems or over websockets. Samples of 25 | | each available type of connection are provided inside this array. 26 | | 27 | */ 28 | 29 | 'connections' => [ 30 | 31 | 'pusher' => [ 32 | 'driver' => 'pusher', 33 | 'key' => '', 34 | 'secret' => '', 35 | 'app_id' => '', 36 | 'options' => [ 37 | // 38 | ], 39 | ], 40 | 41 | 'redis' => [ 42 | 'driver' => 'redis', 43 | 'connection' => 'default', 44 | ], 45 | 46 | 'log' => [ 47 | 'driver' => 'log', 48 | ], 49 | 50 | ], 51 | 52 | ]; -------------------------------------------------------------------------------- /7.2/apache/config/broadcasting.php: -------------------------------------------------------------------------------- 1 | 'pusher', 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Broadcast Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the broadcast connections that will be used 24 | | to broadcast events to other systems or over websockets. Samples of 25 | | each available type of connection are provided inside this array. 26 | | 27 | */ 28 | 29 | 'connections' => [ 30 | 31 | 'pusher' => [ 32 | 'driver' => 'pusher', 33 | 'key' => '', 34 | 'secret' => '', 35 | 'app_id' => '', 36 | 'options' => [ 37 | // 38 | ], 39 | ], 40 | 41 | 'redis' => [ 42 | 'driver' => 'redis', 43 | 'connection' => 'default', 44 | ], 45 | 46 | 'log' => [ 47 | 'driver' => 'log', 48 | ], 49 | 50 | ], 51 | 52 | ]; -------------------------------------------------------------------------------- /7.2/fpm/config/broadcasting.php: -------------------------------------------------------------------------------- 1 | 'pusher', 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Broadcast Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the broadcast connections that will be used 24 | | to broadcast events to other systems or over websockets. Samples of 25 | | each available type of connection are provided inside this array. 26 | | 27 | */ 28 | 29 | 'connections' => [ 30 | 31 | 'pusher' => [ 32 | 'driver' => 'pusher', 33 | 'key' => '', 34 | 'secret' => '', 35 | 'app_id' => '', 36 | 'options' => [ 37 | // 38 | ], 39 | ], 40 | 41 | 'redis' => [ 42 | 'driver' => 'redis', 43 | 'connection' => 'default', 44 | ], 45 | 46 | 'log' => [ 47 | 'driver' => 'log', 48 | ], 49 | 50 | ], 51 | 52 | ]; -------------------------------------------------------------------------------- /7.3/apache/config/broadcasting.php: -------------------------------------------------------------------------------- 1 | 'pusher', 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Broadcast Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the broadcast connections that will be used 24 | | to broadcast events to other systems or over websockets. Samples of 25 | | each available type of connection are provided inside this array. 26 | | 27 | */ 28 | 29 | 'connections' => [ 30 | 31 | 'pusher' => [ 32 | 'driver' => 'pusher', 33 | 'key' => '', 34 | 'secret' => '', 35 | 'app_id' => '', 36 | 'options' => [ 37 | // 38 | ], 39 | ], 40 | 41 | 'redis' => [ 42 | 'driver' => 'redis', 43 | 'connection' => 'default', 44 | ], 45 | 46 | 'log' => [ 47 | 'driver' => 'log', 48 | ], 49 | 50 | ], 51 | 52 | ]; -------------------------------------------------------------------------------- /7.3/fpm/config/broadcasting.php: -------------------------------------------------------------------------------- 1 | 'pusher', 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Broadcast Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the broadcast connections that will be used 24 | | to broadcast events to other systems or over websockets. Samples of 25 | | each available type of connection are provided inside this array. 26 | | 27 | */ 28 | 29 | 'connections' => [ 30 | 31 | 'pusher' => [ 32 | 'driver' => 'pusher', 33 | 'key' => '', 34 | 'secret' => '', 35 | 'app_id' => '', 36 | 'options' => [ 37 | // 38 | ], 39 | ], 40 | 41 | 'redis' => [ 42 | 'driver' => 'redis', 43 | 'connection' => 'default', 44 | ], 45 | 46 | 'log' => [ 47 | 'driver' => 'log', 48 | ], 49 | 50 | ], 51 | 52 | ]; -------------------------------------------------------------------------------- /7.1/fpm/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.1-fpm 2 | 3 | # install the PHP extensions we need 4 | RUN apt-get update && apt-get install -y vim git-core libsqlite3-dev libpq-dev libmcrypt-dev libpng-dev libjpeg-dev libz-dev libmemcached-dev libphp-predis && rm -rf /var/lib/apt/lists/* \ 5 | && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ 6 | && docker-php-ext-install gd mysqli zip mbstring pdo pdo_mysql pdo_sqlite pdo_pgsql json \ 7 | && pecl install memcached redis xdebug \ 8 | && docker-php-ext-enable memcached redis xdebug 9 | 10 | # set recommended PHP.ini settings 11 | # see https://secure.php.net/manual/en/opcache.installation.php 12 | RUN { \ 13 | echo 'opcache.memory_consumption=128'; \ 14 | echo 'opcache.interned_strings_buffer=8'; \ 15 | echo 'opcache.max_accelerated_files=4000'; \ 16 | echo 'opcache.revalidate_freq=60'; \ 17 | echo 'opcache.fast_shutdown=1'; \ 18 | echo 'opcache.enable_cli=1'; \ 19 | } > /usr/local/etc/php/conf.d/opcache-recommended.ini 20 | 21 | VOLUME /var/www/html 22 | 23 | RUN curl -sS https://getcomposer.org/installer | php \ 24 | && mv composer.phar /usr/local/bin/composer 25 | 26 | RUN cd /usr/src \ 27 | && git clone https://github.com/octobercms/october.git \ 28 | && cd october \ 29 | && composer install --no-interaction --prefer-dist 30 | 31 | # TODO: Use sed to set configuration settings 32 | COPY config/*.php /usr/src/october/config/ 33 | 34 | RUN chown -R "www-data:www-data" /usr/src/october 35 | 36 | COPY docker-entrypoint.sh /usr/local/bin/ 37 | RUN ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat 38 | 39 | #USER october 40 | 41 | # ENTRYPOINT resets CMD 42 | ENTRYPOINT ["docker-entrypoint.sh"] 43 | CMD ["php-fpm"] 44 | -------------------------------------------------------------------------------- /7.2/fpm/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-fpm 2 | 3 | # install the PHP extensions we need 4 | RUN apt-get update && apt-get install -y vim git-core libsqlite3-dev libpq-dev libmcrypt-dev libpng-dev libjpeg-dev libz-dev libmemcached-dev libphp-predis && rm -rf /var/lib/apt/lists/* \ 5 | && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ 6 | && docker-php-ext-install gd mysqli zip mbstring pdo pdo_mysql pdo_sqlite pdo_pgsql json \ 7 | && pecl install memcached redis xdebug \ 8 | && docker-php-ext-enable memcached redis xdebug 9 | 10 | # set recommended PHP.ini settings 11 | # see https://secure.php.net/manual/en/opcache.installation.php 12 | RUN { \ 13 | echo 'opcache.memory_consumption=128'; \ 14 | echo 'opcache.interned_strings_buffer=8'; \ 15 | echo 'opcache.max_accelerated_files=4000'; \ 16 | echo 'opcache.revalidate_freq=60'; \ 17 | echo 'opcache.fast_shutdown=1'; \ 18 | echo 'opcache.enable_cli=1'; \ 19 | } > /usr/local/etc/php/conf.d/opcache-recommended.ini 20 | 21 | VOLUME /var/www/html 22 | 23 | RUN curl -sS https://getcomposer.org/installer | php \ 24 | && mv composer.phar /usr/local/bin/composer 25 | 26 | RUN cd /usr/src \ 27 | && git clone https://github.com/octobercms/october.git \ 28 | && cd october \ 29 | && composer install --no-interaction --prefer-dist 30 | 31 | # TODO: Use sed to set configuration settings 32 | COPY config/*.php /usr/src/october/config/ 33 | 34 | RUN chown -R "www-data:www-data" /usr/src/october 35 | 36 | COPY docker-entrypoint.sh /usr/local/bin/ 37 | RUN ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat 38 | 39 | #USER october 40 | 41 | # ENTRYPOINT resets CMD 42 | ENTRYPOINT ["docker-entrypoint.sh"] 43 | CMD ["php-fpm"] 44 | -------------------------------------------------------------------------------- /7.3/fpm/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.3-fpm 2 | 3 | # install the PHP extensions we need 4 | RUN apt-get update && apt-get install -y vim git-core libsqlite3-dev libpq-dev libmcrypt-dev libpng-dev libjpeg-dev libz-dev libmemcached-dev libphp-predis && rm -rf /var/lib/apt/lists/* \ 5 | && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ 6 | && docker-php-ext-install gd mysqli zip mbstring pdo pdo_mysql pdo_sqlite pdo_pgsql json \ 7 | && pecl install memcached redis xdebug \ 8 | && docker-php-ext-enable memcached redis xdebug 9 | 10 | # set recommended PHP.ini settings 11 | # see https://secure.php.net/manual/en/opcache.installation.php 12 | RUN { \ 13 | echo 'opcache.memory_consumption=128'; \ 14 | echo 'opcache.interned_strings_buffer=8'; \ 15 | echo 'opcache.max_accelerated_files=4000'; \ 16 | echo 'opcache.revalidate_freq=60'; \ 17 | echo 'opcache.fast_shutdown=1'; \ 18 | echo 'opcache.enable_cli=1'; \ 19 | } > /usr/local/etc/php/conf.d/opcache-recommended.ini 20 | 21 | VOLUME /var/www/html 22 | 23 | RUN curl -sS https://getcomposer.org/installer | php \ 24 | && mv composer.phar /usr/local/bin/composer 25 | 26 | RUN cd /usr/src \ 27 | && git clone https://github.com/octobercms/october.git \ 28 | && cd october \ 29 | && composer install --no-interaction --prefer-dist 30 | 31 | # TODO: Use sed to set configuration settings 32 | COPY config/*.php /usr/src/october/config/ 33 | 34 | RUN chown -R "www-data:www-data" /usr/src/october 35 | 36 | COPY docker-entrypoint.sh /usr/local/bin/ 37 | RUN ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat 38 | 39 | #USER october 40 | 41 | # ENTRYPOINT resets CMD 42 | ENTRYPOINT ["docker-entrypoint.sh"] 43 | CMD ["php-fpm"] 44 | -------------------------------------------------------------------------------- /Dockerfile.template: -------------------------------------------------------------------------------- 1 | FROM php:%%PHP_VERSION%%-%%VARIANT%% 2 | 3 | # install the PHP extensions we need 4 | RUN apt-get update && apt-get install -y vim git-core libsqlite3-dev libpq-dev libmcrypt-dev libpng-dev libjpeg-dev libz-dev libmemcached-dev libphp-predis && rm -rf /var/lib/apt/lists/* \ 5 | && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ 6 | && docker-php-ext-install gd mysqli zip mbstring pdo pdo_mysql pdo_sqlite pdo_pgsql json \ 7 | && pecl install memcached redis xdebug \ 8 | && docker-php-ext-enable memcached redis xdebug 9 | 10 | # set recommended PHP.ini settings 11 | # see https://secure.php.net/manual/en/opcache.installation.php 12 | RUN { \ 13 | echo 'opcache.memory_consumption=128'; \ 14 | echo 'opcache.interned_strings_buffer=8'; \ 15 | echo 'opcache.max_accelerated_files=4000'; \ 16 | echo 'opcache.revalidate_freq=60'; \ 17 | echo 'opcache.fast_shutdown=1'; \ 18 | echo 'opcache.enable_cli=1'; \ 19 | } > /usr/local/etc/php/conf.d/opcache-recommended.ini 20 | %%VARIANT_EXTRAS%% 21 | VOLUME /var/www/html 22 | 23 | RUN curl -sS https://getcomposer.org/installer | php \ 24 | && mv composer.phar /usr/local/bin/composer 25 | 26 | RUN cd /usr/src \ 27 | && git clone https://github.com/octobercms/october.git \ 28 | && cd october \ 29 | && composer install --no-interaction --prefer-dist 30 | 31 | # TODO: Use sed to set configuration settings 32 | COPY config/*.php /usr/src/october/config/ 33 | 34 | RUN chown -R "www-data:www-data" /usr/src/october 35 | 36 | COPY docker-entrypoint.sh /usr/local/bin/ 37 | RUN ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat 38 | 39 | #USER october 40 | 41 | # ENTRYPOINT resets CMD 42 | ENTRYPOINT ["docker-entrypoint.sh"] 43 | CMD ["%%CMD%%"] 44 | -------------------------------------------------------------------------------- /7.1/apache/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.1-apache 2 | 3 | # install the PHP extensions we need 4 | RUN apt-get update && apt-get install -y vim git-core libsqlite3-dev libpq-dev libmcrypt-dev libpng-dev libjpeg-dev libz-dev libmemcached-dev libphp-predis && rm -rf /var/lib/apt/lists/* \ 5 | && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ 6 | && docker-php-ext-install gd mysqli zip mbstring pdo pdo_mysql pdo_sqlite pdo_pgsql json \ 7 | && pecl install memcached redis xdebug \ 8 | && docker-php-ext-enable memcached redis xdebug 9 | 10 | # set recommended PHP.ini settings 11 | # see https://secure.php.net/manual/en/opcache.installation.php 12 | RUN { \ 13 | echo 'opcache.memory_consumption=128'; \ 14 | echo 'opcache.interned_strings_buffer=8'; \ 15 | echo 'opcache.max_accelerated_files=4000'; \ 16 | echo 'opcache.revalidate_freq=60'; \ 17 | echo 'opcache.fast_shutdown=1'; \ 18 | echo 'opcache.enable_cli=1'; \ 19 | } > /usr/local/etc/php/conf.d/opcache-recommended.ini 20 | 21 | RUN a2enmod rewrite expires 22 | 23 | VOLUME /var/www/html 24 | 25 | RUN curl -sS https://getcomposer.org/installer | php \ 26 | && mv composer.phar /usr/local/bin/composer 27 | 28 | RUN cd /usr/src \ 29 | && git clone https://github.com/octobercms/october.git \ 30 | && cd october \ 31 | && composer install --no-interaction --prefer-dist 32 | 33 | # TODO: Use sed to set configuration settings 34 | COPY config/*.php /usr/src/october/config/ 35 | 36 | RUN chown -R "www-data:www-data" /usr/src/october 37 | 38 | COPY docker-entrypoint.sh /usr/local/bin/ 39 | RUN ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat 40 | 41 | #USER october 42 | 43 | # ENTRYPOINT resets CMD 44 | ENTRYPOINT ["docker-entrypoint.sh"] 45 | CMD ["apache2-foreground"] 46 | -------------------------------------------------------------------------------- /7.2/apache/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.2-apache 2 | 3 | # install the PHP extensions we need 4 | RUN apt-get update && apt-get install -y vim git-core libsqlite3-dev libpq-dev libmcrypt-dev libpng-dev libjpeg-dev libz-dev libmemcached-dev libphp-predis && rm -rf /var/lib/apt/lists/* \ 5 | && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ 6 | && docker-php-ext-install gd mysqli zip mbstring pdo pdo_mysql pdo_sqlite pdo_pgsql json \ 7 | && pecl install memcached redis xdebug \ 8 | && docker-php-ext-enable memcached redis xdebug 9 | 10 | # set recommended PHP.ini settings 11 | # see https://secure.php.net/manual/en/opcache.installation.php 12 | RUN { \ 13 | echo 'opcache.memory_consumption=128'; \ 14 | echo 'opcache.interned_strings_buffer=8'; \ 15 | echo 'opcache.max_accelerated_files=4000'; \ 16 | echo 'opcache.revalidate_freq=60'; \ 17 | echo 'opcache.fast_shutdown=1'; \ 18 | echo 'opcache.enable_cli=1'; \ 19 | } > /usr/local/etc/php/conf.d/opcache-recommended.ini 20 | 21 | RUN a2enmod rewrite expires 22 | 23 | VOLUME /var/www/html 24 | 25 | RUN curl -sS https://getcomposer.org/installer | php \ 26 | && mv composer.phar /usr/local/bin/composer 27 | 28 | RUN cd /usr/src \ 29 | && git clone https://github.com/octobercms/october.git \ 30 | && cd october \ 31 | && composer install --no-interaction --prefer-dist 32 | 33 | # TODO: Use sed to set configuration settings 34 | COPY config/*.php /usr/src/october/config/ 35 | 36 | RUN chown -R "www-data:www-data" /usr/src/october 37 | 38 | COPY docker-entrypoint.sh /usr/local/bin/ 39 | RUN ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat 40 | 41 | #USER october 42 | 43 | # ENTRYPOINT resets CMD 44 | ENTRYPOINT ["docker-entrypoint.sh"] 45 | CMD ["apache2-foreground"] 46 | -------------------------------------------------------------------------------- /7.3/apache/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM php:7.3-apache 2 | 3 | # install the PHP extensions we need 4 | RUN apt-get update && apt-get install -y vim git-core libsqlite3-dev libpq-dev libmcrypt-dev libpng-dev libjpeg-dev libz-dev libmemcached-dev libphp-predis && rm -rf /var/lib/apt/lists/* \ 5 | && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ 6 | && docker-php-ext-install gd mysqli zip mbstring pdo pdo_mysql pdo_sqlite pdo_pgsql json \ 7 | && pecl install memcached redis xdebug \ 8 | && docker-php-ext-enable memcached redis xdebug 9 | 10 | # set recommended PHP.ini settings 11 | # see https://secure.php.net/manual/en/opcache.installation.php 12 | RUN { \ 13 | echo 'opcache.memory_consumption=128'; \ 14 | echo 'opcache.interned_strings_buffer=8'; \ 15 | echo 'opcache.max_accelerated_files=4000'; \ 16 | echo 'opcache.revalidate_freq=60'; \ 17 | echo 'opcache.fast_shutdown=1'; \ 18 | echo 'opcache.enable_cli=1'; \ 19 | } > /usr/local/etc/php/conf.d/opcache-recommended.ini 20 | 21 | RUN a2enmod rewrite expires 22 | 23 | VOLUME /var/www/html 24 | 25 | RUN curl -sS https://getcomposer.org/installer | php \ 26 | && mv composer.phar /usr/local/bin/composer 27 | 28 | RUN cd /usr/src \ 29 | && git clone https://github.com/octobercms/october.git \ 30 | && cd october \ 31 | && composer install --no-interaction --prefer-dist 32 | 33 | # TODO: Use sed to set configuration settings 34 | COPY config/*.php /usr/src/october/config/ 35 | 36 | RUN chown -R "www-data:www-data" /usr/src/october 37 | 38 | COPY docker-entrypoint.sh /usr/local/bin/ 39 | RUN ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat 40 | 41 | #USER october 42 | 43 | # ENTRYPOINT resets CMD 44 | ENTRYPOINT ["docker-entrypoint.sh"] 45 | CMD ["apache2-foreground"] 46 | -------------------------------------------------------------------------------- /config/cache.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_CACHE_DEFAULT', 'file'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Cache Stores 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the cache "stores" for your application as 24 | | well as their drivers. You may even define multiple stores for the 25 | | same cache driver to group types of items stored in your caches. 26 | | 27 | */ 28 | 29 | 'stores' => [ 30 | 31 | 'apc' => [ 32 | 'driver' => 'apc' 33 | ], 34 | 35 | 'array' => [ 36 | 'driver' => 'array' 37 | ], 38 | 39 | 'database' => [ 40 | 'driver' => 'database', 41 | 'table' => 'cache', 42 | 'connection' => null, 43 | ], 44 | 45 | 'file' => [ 46 | 'driver' => 'file', 47 | 'path' => storage_path().'/framework/cache', 48 | ], 49 | 50 | 'memcached' => [ 51 | 'driver' => 'memcached', 52 | 'servers' => [ 53 | [ 54 | 'host' => 'memcached', 'port' => 11211, 'weight' => 100 55 | ], 56 | ], 57 | ], 58 | 59 | 'redis' => [ 60 | 'driver' => 'redis', 61 | 'connection' => 'default', 62 | ], 63 | 64 | ], 65 | 66 | /* 67 | |-------------------------------------------------------------------------- 68 | | Cache Key Prefix 69 | |-------------------------------------------------------------------------- 70 | | 71 | | When utilizing a RAM based store such as APC or Memcached, there might 72 | | be other applications utilizing the same cache. So, we'll specify a 73 | | value to get prefixed to all our keys so we can avoid collisions. 74 | | 75 | */ 76 | 77 | 'prefix' => 'october', 78 | 79 | ]; 80 | -------------------------------------------------------------------------------- /7.1/apache/config/cache.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_CACHE_DEFAULT', 'file'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Cache Stores 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the cache "stores" for your application as 24 | | well as their drivers. You may even define multiple stores for the 25 | | same cache driver to group types of items stored in your caches. 26 | | 27 | */ 28 | 29 | 'stores' => [ 30 | 31 | 'apc' => [ 32 | 'driver' => 'apc' 33 | ], 34 | 35 | 'array' => [ 36 | 'driver' => 'array' 37 | ], 38 | 39 | 'database' => [ 40 | 'driver' => 'database', 41 | 'table' => 'cache', 42 | 'connection' => null, 43 | ], 44 | 45 | 'file' => [ 46 | 'driver' => 'file', 47 | 'path' => storage_path().'/framework/cache', 48 | ], 49 | 50 | 'memcached' => [ 51 | 'driver' => 'memcached', 52 | 'servers' => [ 53 | [ 54 | 'host' => 'memcached', 'port' => 11211, 'weight' => 100 55 | ], 56 | ], 57 | ], 58 | 59 | 'redis' => [ 60 | 'driver' => 'redis', 61 | 'connection' => 'default', 62 | ], 63 | 64 | ], 65 | 66 | /* 67 | |-------------------------------------------------------------------------- 68 | | Cache Key Prefix 69 | |-------------------------------------------------------------------------- 70 | | 71 | | When utilizing a RAM based store such as APC or Memcached, there might 72 | | be other applications utilizing the same cache. So, we'll specify a 73 | | value to get prefixed to all our keys so we can avoid collisions. 74 | | 75 | */ 76 | 77 | 'prefix' => 'october', 78 | 79 | ]; 80 | -------------------------------------------------------------------------------- /7.1/fpm/config/cache.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_CACHE_DEFAULT', 'file'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Cache Stores 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the cache "stores" for your application as 24 | | well as their drivers. You may even define multiple stores for the 25 | | same cache driver to group types of items stored in your caches. 26 | | 27 | */ 28 | 29 | 'stores' => [ 30 | 31 | 'apc' => [ 32 | 'driver' => 'apc' 33 | ], 34 | 35 | 'array' => [ 36 | 'driver' => 'array' 37 | ], 38 | 39 | 'database' => [ 40 | 'driver' => 'database', 41 | 'table' => 'cache', 42 | 'connection' => null, 43 | ], 44 | 45 | 'file' => [ 46 | 'driver' => 'file', 47 | 'path' => storage_path().'/framework/cache', 48 | ], 49 | 50 | 'memcached' => [ 51 | 'driver' => 'memcached', 52 | 'servers' => [ 53 | [ 54 | 'host' => 'memcached', 'port' => 11211, 'weight' => 100 55 | ], 56 | ], 57 | ], 58 | 59 | 'redis' => [ 60 | 'driver' => 'redis', 61 | 'connection' => 'default', 62 | ], 63 | 64 | ], 65 | 66 | /* 67 | |-------------------------------------------------------------------------- 68 | | Cache Key Prefix 69 | |-------------------------------------------------------------------------- 70 | | 71 | | When utilizing a RAM based store such as APC or Memcached, there might 72 | | be other applications utilizing the same cache. So, we'll specify a 73 | | value to get prefixed to all our keys so we can avoid collisions. 74 | | 75 | */ 76 | 77 | 'prefix' => 'october', 78 | 79 | ]; 80 | -------------------------------------------------------------------------------- /7.2/apache/config/cache.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_CACHE_DEFAULT', 'file'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Cache Stores 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the cache "stores" for your application as 24 | | well as their drivers. You may even define multiple stores for the 25 | | same cache driver to group types of items stored in your caches. 26 | | 27 | */ 28 | 29 | 'stores' => [ 30 | 31 | 'apc' => [ 32 | 'driver' => 'apc' 33 | ], 34 | 35 | 'array' => [ 36 | 'driver' => 'array' 37 | ], 38 | 39 | 'database' => [ 40 | 'driver' => 'database', 41 | 'table' => 'cache', 42 | 'connection' => null, 43 | ], 44 | 45 | 'file' => [ 46 | 'driver' => 'file', 47 | 'path' => storage_path().'/framework/cache', 48 | ], 49 | 50 | 'memcached' => [ 51 | 'driver' => 'memcached', 52 | 'servers' => [ 53 | [ 54 | 'host' => 'memcached', 'port' => 11211, 'weight' => 100 55 | ], 56 | ], 57 | ], 58 | 59 | 'redis' => [ 60 | 'driver' => 'redis', 61 | 'connection' => 'default', 62 | ], 63 | 64 | ], 65 | 66 | /* 67 | |-------------------------------------------------------------------------- 68 | | Cache Key Prefix 69 | |-------------------------------------------------------------------------- 70 | | 71 | | When utilizing a RAM based store such as APC or Memcached, there might 72 | | be other applications utilizing the same cache. So, we'll specify a 73 | | value to get prefixed to all our keys so we can avoid collisions. 74 | | 75 | */ 76 | 77 | 'prefix' => 'october', 78 | 79 | ]; 80 | -------------------------------------------------------------------------------- /7.2/fpm/config/cache.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_CACHE_DEFAULT', 'file'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Cache Stores 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the cache "stores" for your application as 24 | | well as their drivers. You may even define multiple stores for the 25 | | same cache driver to group types of items stored in your caches. 26 | | 27 | */ 28 | 29 | 'stores' => [ 30 | 31 | 'apc' => [ 32 | 'driver' => 'apc' 33 | ], 34 | 35 | 'array' => [ 36 | 'driver' => 'array' 37 | ], 38 | 39 | 'database' => [ 40 | 'driver' => 'database', 41 | 'table' => 'cache', 42 | 'connection' => null, 43 | ], 44 | 45 | 'file' => [ 46 | 'driver' => 'file', 47 | 'path' => storage_path().'/framework/cache', 48 | ], 49 | 50 | 'memcached' => [ 51 | 'driver' => 'memcached', 52 | 'servers' => [ 53 | [ 54 | 'host' => 'memcached', 'port' => 11211, 'weight' => 100 55 | ], 56 | ], 57 | ], 58 | 59 | 'redis' => [ 60 | 'driver' => 'redis', 61 | 'connection' => 'default', 62 | ], 63 | 64 | ], 65 | 66 | /* 67 | |-------------------------------------------------------------------------- 68 | | Cache Key Prefix 69 | |-------------------------------------------------------------------------- 70 | | 71 | | When utilizing a RAM based store such as APC or Memcached, there might 72 | | be other applications utilizing the same cache. So, we'll specify a 73 | | value to get prefixed to all our keys so we can avoid collisions. 74 | | 75 | */ 76 | 77 | 'prefix' => 'october', 78 | 79 | ]; 80 | -------------------------------------------------------------------------------- /7.3/apache/config/cache.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_CACHE_DEFAULT', 'file'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Cache Stores 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the cache "stores" for your application as 24 | | well as their drivers. You may even define multiple stores for the 25 | | same cache driver to group types of items stored in your caches. 26 | | 27 | */ 28 | 29 | 'stores' => [ 30 | 31 | 'apc' => [ 32 | 'driver' => 'apc' 33 | ], 34 | 35 | 'array' => [ 36 | 'driver' => 'array' 37 | ], 38 | 39 | 'database' => [ 40 | 'driver' => 'database', 41 | 'table' => 'cache', 42 | 'connection' => null, 43 | ], 44 | 45 | 'file' => [ 46 | 'driver' => 'file', 47 | 'path' => storage_path().'/framework/cache', 48 | ], 49 | 50 | 'memcached' => [ 51 | 'driver' => 'memcached', 52 | 'servers' => [ 53 | [ 54 | 'host' => 'memcached', 'port' => 11211, 'weight' => 100 55 | ], 56 | ], 57 | ], 58 | 59 | 'redis' => [ 60 | 'driver' => 'redis', 61 | 'connection' => 'default', 62 | ], 63 | 64 | ], 65 | 66 | /* 67 | |-------------------------------------------------------------------------- 68 | | Cache Key Prefix 69 | |-------------------------------------------------------------------------- 70 | | 71 | | When utilizing a RAM based store such as APC or Memcached, there might 72 | | be other applications utilizing the same cache. So, we'll specify a 73 | | value to get prefixed to all our keys so we can avoid collisions. 74 | | 75 | */ 76 | 77 | 'prefix' => 'october', 78 | 79 | ]; 80 | -------------------------------------------------------------------------------- /7.3/fpm/config/cache.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_CACHE_DEFAULT', 'file'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Cache Stores 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may define all of the cache "stores" for your application as 24 | | well as their drivers. You may even define multiple stores for the 25 | | same cache driver to group types of items stored in your caches. 26 | | 27 | */ 28 | 29 | 'stores' => [ 30 | 31 | 'apc' => [ 32 | 'driver' => 'apc' 33 | ], 34 | 35 | 'array' => [ 36 | 'driver' => 'array' 37 | ], 38 | 39 | 'database' => [ 40 | 'driver' => 'database', 41 | 'table' => 'cache', 42 | 'connection' => null, 43 | ], 44 | 45 | 'file' => [ 46 | 'driver' => 'file', 47 | 'path' => storage_path().'/framework/cache', 48 | ], 49 | 50 | 'memcached' => [ 51 | 'driver' => 'memcached', 52 | 'servers' => [ 53 | [ 54 | 'host' => 'memcached', 'port' => 11211, 'weight' => 100 55 | ], 56 | ], 57 | ], 58 | 59 | 'redis' => [ 60 | 'driver' => 'redis', 61 | 'connection' => 'default', 62 | ], 63 | 64 | ], 65 | 66 | /* 67 | |-------------------------------------------------------------------------- 68 | | Cache Key Prefix 69 | |-------------------------------------------------------------------------- 70 | | 71 | | When utilizing a RAM based store such as APC or Memcached, there might 72 | | be other applications utilizing the same cache. So, we'll specify a 73 | | value to get prefixed to all our keys so we can avoid collisions. 74 | | 75 | */ 76 | 77 | 'prefix' => 'october', 78 | 79 | ]; 80 | -------------------------------------------------------------------------------- /config/filesystems.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_FILESYSTEMS_DEFAULT', 'local'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Default Cloud Filesystem Disk 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Many applications store files both locally and in the cloud. For this 26 | | reason, you may specify a default "cloud" driver here. This driver 27 | | will be bound as the Cloud disk implementation in the container. 28 | | 29 | */ 30 | 31 | 'cloud' => env('OCTOBER_FILESYSTEMS_CLOUD', 's3'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | Filesystem Disks 36 | |-------------------------------------------------------------------------- 37 | | 38 | | Here you may configure as many filesystem "disks" as you wish, and you 39 | | may even configure multiple disks of the same driver. Defaults have 40 | | been setup for each driver as an example of the required options. 41 | | 42 | */ 43 | 44 | 'disks' => [ 45 | 46 | 'local' => [ 47 | 'driver' => 'local', 48 | 'root' => storage_path().'/app', 49 | ], 50 | 51 | 's3' => [ 52 | 'driver' => 's3', 53 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_S3_KEY', 'your-key'), 54 | 'secret' => env('OCTOBER_FILESYSTEMS_DISKS_S3_SECRET', 'your-secret'), 55 | 'region' => env('OCTOBER_FILESYSTEMS_DISKS_S3_REGION', 'your-region'), 56 | 'bucket' => env('OCTOBER_FILESYSTEMS_DISKS_S3_BUCKET', 'your-bucket'), 57 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_S3_ENDPOINT') 58 | ], 59 | 60 | 'rackspace' => [ 61 | 'driver' => 'rackspace', 62 | 'username' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_USERNAME', 'your-username'), 63 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_KEY', 'your-key'), 64 | 'container' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_CONTAINER', 'your-container'), 65 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_ENDPOINT', 'https://identity.api.rackspacecloud.com/v2.0/'), 66 | 'region' => 'IAD', 67 | ], 68 | 69 | ], 70 | 71 | ]; 72 | -------------------------------------------------------------------------------- /7.1/apache/config/filesystems.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_FILESYSTEMS_DEFAULT', 'local'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Default Cloud Filesystem Disk 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Many applications store files both locally and in the cloud. For this 26 | | reason, you may specify a default "cloud" driver here. This driver 27 | | will be bound as the Cloud disk implementation in the container. 28 | | 29 | */ 30 | 31 | 'cloud' => env('OCTOBER_FILESYSTEMS_CLOUD', 's3'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | Filesystem Disks 36 | |-------------------------------------------------------------------------- 37 | | 38 | | Here you may configure as many filesystem "disks" as you wish, and you 39 | | may even configure multiple disks of the same driver. Defaults have 40 | | been setup for each driver as an example of the required options. 41 | | 42 | */ 43 | 44 | 'disks' => [ 45 | 46 | 'local' => [ 47 | 'driver' => 'local', 48 | 'root' => storage_path().'/app', 49 | ], 50 | 51 | 's3' => [ 52 | 'driver' => 's3', 53 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_S3_KEY', 'your-key'), 54 | 'secret' => env('OCTOBER_FILESYSTEMS_DISKS_S3_SECRET', 'your-secret'), 55 | 'region' => env('OCTOBER_FILESYSTEMS_DISKS_S3_REGION', 'your-region'), 56 | 'bucket' => env('OCTOBER_FILESYSTEMS_DISKS_S3_BUCKET', 'your-bucket'), 57 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_S3_ENDPOINT') 58 | ], 59 | 60 | 'rackspace' => [ 61 | 'driver' => 'rackspace', 62 | 'username' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_USERNAME', 'your-username'), 63 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_KEY', 'your-key'), 64 | 'container' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_CONTAINER', 'your-container'), 65 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_ENDPOINT', 'https://identity.api.rackspacecloud.com/v2.0/'), 66 | 'region' => 'IAD', 67 | ], 68 | 69 | ], 70 | 71 | ]; 72 | -------------------------------------------------------------------------------- /7.1/fpm/config/filesystems.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_FILESYSTEMS_DEFAULT', 'local'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Default Cloud Filesystem Disk 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Many applications store files both locally and in the cloud. For this 26 | | reason, you may specify a default "cloud" driver here. This driver 27 | | will be bound as the Cloud disk implementation in the container. 28 | | 29 | */ 30 | 31 | 'cloud' => env('OCTOBER_FILESYSTEMS_CLOUD', 's3'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | Filesystem Disks 36 | |-------------------------------------------------------------------------- 37 | | 38 | | Here you may configure as many filesystem "disks" as you wish, and you 39 | | may even configure multiple disks of the same driver. Defaults have 40 | | been setup for each driver as an example of the required options. 41 | | 42 | */ 43 | 44 | 'disks' => [ 45 | 46 | 'local' => [ 47 | 'driver' => 'local', 48 | 'root' => storage_path().'/app', 49 | ], 50 | 51 | 's3' => [ 52 | 'driver' => 's3', 53 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_S3_KEY', 'your-key'), 54 | 'secret' => env('OCTOBER_FILESYSTEMS_DISKS_S3_SECRET', 'your-secret'), 55 | 'region' => env('OCTOBER_FILESYSTEMS_DISKS_S3_REGION', 'your-region'), 56 | 'bucket' => env('OCTOBER_FILESYSTEMS_DISKS_S3_BUCKET', 'your-bucket'), 57 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_S3_ENDPOINT') 58 | ], 59 | 60 | 'rackspace' => [ 61 | 'driver' => 'rackspace', 62 | 'username' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_USERNAME', 'your-username'), 63 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_KEY', 'your-key'), 64 | 'container' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_CONTAINER', 'your-container'), 65 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_ENDPOINT', 'https://identity.api.rackspacecloud.com/v2.0/'), 66 | 'region' => 'IAD', 67 | ], 68 | 69 | ], 70 | 71 | ]; 72 | -------------------------------------------------------------------------------- /7.2/apache/config/filesystems.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_FILESYSTEMS_DEFAULT', 'local'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Default Cloud Filesystem Disk 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Many applications store files both locally and in the cloud. For this 26 | | reason, you may specify a default "cloud" driver here. This driver 27 | | will be bound as the Cloud disk implementation in the container. 28 | | 29 | */ 30 | 31 | 'cloud' => env('OCTOBER_FILESYSTEMS_CLOUD', 's3'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | Filesystem Disks 36 | |-------------------------------------------------------------------------- 37 | | 38 | | Here you may configure as many filesystem "disks" as you wish, and you 39 | | may even configure multiple disks of the same driver. Defaults have 40 | | been setup for each driver as an example of the required options. 41 | | 42 | */ 43 | 44 | 'disks' => [ 45 | 46 | 'local' => [ 47 | 'driver' => 'local', 48 | 'root' => storage_path().'/app', 49 | ], 50 | 51 | 's3' => [ 52 | 'driver' => 's3', 53 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_S3_KEY', 'your-key'), 54 | 'secret' => env('OCTOBER_FILESYSTEMS_DISKS_S3_SECRET', 'your-secret'), 55 | 'region' => env('OCTOBER_FILESYSTEMS_DISKS_S3_REGION', 'your-region'), 56 | 'bucket' => env('OCTOBER_FILESYSTEMS_DISKS_S3_BUCKET', 'your-bucket'), 57 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_S3_ENDPOINT') 58 | ], 59 | 60 | 'rackspace' => [ 61 | 'driver' => 'rackspace', 62 | 'username' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_USERNAME', 'your-username'), 63 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_KEY', 'your-key'), 64 | 'container' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_CONTAINER', 'your-container'), 65 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_ENDPOINT', 'https://identity.api.rackspacecloud.com/v2.0/'), 66 | 'region' => 'IAD', 67 | ], 68 | 69 | ], 70 | 71 | ]; 72 | -------------------------------------------------------------------------------- /7.2/fpm/config/filesystems.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_FILESYSTEMS_DEFAULT', 'local'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Default Cloud Filesystem Disk 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Many applications store files both locally and in the cloud. For this 26 | | reason, you may specify a default "cloud" driver here. This driver 27 | | will be bound as the Cloud disk implementation in the container. 28 | | 29 | */ 30 | 31 | 'cloud' => env('OCTOBER_FILESYSTEMS_CLOUD', 's3'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | Filesystem Disks 36 | |-------------------------------------------------------------------------- 37 | | 38 | | Here you may configure as many filesystem "disks" as you wish, and you 39 | | may even configure multiple disks of the same driver. Defaults have 40 | | been setup for each driver as an example of the required options. 41 | | 42 | */ 43 | 44 | 'disks' => [ 45 | 46 | 'local' => [ 47 | 'driver' => 'local', 48 | 'root' => storage_path().'/app', 49 | ], 50 | 51 | 's3' => [ 52 | 'driver' => 's3', 53 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_S3_KEY', 'your-key'), 54 | 'secret' => env('OCTOBER_FILESYSTEMS_DISKS_S3_SECRET', 'your-secret'), 55 | 'region' => env('OCTOBER_FILESYSTEMS_DISKS_S3_REGION', 'your-region'), 56 | 'bucket' => env('OCTOBER_FILESYSTEMS_DISKS_S3_BUCKET', 'your-bucket'), 57 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_S3_ENDPOINT') 58 | ], 59 | 60 | 'rackspace' => [ 61 | 'driver' => 'rackspace', 62 | 'username' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_USERNAME', 'your-username'), 63 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_KEY', 'your-key'), 64 | 'container' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_CONTAINER', 'your-container'), 65 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_ENDPOINT', 'https://identity.api.rackspacecloud.com/v2.0/'), 66 | 'region' => 'IAD', 67 | ], 68 | 69 | ], 70 | 71 | ]; 72 | -------------------------------------------------------------------------------- /7.3/apache/config/filesystems.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_FILESYSTEMS_DEFAULT', 'local'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Default Cloud Filesystem Disk 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Many applications store files both locally and in the cloud. For this 26 | | reason, you may specify a default "cloud" driver here. This driver 27 | | will be bound as the Cloud disk implementation in the container. 28 | | 29 | */ 30 | 31 | 'cloud' => env('OCTOBER_FILESYSTEMS_CLOUD', 's3'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | Filesystem Disks 36 | |-------------------------------------------------------------------------- 37 | | 38 | | Here you may configure as many filesystem "disks" as you wish, and you 39 | | may even configure multiple disks of the same driver. Defaults have 40 | | been setup for each driver as an example of the required options. 41 | | 42 | */ 43 | 44 | 'disks' => [ 45 | 46 | 'local' => [ 47 | 'driver' => 'local', 48 | 'root' => storage_path().'/app', 49 | ], 50 | 51 | 's3' => [ 52 | 'driver' => 's3', 53 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_S3_KEY', 'your-key'), 54 | 'secret' => env('OCTOBER_FILESYSTEMS_DISKS_S3_SECRET', 'your-secret'), 55 | 'region' => env('OCTOBER_FILESYSTEMS_DISKS_S3_REGION', 'your-region'), 56 | 'bucket' => env('OCTOBER_FILESYSTEMS_DISKS_S3_BUCKET', 'your-bucket'), 57 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_S3_ENDPOINT') 58 | ], 59 | 60 | 'rackspace' => [ 61 | 'driver' => 'rackspace', 62 | 'username' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_USERNAME', 'your-username'), 63 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_KEY', 'your-key'), 64 | 'container' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_CONTAINER', 'your-container'), 65 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_ENDPOINT', 'https://identity.api.rackspacecloud.com/v2.0/'), 66 | 'region' => 'IAD', 67 | ], 68 | 69 | ], 70 | 71 | ]; 72 | -------------------------------------------------------------------------------- /7.3/fpm/config/filesystems.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_FILESYSTEMS_DEFAULT', 'local'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Default Cloud Filesystem Disk 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Many applications store files both locally and in the cloud. For this 26 | | reason, you may specify a default "cloud" driver here. This driver 27 | | will be bound as the Cloud disk implementation in the container. 28 | | 29 | */ 30 | 31 | 'cloud' => env('OCTOBER_FILESYSTEMS_CLOUD', 's3'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | Filesystem Disks 36 | |-------------------------------------------------------------------------- 37 | | 38 | | Here you may configure as many filesystem "disks" as you wish, and you 39 | | may even configure multiple disks of the same driver. Defaults have 40 | | been setup for each driver as an example of the required options. 41 | | 42 | */ 43 | 44 | 'disks' => [ 45 | 46 | 'local' => [ 47 | 'driver' => 'local', 48 | 'root' => storage_path().'/app', 49 | ], 50 | 51 | 's3' => [ 52 | 'driver' => 's3', 53 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_S3_KEY', 'your-key'), 54 | 'secret' => env('OCTOBER_FILESYSTEMS_DISKS_S3_SECRET', 'your-secret'), 55 | 'region' => env('OCTOBER_FILESYSTEMS_DISKS_S3_REGION', 'your-region'), 56 | 'bucket' => env('OCTOBER_FILESYSTEMS_DISKS_S3_BUCKET', 'your-bucket'), 57 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_S3_ENDPOINT') 58 | ], 59 | 60 | 'rackspace' => [ 61 | 'driver' => 'rackspace', 62 | 'username' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_USERNAME', 'your-username'), 63 | 'key' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_KEY', 'your-key'), 64 | 'container' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_CONTAINER', 'your-container'), 65 | 'endpoint' => env('OCTOBER_FILESYSTEMS_DISKS_RACKSPACE_ENDPOINT', 'https://identity.api.rackspacecloud.com/v2.0/'), 66 | 'region' => 'IAD', 67 | ], 68 | 69 | ], 70 | 71 | ]; 72 | -------------------------------------------------------------------------------- /config/database.php: -------------------------------------------------------------------------------- 1 | PDO::FETCH_CLASS, 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Default Database Connection Name 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may specify which of the database connections below you wish 24 | | to use as your default connection for all database work. Of course 25 | | you may use many connections at once using the Database library. 26 | | 27 | */ 28 | 29 | 'default' => env('OCTOBER_DB_DRIVER', 'sqlite'), 30 | 31 | /* 32 | |-------------------------------------------------------------------------- 33 | | Database Connections 34 | |-------------------------------------------------------------------------- 35 | | 36 | | Here are each of the database connections setup for your application. 37 | | Of course, examples of configuring each database platform that is 38 | | supported by Laravel is shown below to make development simple. 39 | | 40 | | 41 | | All database work in Laravel is done through the PHP PDO facilities 42 | | so make sure you have the driver for your particular database of 43 | | choice installed on your machine before you begin development. 44 | | 45 | */ 46 | 47 | 'connections' => [ 48 | 49 | 'sqlite' => [ 50 | 'driver' => 'sqlite', 51 | 'database' => 'storage/database.sqlite', 52 | 'prefix' => '', 53 | ], 54 | 55 | 'mysql' => [ 56 | 'driver' => 'mysql', 57 | 'host' => env('OCTOBER_DB_HOST', 'mysql'), 58 | 'port' => env('OCTOBER_DB_PORT', 3306), 59 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 60 | 'username' => env('OCTOBER_DB_USER', 'root'), 61 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 62 | 'charset' => 'utf8', 63 | 'collation' => 'utf8_unicode_ci', 64 | 'prefix' => '', 65 | ], 66 | 67 | 'pgsql' => [ 68 | 'driver' => 'pgsql', 69 | 'host' => env('OCTOBER_DB_HOST', 'postgres'), 70 | 'port' => env('OCTOBER_DB_PORT', 5432), 71 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 72 | 'username' => env('OCTOBER_DB_USER', 'postgres'), 73 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 74 | 'charset' => 'utf8', 75 | 'prefix' => '', 76 | 'schema' => 'public', 77 | ], 78 | 79 | 'sqlsrv' => [ 80 | 'driver' => 'sqlsrv', 81 | 'host' => 'localhost', 82 | 'port' => '', 83 | 'database' => 'database', 84 | 'username' => 'root', 85 | 'password' => '', 86 | 'prefix' => '', 87 | ], 88 | 89 | ], 90 | 91 | /* 92 | |-------------------------------------------------------------------------- 93 | | Migration Repository Table 94 | |-------------------------------------------------------------------------- 95 | | 96 | | This table keeps track of all the migrations that have already run for 97 | | your application. Using this information, we can determine which of 98 | | the migrations on disk have not actually be run in the databases. 99 | | 100 | */ 101 | 102 | 'migrations' => 'migrations', 103 | 104 | /* 105 | |-------------------------------------------------------------------------- 106 | | Redis Databases 107 | |-------------------------------------------------------------------------- 108 | | 109 | | Redis is an open source, fast, and advanced key-value store that also 110 | | provides a richer set of commands than a typical key-value systems 111 | | such as APC or Memcached. Laravel makes it easy to dig right in. 112 | | 113 | */ 114 | 115 | 'redis' => [ 116 | 117 | 'cluster' => false, 118 | 119 | 'default' => [ 120 | 'host' => env('REDIS_HOST', 'redis'), 121 | 'port' => env('REDIS_PORT', 6379), 122 | 'password' => env('REDIS_PASSWORD', null), 123 | 'database' => 0 124 | ], 125 | 126 | ], 127 | 128 | ]; 129 | -------------------------------------------------------------------------------- /7.1/fpm/config/database.php: -------------------------------------------------------------------------------- 1 | PDO::FETCH_CLASS, 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Default Database Connection Name 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may specify which of the database connections below you wish 24 | | to use as your default connection for all database work. Of course 25 | | you may use many connections at once using the Database library. 26 | | 27 | */ 28 | 29 | 'default' => env('OCTOBER_DB_DRIVER', 'sqlite'), 30 | 31 | /* 32 | |-------------------------------------------------------------------------- 33 | | Database Connections 34 | |-------------------------------------------------------------------------- 35 | | 36 | | Here are each of the database connections setup for your application. 37 | | Of course, examples of configuring each database platform that is 38 | | supported by Laravel is shown below to make development simple. 39 | | 40 | | 41 | | All database work in Laravel is done through the PHP PDO facilities 42 | | so make sure you have the driver for your particular database of 43 | | choice installed on your machine before you begin development. 44 | | 45 | */ 46 | 47 | 'connections' => [ 48 | 49 | 'sqlite' => [ 50 | 'driver' => 'sqlite', 51 | 'database' => 'storage/database.sqlite', 52 | 'prefix' => '', 53 | ], 54 | 55 | 'mysql' => [ 56 | 'driver' => 'mysql', 57 | 'host' => env('OCTOBER_DB_HOST', 'mysql'), 58 | 'port' => env('OCTOBER_DB_PORT', 3306), 59 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 60 | 'username' => env('OCTOBER_DB_USER', 'root'), 61 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 62 | 'charset' => 'utf8', 63 | 'collation' => 'utf8_unicode_ci', 64 | 'prefix' => '', 65 | ], 66 | 67 | 'pgsql' => [ 68 | 'driver' => 'pgsql', 69 | 'host' => env('OCTOBER_DB_HOST', 'postgres'), 70 | 'port' => env('OCTOBER_DB_PORT', 5432), 71 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 72 | 'username' => env('OCTOBER_DB_USER', 'postgres'), 73 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 74 | 'charset' => 'utf8', 75 | 'prefix' => '', 76 | 'schema' => 'public', 77 | ], 78 | 79 | 'sqlsrv' => [ 80 | 'driver' => 'sqlsrv', 81 | 'host' => 'localhost', 82 | 'port' => '', 83 | 'database' => 'database', 84 | 'username' => 'root', 85 | 'password' => '', 86 | 'prefix' => '', 87 | ], 88 | 89 | ], 90 | 91 | /* 92 | |-------------------------------------------------------------------------- 93 | | Migration Repository Table 94 | |-------------------------------------------------------------------------- 95 | | 96 | | This table keeps track of all the migrations that have already run for 97 | | your application. Using this information, we can determine which of 98 | | the migrations on disk have not actually be run in the databases. 99 | | 100 | */ 101 | 102 | 'migrations' => 'migrations', 103 | 104 | /* 105 | |-------------------------------------------------------------------------- 106 | | Redis Databases 107 | |-------------------------------------------------------------------------- 108 | | 109 | | Redis is an open source, fast, and advanced key-value store that also 110 | | provides a richer set of commands than a typical key-value systems 111 | | such as APC or Memcached. Laravel makes it easy to dig right in. 112 | | 113 | */ 114 | 115 | 'redis' => [ 116 | 117 | 'cluster' => false, 118 | 119 | 'default' => [ 120 | 'host' => env('REDIS_HOST', 'redis'), 121 | 'port' => env('REDIS_PORT', 6379), 122 | 'password' => env('REDIS_PASSWORD', null), 123 | 'database' => 0 124 | ], 125 | 126 | ], 127 | 128 | ]; 129 | -------------------------------------------------------------------------------- /7.2/fpm/config/database.php: -------------------------------------------------------------------------------- 1 | PDO::FETCH_CLASS, 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Default Database Connection Name 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may specify which of the database connections below you wish 24 | | to use as your default connection for all database work. Of course 25 | | you may use many connections at once using the Database library. 26 | | 27 | */ 28 | 29 | 'default' => env('OCTOBER_DB_DRIVER', 'sqlite'), 30 | 31 | /* 32 | |-------------------------------------------------------------------------- 33 | | Database Connections 34 | |-------------------------------------------------------------------------- 35 | | 36 | | Here are each of the database connections setup for your application. 37 | | Of course, examples of configuring each database platform that is 38 | | supported by Laravel is shown below to make development simple. 39 | | 40 | | 41 | | All database work in Laravel is done through the PHP PDO facilities 42 | | so make sure you have the driver for your particular database of 43 | | choice installed on your machine before you begin development. 44 | | 45 | */ 46 | 47 | 'connections' => [ 48 | 49 | 'sqlite' => [ 50 | 'driver' => 'sqlite', 51 | 'database' => 'storage/database.sqlite', 52 | 'prefix' => '', 53 | ], 54 | 55 | 'mysql' => [ 56 | 'driver' => 'mysql', 57 | 'host' => env('OCTOBER_DB_HOST', 'mysql'), 58 | 'port' => env('OCTOBER_DB_PORT', 3306), 59 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 60 | 'username' => env('OCTOBER_DB_USER', 'root'), 61 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 62 | 'charset' => 'utf8', 63 | 'collation' => 'utf8_unicode_ci', 64 | 'prefix' => '', 65 | ], 66 | 67 | 'pgsql' => [ 68 | 'driver' => 'pgsql', 69 | 'host' => env('OCTOBER_DB_HOST', 'postgres'), 70 | 'port' => env('OCTOBER_DB_PORT', 5432), 71 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 72 | 'username' => env('OCTOBER_DB_USER', 'postgres'), 73 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 74 | 'charset' => 'utf8', 75 | 'prefix' => '', 76 | 'schema' => 'public', 77 | ], 78 | 79 | 'sqlsrv' => [ 80 | 'driver' => 'sqlsrv', 81 | 'host' => 'localhost', 82 | 'port' => '', 83 | 'database' => 'database', 84 | 'username' => 'root', 85 | 'password' => '', 86 | 'prefix' => '', 87 | ], 88 | 89 | ], 90 | 91 | /* 92 | |-------------------------------------------------------------------------- 93 | | Migration Repository Table 94 | |-------------------------------------------------------------------------- 95 | | 96 | | This table keeps track of all the migrations that have already run for 97 | | your application. Using this information, we can determine which of 98 | | the migrations on disk have not actually be run in the databases. 99 | | 100 | */ 101 | 102 | 'migrations' => 'migrations', 103 | 104 | /* 105 | |-------------------------------------------------------------------------- 106 | | Redis Databases 107 | |-------------------------------------------------------------------------- 108 | | 109 | | Redis is an open source, fast, and advanced key-value store that also 110 | | provides a richer set of commands than a typical key-value systems 111 | | such as APC or Memcached. Laravel makes it easy to dig right in. 112 | | 113 | */ 114 | 115 | 'redis' => [ 116 | 117 | 'cluster' => false, 118 | 119 | 'default' => [ 120 | 'host' => env('REDIS_HOST', 'redis'), 121 | 'port' => env('REDIS_PORT', 6379), 122 | 'password' => env('REDIS_PASSWORD', null), 123 | 'database' => 0 124 | ], 125 | 126 | ], 127 | 128 | ]; 129 | -------------------------------------------------------------------------------- /7.3/fpm/config/database.php: -------------------------------------------------------------------------------- 1 | PDO::FETCH_CLASS, 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Default Database Connection Name 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may specify which of the database connections below you wish 24 | | to use as your default connection for all database work. Of course 25 | | you may use many connections at once using the Database library. 26 | | 27 | */ 28 | 29 | 'default' => env('OCTOBER_DB_DRIVER', 'sqlite'), 30 | 31 | /* 32 | |-------------------------------------------------------------------------- 33 | | Database Connections 34 | |-------------------------------------------------------------------------- 35 | | 36 | | Here are each of the database connections setup for your application. 37 | | Of course, examples of configuring each database platform that is 38 | | supported by Laravel is shown below to make development simple. 39 | | 40 | | 41 | | All database work in Laravel is done through the PHP PDO facilities 42 | | so make sure you have the driver for your particular database of 43 | | choice installed on your machine before you begin development. 44 | | 45 | */ 46 | 47 | 'connections' => [ 48 | 49 | 'sqlite' => [ 50 | 'driver' => 'sqlite', 51 | 'database' => 'storage/database.sqlite', 52 | 'prefix' => '', 53 | ], 54 | 55 | 'mysql' => [ 56 | 'driver' => 'mysql', 57 | 'host' => env('OCTOBER_DB_HOST', 'mysql'), 58 | 'port' => env('OCTOBER_DB_PORT', 3306), 59 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 60 | 'username' => env('OCTOBER_DB_USER', 'root'), 61 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 62 | 'charset' => 'utf8', 63 | 'collation' => 'utf8_unicode_ci', 64 | 'prefix' => '', 65 | ], 66 | 67 | 'pgsql' => [ 68 | 'driver' => 'pgsql', 69 | 'host' => env('OCTOBER_DB_HOST', 'postgres'), 70 | 'port' => env('OCTOBER_DB_PORT', 5432), 71 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 72 | 'username' => env('OCTOBER_DB_USER', 'postgres'), 73 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 74 | 'charset' => 'utf8', 75 | 'prefix' => '', 76 | 'schema' => 'public', 77 | ], 78 | 79 | 'sqlsrv' => [ 80 | 'driver' => 'sqlsrv', 81 | 'host' => 'localhost', 82 | 'port' => '', 83 | 'database' => 'database', 84 | 'username' => 'root', 85 | 'password' => '', 86 | 'prefix' => '', 87 | ], 88 | 89 | ], 90 | 91 | /* 92 | |-------------------------------------------------------------------------- 93 | | Migration Repository Table 94 | |-------------------------------------------------------------------------- 95 | | 96 | | This table keeps track of all the migrations that have already run for 97 | | your application. Using this information, we can determine which of 98 | | the migrations on disk have not actually be run in the databases. 99 | | 100 | */ 101 | 102 | 'migrations' => 'migrations', 103 | 104 | /* 105 | |-------------------------------------------------------------------------- 106 | | Redis Databases 107 | |-------------------------------------------------------------------------- 108 | | 109 | | Redis is an open source, fast, and advanced key-value store that also 110 | | provides a richer set of commands than a typical key-value systems 111 | | such as APC or Memcached. Laravel makes it easy to dig right in. 112 | | 113 | */ 114 | 115 | 'redis' => [ 116 | 117 | 'cluster' => false, 118 | 119 | 'default' => [ 120 | 'host' => env('REDIS_HOST', 'redis'), 121 | 'port' => env('REDIS_PORT', 6379), 122 | 'password' => env('REDIS_PASSWORD', null), 123 | 'database' => 0 124 | ], 125 | 126 | ], 127 | 128 | ]; 129 | -------------------------------------------------------------------------------- /7.1/apache/config/database.php: -------------------------------------------------------------------------------- 1 | PDO::FETCH_CLASS, 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Default Database Connection Name 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may specify which of the database connections below you wish 24 | | to use as your default connection for all database work. Of course 25 | | you may use many connections at once using the Database library. 26 | | 27 | */ 28 | 29 | 'default' => env('OCTOBER_DB_DRIVER', 'sqlite'), 30 | 31 | /* 32 | |-------------------------------------------------------------------------- 33 | | Database Connections 34 | |-------------------------------------------------------------------------- 35 | | 36 | | Here are each of the database connections setup for your application. 37 | | Of course, examples of configuring each database platform that is 38 | | supported by Laravel is shown below to make development simple. 39 | | 40 | | 41 | | All database work in Laravel is done through the PHP PDO facilities 42 | | so make sure you have the driver for your particular database of 43 | | choice installed on your machine before you begin development. 44 | | 45 | */ 46 | 47 | 'connections' => [ 48 | 49 | 'sqlite' => [ 50 | 'driver' => 'sqlite', 51 | 'database' => 'storage/database.sqlite', 52 | 'prefix' => '', 53 | ], 54 | 55 | 'mysql' => [ 56 | 'driver' => 'mysql', 57 | 'host' => env('OCTOBER_DB_HOST', 'mysql'), 58 | 'port' => env('OCTOBER_DB_PORT', 3306), 59 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 60 | 'username' => env('OCTOBER_DB_USER', 'root'), 61 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 62 | 'charset' => 'utf8', 63 | 'collation' => 'utf8_unicode_ci', 64 | 'prefix' => '', 65 | ], 66 | 67 | 'pgsql' => [ 68 | 'driver' => 'pgsql', 69 | 'host' => env('OCTOBER_DB_HOST', 'postgres'), 70 | 'port' => env('OCTOBER_DB_PORT', 5432), 71 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 72 | 'username' => env('OCTOBER_DB_USER', 'postgres'), 73 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 74 | 'charset' => 'utf8', 75 | 'prefix' => '', 76 | 'schema' => 'public', 77 | ], 78 | 79 | 'sqlsrv' => [ 80 | 'driver' => 'sqlsrv', 81 | 'host' => 'localhost', 82 | 'port' => '', 83 | 'database' => 'database', 84 | 'username' => 'root', 85 | 'password' => '', 86 | 'prefix' => '', 87 | ], 88 | 89 | ], 90 | 91 | /* 92 | |-------------------------------------------------------------------------- 93 | | Migration Repository Table 94 | |-------------------------------------------------------------------------- 95 | | 96 | | This table keeps track of all the migrations that have already run for 97 | | your application. Using this information, we can determine which of 98 | | the migrations on disk have not actually be run in the databases. 99 | | 100 | */ 101 | 102 | 'migrations' => 'migrations', 103 | 104 | /* 105 | |-------------------------------------------------------------------------- 106 | | Redis Databases 107 | |-------------------------------------------------------------------------- 108 | | 109 | | Redis is an open source, fast, and advanced key-value store that also 110 | | provides a richer set of commands than a typical key-value systems 111 | | such as APC or Memcached. Laravel makes it easy to dig right in. 112 | | 113 | */ 114 | 115 | 'redis' => [ 116 | 117 | 'cluster' => false, 118 | 119 | 'default' => [ 120 | 'host' => env('REDIS_HOST', 'redis'), 121 | 'port' => env('REDIS_PORT', 6379), 122 | 'password' => env('REDIS_PASSWORD', null), 123 | 'database' => 0 124 | ], 125 | 126 | ], 127 | 128 | ]; 129 | -------------------------------------------------------------------------------- /7.2/apache/config/database.php: -------------------------------------------------------------------------------- 1 | PDO::FETCH_CLASS, 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Default Database Connection Name 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may specify which of the database connections below you wish 24 | | to use as your default connection for all database work. Of course 25 | | you may use many connections at once using the Database library. 26 | | 27 | */ 28 | 29 | 'default' => env('OCTOBER_DB_DRIVER', 'sqlite'), 30 | 31 | /* 32 | |-------------------------------------------------------------------------- 33 | | Database Connections 34 | |-------------------------------------------------------------------------- 35 | | 36 | | Here are each of the database connections setup for your application. 37 | | Of course, examples of configuring each database platform that is 38 | | supported by Laravel is shown below to make development simple. 39 | | 40 | | 41 | | All database work in Laravel is done through the PHP PDO facilities 42 | | so make sure you have the driver for your particular database of 43 | | choice installed on your machine before you begin development. 44 | | 45 | */ 46 | 47 | 'connections' => [ 48 | 49 | 'sqlite' => [ 50 | 'driver' => 'sqlite', 51 | 'database' => 'storage/database.sqlite', 52 | 'prefix' => '', 53 | ], 54 | 55 | 'mysql' => [ 56 | 'driver' => 'mysql', 57 | 'host' => env('OCTOBER_DB_HOST', 'mysql'), 58 | 'port' => env('OCTOBER_DB_PORT', 3306), 59 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 60 | 'username' => env('OCTOBER_DB_USER', 'root'), 61 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 62 | 'charset' => 'utf8', 63 | 'collation' => 'utf8_unicode_ci', 64 | 'prefix' => '', 65 | ], 66 | 67 | 'pgsql' => [ 68 | 'driver' => 'pgsql', 69 | 'host' => env('OCTOBER_DB_HOST', 'postgres'), 70 | 'port' => env('OCTOBER_DB_PORT', 5432), 71 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 72 | 'username' => env('OCTOBER_DB_USER', 'postgres'), 73 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 74 | 'charset' => 'utf8', 75 | 'prefix' => '', 76 | 'schema' => 'public', 77 | ], 78 | 79 | 'sqlsrv' => [ 80 | 'driver' => 'sqlsrv', 81 | 'host' => 'localhost', 82 | 'port' => '', 83 | 'database' => 'database', 84 | 'username' => 'root', 85 | 'password' => '', 86 | 'prefix' => '', 87 | ], 88 | 89 | ], 90 | 91 | /* 92 | |-------------------------------------------------------------------------- 93 | | Migration Repository Table 94 | |-------------------------------------------------------------------------- 95 | | 96 | | This table keeps track of all the migrations that have already run for 97 | | your application. Using this information, we can determine which of 98 | | the migrations on disk have not actually be run in the databases. 99 | | 100 | */ 101 | 102 | 'migrations' => 'migrations', 103 | 104 | /* 105 | |-------------------------------------------------------------------------- 106 | | Redis Databases 107 | |-------------------------------------------------------------------------- 108 | | 109 | | Redis is an open source, fast, and advanced key-value store that also 110 | | provides a richer set of commands than a typical key-value systems 111 | | such as APC or Memcached. Laravel makes it easy to dig right in. 112 | | 113 | */ 114 | 115 | 'redis' => [ 116 | 117 | 'cluster' => false, 118 | 119 | 'default' => [ 120 | 'host' => env('REDIS_HOST', 'redis'), 121 | 'port' => env('REDIS_PORT', 6379), 122 | 'password' => env('REDIS_PASSWORD', null), 123 | 'database' => 0 124 | ], 125 | 126 | ], 127 | 128 | ]; 129 | -------------------------------------------------------------------------------- /7.3/apache/config/database.php: -------------------------------------------------------------------------------- 1 | PDO::FETCH_CLASS, 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Default Database Connection Name 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may specify which of the database connections below you wish 24 | | to use as your default connection for all database work. Of course 25 | | you may use many connections at once using the Database library. 26 | | 27 | */ 28 | 29 | 'default' => env('OCTOBER_DB_DRIVER', 'sqlite'), 30 | 31 | /* 32 | |-------------------------------------------------------------------------- 33 | | Database Connections 34 | |-------------------------------------------------------------------------- 35 | | 36 | | Here are each of the database connections setup for your application. 37 | | Of course, examples of configuring each database platform that is 38 | | supported by Laravel is shown below to make development simple. 39 | | 40 | | 41 | | All database work in Laravel is done through the PHP PDO facilities 42 | | so make sure you have the driver for your particular database of 43 | | choice installed on your machine before you begin development. 44 | | 45 | */ 46 | 47 | 'connections' => [ 48 | 49 | 'sqlite' => [ 50 | 'driver' => 'sqlite', 51 | 'database' => 'storage/database.sqlite', 52 | 'prefix' => '', 53 | ], 54 | 55 | 'mysql' => [ 56 | 'driver' => 'mysql', 57 | 'host' => env('OCTOBER_DB_HOST', 'mysql'), 58 | 'port' => env('OCTOBER_DB_PORT', 3306), 59 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 60 | 'username' => env('OCTOBER_DB_USER', 'root'), 61 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 62 | 'charset' => 'utf8', 63 | 'collation' => 'utf8_unicode_ci', 64 | 'prefix' => '', 65 | ], 66 | 67 | 'pgsql' => [ 68 | 'driver' => 'pgsql', 69 | 'host' => env('OCTOBER_DB_HOST', 'postgres'), 70 | 'port' => env('OCTOBER_DB_PORT', 5432), 71 | 'database' => env('OCTOBER_DB_NAME', 'october_cms'), 72 | 'username' => env('OCTOBER_DB_USER', 'postgres'), 73 | 'password' => env('OCTOBER_DB_PASSWORD', ''), 74 | 'charset' => 'utf8', 75 | 'prefix' => '', 76 | 'schema' => 'public', 77 | ], 78 | 79 | 'sqlsrv' => [ 80 | 'driver' => 'sqlsrv', 81 | 'host' => 'localhost', 82 | 'port' => '', 83 | 'database' => 'database', 84 | 'username' => 'root', 85 | 'password' => '', 86 | 'prefix' => '', 87 | ], 88 | 89 | ], 90 | 91 | /* 92 | |-------------------------------------------------------------------------- 93 | | Migration Repository Table 94 | |-------------------------------------------------------------------------- 95 | | 96 | | This table keeps track of all the migrations that have already run for 97 | | your application. Using this information, we can determine which of 98 | | the migrations on disk have not actually be run in the databases. 99 | | 100 | */ 101 | 102 | 'migrations' => 'migrations', 103 | 104 | /* 105 | |-------------------------------------------------------------------------- 106 | | Redis Databases 107 | |-------------------------------------------------------------------------- 108 | | 109 | | Redis is an open source, fast, and advanced key-value store that also 110 | | provides a richer set of commands than a typical key-value systems 111 | | such as APC or Memcached. Laravel makes it easy to dig right in. 112 | | 113 | */ 114 | 115 | 'redis' => [ 116 | 117 | 'cluster' => false, 118 | 119 | 'default' => [ 120 | 'host' => env('REDIS_HOST', 'redis'), 121 | 'port' => env('REDIS_PORT', 6379), 122 | 'password' => env('REDIS_PASSWORD', null), 123 | 'database' => 0 124 | ], 125 | 126 | ], 127 | 128 | ]; 129 | -------------------------------------------------------------------------------- /config/mail.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_MAIL_DRIVER', 'mail'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | SMTP Host Address 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may provide the host address of the SMTP server used by your 26 | | applications. A default option is provided that is compatible with 27 | | the Mailgun mail service which will provide reliable deliveries. 28 | | 29 | */ 30 | 31 | 'host' => env('OCTOBER_MAIL_HOST', 'smtp.mailgun.org'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | SMTP Host Port 36 | |-------------------------------------------------------------------------- 37 | | 38 | | This is the SMTP port used by your application to deliver e-mails to 39 | | users of the application. Like the host we have set this value to 40 | | stay compatible with the Mailgun e-mail application by default. 41 | | 42 | */ 43 | 44 | 'port' => env('OCTOBER_MAIL_PORT', 587), 45 | 46 | /* 47 | |-------------------------------------------------------------------------- 48 | | Global "From" Address 49 | |-------------------------------------------------------------------------- 50 | | 51 | | You may wish for all e-mails sent by your application to be sent from 52 | | the same address. Here, you may specify a name and address that is 53 | | used globally for all e-mails that are sent by your application. 54 | | 55 | */ 56 | 57 | 'from' => ['address' => env('OCTOBER_MAIL_FROM_ADDRESS', 'noreply@domain.tld'), 'name' => env('OCTOBER_MAIL_FROM_NAME', 'OctoberCMS')], 58 | 59 | /* 60 | |-------------------------------------------------------------------------- 61 | | E-Mail Encryption Protocol 62 | |-------------------------------------------------------------------------- 63 | | 64 | | Here you may specify the encryption protocol that should be used when 65 | | the application send e-mail messages. A sensible default using the 66 | | transport layer security protocol should provide great security. 67 | | 68 | */ 69 | 70 | 'encryption' => env('OCTOBER_MAIL_ENCRYPTION', 'tls'), 71 | 72 | /* 73 | |-------------------------------------------------------------------------- 74 | | SMTP Server Username 75 | |-------------------------------------------------------------------------- 76 | | 77 | | If your SMTP server requires a username for authentication, you should 78 | | set it here. This will get used to authenticate with your server on 79 | | connection. You may also set the "password" value below this one. 80 | | 81 | */ 82 | 83 | 'username' => env('OCTOBER_MAIL_USERNAME'), 84 | 85 | /* 86 | |-------------------------------------------------------------------------- 87 | | SMTP Server Password 88 | |-------------------------------------------------------------------------- 89 | | 90 | | Here you may set the password required by your SMTP server to send out 91 | | messages from your application. This will be given to the server on 92 | | connection so that the application will be able to send messages. 93 | | 94 | */ 95 | 96 | 'password' => env('OCTOBER_MAIL_PASSWORD'), 97 | 98 | /* 99 | |-------------------------------------------------------------------------- 100 | | Sendmail System Path 101 | |-------------------------------------------------------------------------- 102 | | 103 | | When using the "sendmail" driver to send e-mails, we will need to know 104 | | the path to where Sendmail lives on this server. A default path has 105 | | been provided here, which will work well on most of your systems. 106 | | 107 | */ 108 | 109 | 'sendmail' => '/usr/sbin/sendmail -bs', 110 | 111 | /* 112 | |-------------------------------------------------------------------------- 113 | | Mail "Pretend" 114 | |-------------------------------------------------------------------------- 115 | | 116 | | When this option is enabled, e-mail will not actually be sent over the 117 | | web and will instead be written to your application's logs files so 118 | | you may inspect the message. This is great for local development. 119 | | 120 | */ 121 | 122 | 'pretend' => env('OCTOBER_MAIL_PRETEND', false), 123 | 124 | ]; 125 | -------------------------------------------------------------------------------- /7.1/fpm/config/mail.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_MAIL_DRIVER', 'mail'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | SMTP Host Address 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may provide the host address of the SMTP server used by your 26 | | applications. A default option is provided that is compatible with 27 | | the Mailgun mail service which will provide reliable deliveries. 28 | | 29 | */ 30 | 31 | 'host' => env('OCTOBER_MAIL_HOST', 'smtp.mailgun.org'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | SMTP Host Port 36 | |-------------------------------------------------------------------------- 37 | | 38 | | This is the SMTP port used by your application to deliver e-mails to 39 | | users of the application. Like the host we have set this value to 40 | | stay compatible with the Mailgun e-mail application by default. 41 | | 42 | */ 43 | 44 | 'port' => env('OCTOBER_MAIL_PORT', 587), 45 | 46 | /* 47 | |-------------------------------------------------------------------------- 48 | | Global "From" Address 49 | |-------------------------------------------------------------------------- 50 | | 51 | | You may wish for all e-mails sent by your application to be sent from 52 | | the same address. Here, you may specify a name and address that is 53 | | used globally for all e-mails that are sent by your application. 54 | | 55 | */ 56 | 57 | 'from' => ['address' => env('OCTOBER_MAIL_FROM_ADDRESS', 'noreply@domain.tld'), 'name' => env('OCTOBER_MAIL_FROM_NAME', 'OctoberCMS')], 58 | 59 | /* 60 | |-------------------------------------------------------------------------- 61 | | E-Mail Encryption Protocol 62 | |-------------------------------------------------------------------------- 63 | | 64 | | Here you may specify the encryption protocol that should be used when 65 | | the application send e-mail messages. A sensible default using the 66 | | transport layer security protocol should provide great security. 67 | | 68 | */ 69 | 70 | 'encryption' => env('OCTOBER_MAIL_ENCRYPTION', 'tls'), 71 | 72 | /* 73 | |-------------------------------------------------------------------------- 74 | | SMTP Server Username 75 | |-------------------------------------------------------------------------- 76 | | 77 | | If your SMTP server requires a username for authentication, you should 78 | | set it here. This will get used to authenticate with your server on 79 | | connection. You may also set the "password" value below this one. 80 | | 81 | */ 82 | 83 | 'username' => env('OCTOBER_MAIL_USERNAME'), 84 | 85 | /* 86 | |-------------------------------------------------------------------------- 87 | | SMTP Server Password 88 | |-------------------------------------------------------------------------- 89 | | 90 | | Here you may set the password required by your SMTP server to send out 91 | | messages from your application. This will be given to the server on 92 | | connection so that the application will be able to send messages. 93 | | 94 | */ 95 | 96 | 'password' => env('OCTOBER_MAIL_PASSWORD'), 97 | 98 | /* 99 | |-------------------------------------------------------------------------- 100 | | Sendmail System Path 101 | |-------------------------------------------------------------------------- 102 | | 103 | | When using the "sendmail" driver to send e-mails, we will need to know 104 | | the path to where Sendmail lives on this server. A default path has 105 | | been provided here, which will work well on most of your systems. 106 | | 107 | */ 108 | 109 | 'sendmail' => '/usr/sbin/sendmail -bs', 110 | 111 | /* 112 | |-------------------------------------------------------------------------- 113 | | Mail "Pretend" 114 | |-------------------------------------------------------------------------- 115 | | 116 | | When this option is enabled, e-mail will not actually be sent over the 117 | | web and will instead be written to your application's logs files so 118 | | you may inspect the message. This is great for local development. 119 | | 120 | */ 121 | 122 | 'pretend' => env('OCTOBER_MAIL_PRETEND', false), 123 | 124 | ]; 125 | -------------------------------------------------------------------------------- /7.2/fpm/config/mail.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_MAIL_DRIVER', 'mail'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | SMTP Host Address 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may provide the host address of the SMTP server used by your 26 | | applications. A default option is provided that is compatible with 27 | | the Mailgun mail service which will provide reliable deliveries. 28 | | 29 | */ 30 | 31 | 'host' => env('OCTOBER_MAIL_HOST', 'smtp.mailgun.org'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | SMTP Host Port 36 | |-------------------------------------------------------------------------- 37 | | 38 | | This is the SMTP port used by your application to deliver e-mails to 39 | | users of the application. Like the host we have set this value to 40 | | stay compatible with the Mailgun e-mail application by default. 41 | | 42 | */ 43 | 44 | 'port' => env('OCTOBER_MAIL_PORT', 587), 45 | 46 | /* 47 | |-------------------------------------------------------------------------- 48 | | Global "From" Address 49 | |-------------------------------------------------------------------------- 50 | | 51 | | You may wish for all e-mails sent by your application to be sent from 52 | | the same address. Here, you may specify a name and address that is 53 | | used globally for all e-mails that are sent by your application. 54 | | 55 | */ 56 | 57 | 'from' => ['address' => env('OCTOBER_MAIL_FROM_ADDRESS', 'noreply@domain.tld'), 'name' => env('OCTOBER_MAIL_FROM_NAME', 'OctoberCMS')], 58 | 59 | /* 60 | |-------------------------------------------------------------------------- 61 | | E-Mail Encryption Protocol 62 | |-------------------------------------------------------------------------- 63 | | 64 | | Here you may specify the encryption protocol that should be used when 65 | | the application send e-mail messages. A sensible default using the 66 | | transport layer security protocol should provide great security. 67 | | 68 | */ 69 | 70 | 'encryption' => env('OCTOBER_MAIL_ENCRYPTION', 'tls'), 71 | 72 | /* 73 | |-------------------------------------------------------------------------- 74 | | SMTP Server Username 75 | |-------------------------------------------------------------------------- 76 | | 77 | | If your SMTP server requires a username for authentication, you should 78 | | set it here. This will get used to authenticate with your server on 79 | | connection. You may also set the "password" value below this one. 80 | | 81 | */ 82 | 83 | 'username' => env('OCTOBER_MAIL_USERNAME'), 84 | 85 | /* 86 | |-------------------------------------------------------------------------- 87 | | SMTP Server Password 88 | |-------------------------------------------------------------------------- 89 | | 90 | | Here you may set the password required by your SMTP server to send out 91 | | messages from your application. This will be given to the server on 92 | | connection so that the application will be able to send messages. 93 | | 94 | */ 95 | 96 | 'password' => env('OCTOBER_MAIL_PASSWORD'), 97 | 98 | /* 99 | |-------------------------------------------------------------------------- 100 | | Sendmail System Path 101 | |-------------------------------------------------------------------------- 102 | | 103 | | When using the "sendmail" driver to send e-mails, we will need to know 104 | | the path to where Sendmail lives on this server. A default path has 105 | | been provided here, which will work well on most of your systems. 106 | | 107 | */ 108 | 109 | 'sendmail' => '/usr/sbin/sendmail -bs', 110 | 111 | /* 112 | |-------------------------------------------------------------------------- 113 | | Mail "Pretend" 114 | |-------------------------------------------------------------------------- 115 | | 116 | | When this option is enabled, e-mail will not actually be sent over the 117 | | web and will instead be written to your application's logs files so 118 | | you may inspect the message. This is great for local development. 119 | | 120 | */ 121 | 122 | 'pretend' => env('OCTOBER_MAIL_PRETEND', false), 123 | 124 | ]; 125 | -------------------------------------------------------------------------------- /7.3/fpm/config/mail.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_MAIL_DRIVER', 'mail'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | SMTP Host Address 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may provide the host address of the SMTP server used by your 26 | | applications. A default option is provided that is compatible with 27 | | the Mailgun mail service which will provide reliable deliveries. 28 | | 29 | */ 30 | 31 | 'host' => env('OCTOBER_MAIL_HOST', 'smtp.mailgun.org'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | SMTP Host Port 36 | |-------------------------------------------------------------------------- 37 | | 38 | | This is the SMTP port used by your application to deliver e-mails to 39 | | users of the application. Like the host we have set this value to 40 | | stay compatible with the Mailgun e-mail application by default. 41 | | 42 | */ 43 | 44 | 'port' => env('OCTOBER_MAIL_PORT', 587), 45 | 46 | /* 47 | |-------------------------------------------------------------------------- 48 | | Global "From" Address 49 | |-------------------------------------------------------------------------- 50 | | 51 | | You may wish for all e-mails sent by your application to be sent from 52 | | the same address. Here, you may specify a name and address that is 53 | | used globally for all e-mails that are sent by your application. 54 | | 55 | */ 56 | 57 | 'from' => ['address' => env('OCTOBER_MAIL_FROM_ADDRESS', 'noreply@domain.tld'), 'name' => env('OCTOBER_MAIL_FROM_NAME', 'OctoberCMS')], 58 | 59 | /* 60 | |-------------------------------------------------------------------------- 61 | | E-Mail Encryption Protocol 62 | |-------------------------------------------------------------------------- 63 | | 64 | | Here you may specify the encryption protocol that should be used when 65 | | the application send e-mail messages. A sensible default using the 66 | | transport layer security protocol should provide great security. 67 | | 68 | */ 69 | 70 | 'encryption' => env('OCTOBER_MAIL_ENCRYPTION', 'tls'), 71 | 72 | /* 73 | |-------------------------------------------------------------------------- 74 | | SMTP Server Username 75 | |-------------------------------------------------------------------------- 76 | | 77 | | If your SMTP server requires a username for authentication, you should 78 | | set it here. This will get used to authenticate with your server on 79 | | connection. You may also set the "password" value below this one. 80 | | 81 | */ 82 | 83 | 'username' => env('OCTOBER_MAIL_USERNAME'), 84 | 85 | /* 86 | |-------------------------------------------------------------------------- 87 | | SMTP Server Password 88 | |-------------------------------------------------------------------------- 89 | | 90 | | Here you may set the password required by your SMTP server to send out 91 | | messages from your application. This will be given to the server on 92 | | connection so that the application will be able to send messages. 93 | | 94 | */ 95 | 96 | 'password' => env('OCTOBER_MAIL_PASSWORD'), 97 | 98 | /* 99 | |-------------------------------------------------------------------------- 100 | | Sendmail System Path 101 | |-------------------------------------------------------------------------- 102 | | 103 | | When using the "sendmail" driver to send e-mails, we will need to know 104 | | the path to where Sendmail lives on this server. A default path has 105 | | been provided here, which will work well on most of your systems. 106 | | 107 | */ 108 | 109 | 'sendmail' => '/usr/sbin/sendmail -bs', 110 | 111 | /* 112 | |-------------------------------------------------------------------------- 113 | | Mail "Pretend" 114 | |-------------------------------------------------------------------------- 115 | | 116 | | When this option is enabled, e-mail will not actually be sent over the 117 | | web and will instead be written to your application's logs files so 118 | | you may inspect the message. This is great for local development. 119 | | 120 | */ 121 | 122 | 'pretend' => env('OCTOBER_MAIL_PRETEND', false), 123 | 124 | ]; 125 | -------------------------------------------------------------------------------- /7.1/apache/config/mail.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_MAIL_DRIVER', 'mail'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | SMTP Host Address 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may provide the host address of the SMTP server used by your 26 | | applications. A default option is provided that is compatible with 27 | | the Mailgun mail service which will provide reliable deliveries. 28 | | 29 | */ 30 | 31 | 'host' => env('OCTOBER_MAIL_HOST', 'smtp.mailgun.org'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | SMTP Host Port 36 | |-------------------------------------------------------------------------- 37 | | 38 | | This is the SMTP port used by your application to deliver e-mails to 39 | | users of the application. Like the host we have set this value to 40 | | stay compatible with the Mailgun e-mail application by default. 41 | | 42 | */ 43 | 44 | 'port' => env('OCTOBER_MAIL_PORT', 587), 45 | 46 | /* 47 | |-------------------------------------------------------------------------- 48 | | Global "From" Address 49 | |-------------------------------------------------------------------------- 50 | | 51 | | You may wish for all e-mails sent by your application to be sent from 52 | | the same address. Here, you may specify a name and address that is 53 | | used globally for all e-mails that are sent by your application. 54 | | 55 | */ 56 | 57 | 'from' => ['address' => env('OCTOBER_MAIL_FROM_ADDRESS', 'noreply@domain.tld'), 'name' => env('OCTOBER_MAIL_FROM_NAME', 'OctoberCMS')], 58 | 59 | /* 60 | |-------------------------------------------------------------------------- 61 | | E-Mail Encryption Protocol 62 | |-------------------------------------------------------------------------- 63 | | 64 | | Here you may specify the encryption protocol that should be used when 65 | | the application send e-mail messages. A sensible default using the 66 | | transport layer security protocol should provide great security. 67 | | 68 | */ 69 | 70 | 'encryption' => env('OCTOBER_MAIL_ENCRYPTION', 'tls'), 71 | 72 | /* 73 | |-------------------------------------------------------------------------- 74 | | SMTP Server Username 75 | |-------------------------------------------------------------------------- 76 | | 77 | | If your SMTP server requires a username for authentication, you should 78 | | set it here. This will get used to authenticate with your server on 79 | | connection. You may also set the "password" value below this one. 80 | | 81 | */ 82 | 83 | 'username' => env('OCTOBER_MAIL_USERNAME'), 84 | 85 | /* 86 | |-------------------------------------------------------------------------- 87 | | SMTP Server Password 88 | |-------------------------------------------------------------------------- 89 | | 90 | | Here you may set the password required by your SMTP server to send out 91 | | messages from your application. This will be given to the server on 92 | | connection so that the application will be able to send messages. 93 | | 94 | */ 95 | 96 | 'password' => env('OCTOBER_MAIL_PASSWORD'), 97 | 98 | /* 99 | |-------------------------------------------------------------------------- 100 | | Sendmail System Path 101 | |-------------------------------------------------------------------------- 102 | | 103 | | When using the "sendmail" driver to send e-mails, we will need to know 104 | | the path to where Sendmail lives on this server. A default path has 105 | | been provided here, which will work well on most of your systems. 106 | | 107 | */ 108 | 109 | 'sendmail' => '/usr/sbin/sendmail -bs', 110 | 111 | /* 112 | |-------------------------------------------------------------------------- 113 | | Mail "Pretend" 114 | |-------------------------------------------------------------------------- 115 | | 116 | | When this option is enabled, e-mail will not actually be sent over the 117 | | web and will instead be written to your application's logs files so 118 | | you may inspect the message. This is great for local development. 119 | | 120 | */ 121 | 122 | 'pretend' => env('OCTOBER_MAIL_PRETEND', false), 123 | 124 | ]; 125 | -------------------------------------------------------------------------------- /7.2/apache/config/mail.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_MAIL_DRIVER', 'mail'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | SMTP Host Address 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may provide the host address of the SMTP server used by your 26 | | applications. A default option is provided that is compatible with 27 | | the Mailgun mail service which will provide reliable deliveries. 28 | | 29 | */ 30 | 31 | 'host' => env('OCTOBER_MAIL_HOST', 'smtp.mailgun.org'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | SMTP Host Port 36 | |-------------------------------------------------------------------------- 37 | | 38 | | This is the SMTP port used by your application to deliver e-mails to 39 | | users of the application. Like the host we have set this value to 40 | | stay compatible with the Mailgun e-mail application by default. 41 | | 42 | */ 43 | 44 | 'port' => env('OCTOBER_MAIL_PORT', 587), 45 | 46 | /* 47 | |-------------------------------------------------------------------------- 48 | | Global "From" Address 49 | |-------------------------------------------------------------------------- 50 | | 51 | | You may wish for all e-mails sent by your application to be sent from 52 | | the same address. Here, you may specify a name and address that is 53 | | used globally for all e-mails that are sent by your application. 54 | | 55 | */ 56 | 57 | 'from' => ['address' => env('OCTOBER_MAIL_FROM_ADDRESS', 'noreply@domain.tld'), 'name' => env('OCTOBER_MAIL_FROM_NAME', 'OctoberCMS')], 58 | 59 | /* 60 | |-------------------------------------------------------------------------- 61 | | E-Mail Encryption Protocol 62 | |-------------------------------------------------------------------------- 63 | | 64 | | Here you may specify the encryption protocol that should be used when 65 | | the application send e-mail messages. A sensible default using the 66 | | transport layer security protocol should provide great security. 67 | | 68 | */ 69 | 70 | 'encryption' => env('OCTOBER_MAIL_ENCRYPTION', 'tls'), 71 | 72 | /* 73 | |-------------------------------------------------------------------------- 74 | | SMTP Server Username 75 | |-------------------------------------------------------------------------- 76 | | 77 | | If your SMTP server requires a username for authentication, you should 78 | | set it here. This will get used to authenticate with your server on 79 | | connection. You may also set the "password" value below this one. 80 | | 81 | */ 82 | 83 | 'username' => env('OCTOBER_MAIL_USERNAME'), 84 | 85 | /* 86 | |-------------------------------------------------------------------------- 87 | | SMTP Server Password 88 | |-------------------------------------------------------------------------- 89 | | 90 | | Here you may set the password required by your SMTP server to send out 91 | | messages from your application. This will be given to the server on 92 | | connection so that the application will be able to send messages. 93 | | 94 | */ 95 | 96 | 'password' => env('OCTOBER_MAIL_PASSWORD'), 97 | 98 | /* 99 | |-------------------------------------------------------------------------- 100 | | Sendmail System Path 101 | |-------------------------------------------------------------------------- 102 | | 103 | | When using the "sendmail" driver to send e-mails, we will need to know 104 | | the path to where Sendmail lives on this server. A default path has 105 | | been provided here, which will work well on most of your systems. 106 | | 107 | */ 108 | 109 | 'sendmail' => '/usr/sbin/sendmail -bs', 110 | 111 | /* 112 | |-------------------------------------------------------------------------- 113 | | Mail "Pretend" 114 | |-------------------------------------------------------------------------- 115 | | 116 | | When this option is enabled, e-mail will not actually be sent over the 117 | | web and will instead be written to your application's logs files so 118 | | you may inspect the message. This is great for local development. 119 | | 120 | */ 121 | 122 | 'pretend' => env('OCTOBER_MAIL_PRETEND', false), 123 | 124 | ]; 125 | -------------------------------------------------------------------------------- /7.3/apache/config/mail.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_MAIL_DRIVER', 'mail'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | SMTP Host Address 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may provide the host address of the SMTP server used by your 26 | | applications. A default option is provided that is compatible with 27 | | the Mailgun mail service which will provide reliable deliveries. 28 | | 29 | */ 30 | 31 | 'host' => env('OCTOBER_MAIL_HOST', 'smtp.mailgun.org'), 32 | 33 | /* 34 | |-------------------------------------------------------------------------- 35 | | SMTP Host Port 36 | |-------------------------------------------------------------------------- 37 | | 38 | | This is the SMTP port used by your application to deliver e-mails to 39 | | users of the application. Like the host we have set this value to 40 | | stay compatible with the Mailgun e-mail application by default. 41 | | 42 | */ 43 | 44 | 'port' => env('OCTOBER_MAIL_PORT', 587), 45 | 46 | /* 47 | |-------------------------------------------------------------------------- 48 | | Global "From" Address 49 | |-------------------------------------------------------------------------- 50 | | 51 | | You may wish for all e-mails sent by your application to be sent from 52 | | the same address. Here, you may specify a name and address that is 53 | | used globally for all e-mails that are sent by your application. 54 | | 55 | */ 56 | 57 | 'from' => ['address' => env('OCTOBER_MAIL_FROM_ADDRESS', 'noreply@domain.tld'), 'name' => env('OCTOBER_MAIL_FROM_NAME', 'OctoberCMS')], 58 | 59 | /* 60 | |-------------------------------------------------------------------------- 61 | | E-Mail Encryption Protocol 62 | |-------------------------------------------------------------------------- 63 | | 64 | | Here you may specify the encryption protocol that should be used when 65 | | the application send e-mail messages. A sensible default using the 66 | | transport layer security protocol should provide great security. 67 | | 68 | */ 69 | 70 | 'encryption' => env('OCTOBER_MAIL_ENCRYPTION', 'tls'), 71 | 72 | /* 73 | |-------------------------------------------------------------------------- 74 | | SMTP Server Username 75 | |-------------------------------------------------------------------------- 76 | | 77 | | If your SMTP server requires a username for authentication, you should 78 | | set it here. This will get used to authenticate with your server on 79 | | connection. You may also set the "password" value below this one. 80 | | 81 | */ 82 | 83 | 'username' => env('OCTOBER_MAIL_USERNAME'), 84 | 85 | /* 86 | |-------------------------------------------------------------------------- 87 | | SMTP Server Password 88 | |-------------------------------------------------------------------------- 89 | | 90 | | Here you may set the password required by your SMTP server to send out 91 | | messages from your application. This will be given to the server on 92 | | connection so that the application will be able to send messages. 93 | | 94 | */ 95 | 96 | 'password' => env('OCTOBER_MAIL_PASSWORD'), 97 | 98 | /* 99 | |-------------------------------------------------------------------------- 100 | | Sendmail System Path 101 | |-------------------------------------------------------------------------- 102 | | 103 | | When using the "sendmail" driver to send e-mails, we will need to know 104 | | the path to where Sendmail lives on this server. A default path has 105 | | been provided here, which will work well on most of your systems. 106 | | 107 | */ 108 | 109 | 'sendmail' => '/usr/sbin/sendmail -bs', 110 | 111 | /* 112 | |-------------------------------------------------------------------------- 113 | | Mail "Pretend" 114 | |-------------------------------------------------------------------------- 115 | | 116 | | When this option is enabled, e-mail will not actually be sent over the 117 | | web and will instead be written to your application's logs files so 118 | | you may inspect the message. This is great for local development. 119 | | 120 | */ 121 | 122 | 'pretend' => env('OCTOBER_MAIL_PRETEND', false), 123 | 124 | ]; 125 | -------------------------------------------------------------------------------- /config/app.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_APP_DEBUG', true), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Application URL 24 | |-------------------------------------------------------------------------- 25 | | 26 | | This URL is used by the console to properly generate URLs when using 27 | | the Artisan command line tool. You should set this to the root of 28 | | your application so that it is used when running Artisan tasks. 29 | | 30 | */ 31 | 32 | 'url' => env('OCTOBER_APP_URL', 'http://localhost'), 33 | 34 | /* 35 | |-------------------------------------------------------------------------- 36 | | Application Timezone 37 | |-------------------------------------------------------------------------- 38 | | 39 | | Here you may specify the default timezone for your application, which 40 | | will be used by the PHP date and date-time functions. We have gone 41 | | ahead and set this to a sensible default for you out of the box. 42 | | 43 | */ 44 | 45 | 'timezone' => env('OCTOBER_APP_TIMEZONE', 'UTC'), 46 | 47 | /* 48 | |-------------------------------------------------------------------------- 49 | | Application Locale Configuration 50 | |-------------------------------------------------------------------------- 51 | | 52 | | The application locale determines the default locale that will be used 53 | | by the translation service provider. You are free to set this value 54 | | to any of the locales which will be supported by the application. 55 | | 56 | */ 57 | 58 | 'locale' => env('OCTOBER_APP_LOCALE', 'en'), 59 | 60 | /* 61 | |-------------------------------------------------------------------------- 62 | | Application Fallback Locale 63 | |-------------------------------------------------------------------------- 64 | | 65 | | The fallback locale determines the locale to use when the current one 66 | | is not available. You may change the value to correspond to any of 67 | | the language folders that are provided through your application. 68 | | 69 | */ 70 | 71 | 'fallback_locale' => 'en', 72 | 73 | /* 74 | |-------------------------------------------------------------------------- 75 | | Encryption Key 76 | |-------------------------------------------------------------------------- 77 | | 78 | | This key is used by the Illuminate encrypter service and should be set 79 | | to a random, 32 character string, otherwise these encrypted strings 80 | | will not be safe. Please do this before deploying an application! 81 | | 82 | */ 83 | 84 | 'key' => env('OCTOBER_APP_KEY', 'CHANGE_ME!!!!!!!'), 85 | 86 | 'cipher' => env('OCTOBER_APP_CIPHER', 'AES-256-CBC'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Logging Configuration 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Here you may configure the log settings for your application. Out of 94 | | the box, Laravel uses the Monolog PHP logging library. This gives 95 | | you a variety of powerful log handlers / formatters to utilize. 96 | | 97 | | Available Settings: "single", "daily", "syslog", "errorlog" 98 | | 99 | */ 100 | 101 | 'log' => env('OCTOBER_APP_LOG', 'single'), 102 | 103 | /* 104 | |-------------------------------------------------------------------------- 105 | | Autoloaded Service Providers 106 | |-------------------------------------------------------------------------- 107 | | 108 | | The service providers listed here will be automatically loaded on the 109 | | request to your application. Feel free to add your own services to 110 | | this array to grant expanded functionality to your applications. 111 | | 112 | */ 113 | 114 | 'providers' => array_merge(include(base_path().'/modules/system/providers.php'), [ 115 | 116 | // 'Illuminate\Html\HtmlServiceProvider', // Example 117 | 118 | 'System\ServiceProvider', 119 | ]), 120 | 121 | /* 122 | |-------------------------------------------------------------------------- 123 | | Class Aliases 124 | |-------------------------------------------------------------------------- 125 | | 126 | | This array of class aliases will be registered when this application 127 | | is started. However, feel free to register as many as you wish as 128 | | the aliases are "lazy" loaded so they don't hinder performance. 129 | | 130 | */ 131 | 132 | 'aliases' => array_merge(include(base_path().'/modules/system/aliases.php'), [ 133 | 134 | // 'Str' => 'Illuminate\Support\Str', // Example 135 | 136 | ]), 137 | 138 | ]; 139 | -------------------------------------------------------------------------------- /7.1/fpm/config/app.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_APP_DEBUG', true), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Application URL 24 | |-------------------------------------------------------------------------- 25 | | 26 | | This URL is used by the console to properly generate URLs when using 27 | | the Artisan command line tool. You should set this to the root of 28 | | your application so that it is used when running Artisan tasks. 29 | | 30 | */ 31 | 32 | 'url' => env('OCTOBER_APP_URL', 'http://localhost'), 33 | 34 | /* 35 | |-------------------------------------------------------------------------- 36 | | Application Timezone 37 | |-------------------------------------------------------------------------- 38 | | 39 | | Here you may specify the default timezone for your application, which 40 | | will be used by the PHP date and date-time functions. We have gone 41 | | ahead and set this to a sensible default for you out of the box. 42 | | 43 | */ 44 | 45 | 'timezone' => env('OCTOBER_APP_TIMEZONE', 'UTC'), 46 | 47 | /* 48 | |-------------------------------------------------------------------------- 49 | | Application Locale Configuration 50 | |-------------------------------------------------------------------------- 51 | | 52 | | The application locale determines the default locale that will be used 53 | | by the translation service provider. You are free to set this value 54 | | to any of the locales which will be supported by the application. 55 | | 56 | */ 57 | 58 | 'locale' => env('OCTOBER_APP_LOCALE', 'en'), 59 | 60 | /* 61 | |-------------------------------------------------------------------------- 62 | | Application Fallback Locale 63 | |-------------------------------------------------------------------------- 64 | | 65 | | The fallback locale determines the locale to use when the current one 66 | | is not available. You may change the value to correspond to any of 67 | | the language folders that are provided through your application. 68 | | 69 | */ 70 | 71 | 'fallback_locale' => 'en', 72 | 73 | /* 74 | |-------------------------------------------------------------------------- 75 | | Encryption Key 76 | |-------------------------------------------------------------------------- 77 | | 78 | | This key is used by the Illuminate encrypter service and should be set 79 | | to a random, 32 character string, otherwise these encrypted strings 80 | | will not be safe. Please do this before deploying an application! 81 | | 82 | */ 83 | 84 | 'key' => env('OCTOBER_APP_KEY', 'CHANGE_ME!!!!!!!'), 85 | 86 | 'cipher' => env('OCTOBER_APP_CIPHER', 'AES-256-CBC'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Logging Configuration 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Here you may configure the log settings for your application. Out of 94 | | the box, Laravel uses the Monolog PHP logging library. This gives 95 | | you a variety of powerful log handlers / formatters to utilize. 96 | | 97 | | Available Settings: "single", "daily", "syslog", "errorlog" 98 | | 99 | */ 100 | 101 | 'log' => env('OCTOBER_APP_LOG', 'single'), 102 | 103 | /* 104 | |-------------------------------------------------------------------------- 105 | | Autoloaded Service Providers 106 | |-------------------------------------------------------------------------- 107 | | 108 | | The service providers listed here will be automatically loaded on the 109 | | request to your application. Feel free to add your own services to 110 | | this array to grant expanded functionality to your applications. 111 | | 112 | */ 113 | 114 | 'providers' => array_merge(include(base_path().'/modules/system/providers.php'), [ 115 | 116 | // 'Illuminate\Html\HtmlServiceProvider', // Example 117 | 118 | 'System\ServiceProvider', 119 | ]), 120 | 121 | /* 122 | |-------------------------------------------------------------------------- 123 | | Class Aliases 124 | |-------------------------------------------------------------------------- 125 | | 126 | | This array of class aliases will be registered when this application 127 | | is started. However, feel free to register as many as you wish as 128 | | the aliases are "lazy" loaded so they don't hinder performance. 129 | | 130 | */ 131 | 132 | 'aliases' => array_merge(include(base_path().'/modules/system/aliases.php'), [ 133 | 134 | // 'Str' => 'Illuminate\Support\Str', // Example 135 | 136 | ]), 137 | 138 | ]; 139 | -------------------------------------------------------------------------------- /7.2/fpm/config/app.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_APP_DEBUG', true), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Application URL 24 | |-------------------------------------------------------------------------- 25 | | 26 | | This URL is used by the console to properly generate URLs when using 27 | | the Artisan command line tool. You should set this to the root of 28 | | your application so that it is used when running Artisan tasks. 29 | | 30 | */ 31 | 32 | 'url' => env('OCTOBER_APP_URL', 'http://localhost'), 33 | 34 | /* 35 | |-------------------------------------------------------------------------- 36 | | Application Timezone 37 | |-------------------------------------------------------------------------- 38 | | 39 | | Here you may specify the default timezone for your application, which 40 | | will be used by the PHP date and date-time functions. We have gone 41 | | ahead and set this to a sensible default for you out of the box. 42 | | 43 | */ 44 | 45 | 'timezone' => env('OCTOBER_APP_TIMEZONE', 'UTC'), 46 | 47 | /* 48 | |-------------------------------------------------------------------------- 49 | | Application Locale Configuration 50 | |-------------------------------------------------------------------------- 51 | | 52 | | The application locale determines the default locale that will be used 53 | | by the translation service provider. You are free to set this value 54 | | to any of the locales which will be supported by the application. 55 | | 56 | */ 57 | 58 | 'locale' => env('OCTOBER_APP_LOCALE', 'en'), 59 | 60 | /* 61 | |-------------------------------------------------------------------------- 62 | | Application Fallback Locale 63 | |-------------------------------------------------------------------------- 64 | | 65 | | The fallback locale determines the locale to use when the current one 66 | | is not available. You may change the value to correspond to any of 67 | | the language folders that are provided through your application. 68 | | 69 | */ 70 | 71 | 'fallback_locale' => 'en', 72 | 73 | /* 74 | |-------------------------------------------------------------------------- 75 | | Encryption Key 76 | |-------------------------------------------------------------------------- 77 | | 78 | | This key is used by the Illuminate encrypter service and should be set 79 | | to a random, 32 character string, otherwise these encrypted strings 80 | | will not be safe. Please do this before deploying an application! 81 | | 82 | */ 83 | 84 | 'key' => env('OCTOBER_APP_KEY', 'CHANGE_ME!!!!!!!'), 85 | 86 | 'cipher' => env('OCTOBER_APP_CIPHER', 'AES-256-CBC'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Logging Configuration 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Here you may configure the log settings for your application. Out of 94 | | the box, Laravel uses the Monolog PHP logging library. This gives 95 | | you a variety of powerful log handlers / formatters to utilize. 96 | | 97 | | Available Settings: "single", "daily", "syslog", "errorlog" 98 | | 99 | */ 100 | 101 | 'log' => env('OCTOBER_APP_LOG', 'single'), 102 | 103 | /* 104 | |-------------------------------------------------------------------------- 105 | | Autoloaded Service Providers 106 | |-------------------------------------------------------------------------- 107 | | 108 | | The service providers listed here will be automatically loaded on the 109 | | request to your application. Feel free to add your own services to 110 | | this array to grant expanded functionality to your applications. 111 | | 112 | */ 113 | 114 | 'providers' => array_merge(include(base_path().'/modules/system/providers.php'), [ 115 | 116 | // 'Illuminate\Html\HtmlServiceProvider', // Example 117 | 118 | 'System\ServiceProvider', 119 | ]), 120 | 121 | /* 122 | |-------------------------------------------------------------------------- 123 | | Class Aliases 124 | |-------------------------------------------------------------------------- 125 | | 126 | | This array of class aliases will be registered when this application 127 | | is started. However, feel free to register as many as you wish as 128 | | the aliases are "lazy" loaded so they don't hinder performance. 129 | | 130 | */ 131 | 132 | 'aliases' => array_merge(include(base_path().'/modules/system/aliases.php'), [ 133 | 134 | // 'Str' => 'Illuminate\Support\Str', // Example 135 | 136 | ]), 137 | 138 | ]; 139 | -------------------------------------------------------------------------------- /7.3/fpm/config/app.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_APP_DEBUG', true), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Application URL 24 | |-------------------------------------------------------------------------- 25 | | 26 | | This URL is used by the console to properly generate URLs when using 27 | | the Artisan command line tool. You should set this to the root of 28 | | your application so that it is used when running Artisan tasks. 29 | | 30 | */ 31 | 32 | 'url' => env('OCTOBER_APP_URL', 'http://localhost'), 33 | 34 | /* 35 | |-------------------------------------------------------------------------- 36 | | Application Timezone 37 | |-------------------------------------------------------------------------- 38 | | 39 | | Here you may specify the default timezone for your application, which 40 | | will be used by the PHP date and date-time functions. We have gone 41 | | ahead and set this to a sensible default for you out of the box. 42 | | 43 | */ 44 | 45 | 'timezone' => env('OCTOBER_APP_TIMEZONE', 'UTC'), 46 | 47 | /* 48 | |-------------------------------------------------------------------------- 49 | | Application Locale Configuration 50 | |-------------------------------------------------------------------------- 51 | | 52 | | The application locale determines the default locale that will be used 53 | | by the translation service provider. You are free to set this value 54 | | to any of the locales which will be supported by the application. 55 | | 56 | */ 57 | 58 | 'locale' => env('OCTOBER_APP_LOCALE', 'en'), 59 | 60 | /* 61 | |-------------------------------------------------------------------------- 62 | | Application Fallback Locale 63 | |-------------------------------------------------------------------------- 64 | | 65 | | The fallback locale determines the locale to use when the current one 66 | | is not available. You may change the value to correspond to any of 67 | | the language folders that are provided through your application. 68 | | 69 | */ 70 | 71 | 'fallback_locale' => 'en', 72 | 73 | /* 74 | |-------------------------------------------------------------------------- 75 | | Encryption Key 76 | |-------------------------------------------------------------------------- 77 | | 78 | | This key is used by the Illuminate encrypter service and should be set 79 | | to a random, 32 character string, otherwise these encrypted strings 80 | | will not be safe. Please do this before deploying an application! 81 | | 82 | */ 83 | 84 | 'key' => env('OCTOBER_APP_KEY', 'CHANGE_ME!!!!!!!'), 85 | 86 | 'cipher' => env('OCTOBER_APP_CIPHER', 'AES-256-CBC'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Logging Configuration 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Here you may configure the log settings for your application. Out of 94 | | the box, Laravel uses the Monolog PHP logging library. This gives 95 | | you a variety of powerful log handlers / formatters to utilize. 96 | | 97 | | Available Settings: "single", "daily", "syslog", "errorlog" 98 | | 99 | */ 100 | 101 | 'log' => env('OCTOBER_APP_LOG', 'single'), 102 | 103 | /* 104 | |-------------------------------------------------------------------------- 105 | | Autoloaded Service Providers 106 | |-------------------------------------------------------------------------- 107 | | 108 | | The service providers listed here will be automatically loaded on the 109 | | request to your application. Feel free to add your own services to 110 | | this array to grant expanded functionality to your applications. 111 | | 112 | */ 113 | 114 | 'providers' => array_merge(include(base_path().'/modules/system/providers.php'), [ 115 | 116 | // 'Illuminate\Html\HtmlServiceProvider', // Example 117 | 118 | 'System\ServiceProvider', 119 | ]), 120 | 121 | /* 122 | |-------------------------------------------------------------------------- 123 | | Class Aliases 124 | |-------------------------------------------------------------------------- 125 | | 126 | | This array of class aliases will be registered when this application 127 | | is started. However, feel free to register as many as you wish as 128 | | the aliases are "lazy" loaded so they don't hinder performance. 129 | | 130 | */ 131 | 132 | 'aliases' => array_merge(include(base_path().'/modules/system/aliases.php'), [ 133 | 134 | // 'Str' => 'Illuminate\Support\Str', // Example 135 | 136 | ]), 137 | 138 | ]; 139 | -------------------------------------------------------------------------------- /7.1/apache/config/app.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_APP_DEBUG', true), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Application URL 24 | |-------------------------------------------------------------------------- 25 | | 26 | | This URL is used by the console to properly generate URLs when using 27 | | the Artisan command line tool. You should set this to the root of 28 | | your application so that it is used when running Artisan tasks. 29 | | 30 | */ 31 | 32 | 'url' => env('OCTOBER_APP_URL', 'http://localhost'), 33 | 34 | /* 35 | |-------------------------------------------------------------------------- 36 | | Application Timezone 37 | |-------------------------------------------------------------------------- 38 | | 39 | | Here you may specify the default timezone for your application, which 40 | | will be used by the PHP date and date-time functions. We have gone 41 | | ahead and set this to a sensible default for you out of the box. 42 | | 43 | */ 44 | 45 | 'timezone' => env('OCTOBER_APP_TIMEZONE', 'UTC'), 46 | 47 | /* 48 | |-------------------------------------------------------------------------- 49 | | Application Locale Configuration 50 | |-------------------------------------------------------------------------- 51 | | 52 | | The application locale determines the default locale that will be used 53 | | by the translation service provider. You are free to set this value 54 | | to any of the locales which will be supported by the application. 55 | | 56 | */ 57 | 58 | 'locale' => env('OCTOBER_APP_LOCALE', 'en'), 59 | 60 | /* 61 | |-------------------------------------------------------------------------- 62 | | Application Fallback Locale 63 | |-------------------------------------------------------------------------- 64 | | 65 | | The fallback locale determines the locale to use when the current one 66 | | is not available. You may change the value to correspond to any of 67 | | the language folders that are provided through your application. 68 | | 69 | */ 70 | 71 | 'fallback_locale' => 'en', 72 | 73 | /* 74 | |-------------------------------------------------------------------------- 75 | | Encryption Key 76 | |-------------------------------------------------------------------------- 77 | | 78 | | This key is used by the Illuminate encrypter service and should be set 79 | | to a random, 32 character string, otherwise these encrypted strings 80 | | will not be safe. Please do this before deploying an application! 81 | | 82 | */ 83 | 84 | 'key' => env('OCTOBER_APP_KEY', 'CHANGE_ME!!!!!!!'), 85 | 86 | 'cipher' => env('OCTOBER_APP_CIPHER', 'AES-256-CBC'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Logging Configuration 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Here you may configure the log settings for your application. Out of 94 | | the box, Laravel uses the Monolog PHP logging library. This gives 95 | | you a variety of powerful log handlers / formatters to utilize. 96 | | 97 | | Available Settings: "single", "daily", "syslog", "errorlog" 98 | | 99 | */ 100 | 101 | 'log' => env('OCTOBER_APP_LOG', 'single'), 102 | 103 | /* 104 | |-------------------------------------------------------------------------- 105 | | Autoloaded Service Providers 106 | |-------------------------------------------------------------------------- 107 | | 108 | | The service providers listed here will be automatically loaded on the 109 | | request to your application. Feel free to add your own services to 110 | | this array to grant expanded functionality to your applications. 111 | | 112 | */ 113 | 114 | 'providers' => array_merge(include(base_path().'/modules/system/providers.php'), [ 115 | 116 | // 'Illuminate\Html\HtmlServiceProvider', // Example 117 | 118 | 'System\ServiceProvider', 119 | ]), 120 | 121 | /* 122 | |-------------------------------------------------------------------------- 123 | | Class Aliases 124 | |-------------------------------------------------------------------------- 125 | | 126 | | This array of class aliases will be registered when this application 127 | | is started. However, feel free to register as many as you wish as 128 | | the aliases are "lazy" loaded so they don't hinder performance. 129 | | 130 | */ 131 | 132 | 'aliases' => array_merge(include(base_path().'/modules/system/aliases.php'), [ 133 | 134 | // 'Str' => 'Illuminate\Support\Str', // Example 135 | 136 | ]), 137 | 138 | ]; 139 | -------------------------------------------------------------------------------- /7.2/apache/config/app.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_APP_DEBUG', true), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Application URL 24 | |-------------------------------------------------------------------------- 25 | | 26 | | This URL is used by the console to properly generate URLs when using 27 | | the Artisan command line tool. You should set this to the root of 28 | | your application so that it is used when running Artisan tasks. 29 | | 30 | */ 31 | 32 | 'url' => env('OCTOBER_APP_URL', 'http://localhost'), 33 | 34 | /* 35 | |-------------------------------------------------------------------------- 36 | | Application Timezone 37 | |-------------------------------------------------------------------------- 38 | | 39 | | Here you may specify the default timezone for your application, which 40 | | will be used by the PHP date and date-time functions. We have gone 41 | | ahead and set this to a sensible default for you out of the box. 42 | | 43 | */ 44 | 45 | 'timezone' => env('OCTOBER_APP_TIMEZONE', 'UTC'), 46 | 47 | /* 48 | |-------------------------------------------------------------------------- 49 | | Application Locale Configuration 50 | |-------------------------------------------------------------------------- 51 | | 52 | | The application locale determines the default locale that will be used 53 | | by the translation service provider. You are free to set this value 54 | | to any of the locales which will be supported by the application. 55 | | 56 | */ 57 | 58 | 'locale' => env('OCTOBER_APP_LOCALE', 'en'), 59 | 60 | /* 61 | |-------------------------------------------------------------------------- 62 | | Application Fallback Locale 63 | |-------------------------------------------------------------------------- 64 | | 65 | | The fallback locale determines the locale to use when the current one 66 | | is not available. You may change the value to correspond to any of 67 | | the language folders that are provided through your application. 68 | | 69 | */ 70 | 71 | 'fallback_locale' => 'en', 72 | 73 | /* 74 | |-------------------------------------------------------------------------- 75 | | Encryption Key 76 | |-------------------------------------------------------------------------- 77 | | 78 | | This key is used by the Illuminate encrypter service and should be set 79 | | to a random, 32 character string, otherwise these encrypted strings 80 | | will not be safe. Please do this before deploying an application! 81 | | 82 | */ 83 | 84 | 'key' => env('OCTOBER_APP_KEY', 'CHANGE_ME!!!!!!!'), 85 | 86 | 'cipher' => env('OCTOBER_APP_CIPHER', 'AES-256-CBC'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Logging Configuration 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Here you may configure the log settings for your application. Out of 94 | | the box, Laravel uses the Monolog PHP logging library. This gives 95 | | you a variety of powerful log handlers / formatters to utilize. 96 | | 97 | | Available Settings: "single", "daily", "syslog", "errorlog" 98 | | 99 | */ 100 | 101 | 'log' => env('OCTOBER_APP_LOG', 'single'), 102 | 103 | /* 104 | |-------------------------------------------------------------------------- 105 | | Autoloaded Service Providers 106 | |-------------------------------------------------------------------------- 107 | | 108 | | The service providers listed here will be automatically loaded on the 109 | | request to your application. Feel free to add your own services to 110 | | this array to grant expanded functionality to your applications. 111 | | 112 | */ 113 | 114 | 'providers' => array_merge(include(base_path().'/modules/system/providers.php'), [ 115 | 116 | // 'Illuminate\Html\HtmlServiceProvider', // Example 117 | 118 | 'System\ServiceProvider', 119 | ]), 120 | 121 | /* 122 | |-------------------------------------------------------------------------- 123 | | Class Aliases 124 | |-------------------------------------------------------------------------- 125 | | 126 | | This array of class aliases will be registered when this application 127 | | is started. However, feel free to register as many as you wish as 128 | | the aliases are "lazy" loaded so they don't hinder performance. 129 | | 130 | */ 131 | 132 | 'aliases' => array_merge(include(base_path().'/modules/system/aliases.php'), [ 133 | 134 | // 'Str' => 'Illuminate\Support\Str', // Example 135 | 136 | ]), 137 | 138 | ]; 139 | -------------------------------------------------------------------------------- /7.3/apache/config/app.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_APP_DEBUG', true), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Application URL 24 | |-------------------------------------------------------------------------- 25 | | 26 | | This URL is used by the console to properly generate URLs when using 27 | | the Artisan command line tool. You should set this to the root of 28 | | your application so that it is used when running Artisan tasks. 29 | | 30 | */ 31 | 32 | 'url' => env('OCTOBER_APP_URL', 'http://localhost'), 33 | 34 | /* 35 | |-------------------------------------------------------------------------- 36 | | Application Timezone 37 | |-------------------------------------------------------------------------- 38 | | 39 | | Here you may specify the default timezone for your application, which 40 | | will be used by the PHP date and date-time functions. We have gone 41 | | ahead and set this to a sensible default for you out of the box. 42 | | 43 | */ 44 | 45 | 'timezone' => env('OCTOBER_APP_TIMEZONE', 'UTC'), 46 | 47 | /* 48 | |-------------------------------------------------------------------------- 49 | | Application Locale Configuration 50 | |-------------------------------------------------------------------------- 51 | | 52 | | The application locale determines the default locale that will be used 53 | | by the translation service provider. You are free to set this value 54 | | to any of the locales which will be supported by the application. 55 | | 56 | */ 57 | 58 | 'locale' => env('OCTOBER_APP_LOCALE', 'en'), 59 | 60 | /* 61 | |-------------------------------------------------------------------------- 62 | | Application Fallback Locale 63 | |-------------------------------------------------------------------------- 64 | | 65 | | The fallback locale determines the locale to use when the current one 66 | | is not available. You may change the value to correspond to any of 67 | | the language folders that are provided through your application. 68 | | 69 | */ 70 | 71 | 'fallback_locale' => 'en', 72 | 73 | /* 74 | |-------------------------------------------------------------------------- 75 | | Encryption Key 76 | |-------------------------------------------------------------------------- 77 | | 78 | | This key is used by the Illuminate encrypter service and should be set 79 | | to a random, 32 character string, otherwise these encrypted strings 80 | | will not be safe. Please do this before deploying an application! 81 | | 82 | */ 83 | 84 | 'key' => env('OCTOBER_APP_KEY', 'CHANGE_ME!!!!!!!'), 85 | 86 | 'cipher' => env('OCTOBER_APP_CIPHER', 'AES-256-CBC'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Logging Configuration 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Here you may configure the log settings for your application. Out of 94 | | the box, Laravel uses the Monolog PHP logging library. This gives 95 | | you a variety of powerful log handlers / formatters to utilize. 96 | | 97 | | Available Settings: "single", "daily", "syslog", "errorlog" 98 | | 99 | */ 100 | 101 | 'log' => env('OCTOBER_APP_LOG', 'single'), 102 | 103 | /* 104 | |-------------------------------------------------------------------------- 105 | | Autoloaded Service Providers 106 | |-------------------------------------------------------------------------- 107 | | 108 | | The service providers listed here will be automatically loaded on the 109 | | request to your application. Feel free to add your own services to 110 | | this array to grant expanded functionality to your applications. 111 | | 112 | */ 113 | 114 | 'providers' => array_merge(include(base_path().'/modules/system/providers.php'), [ 115 | 116 | // 'Illuminate\Html\HtmlServiceProvider', // Example 117 | 118 | 'System\ServiceProvider', 119 | ]), 120 | 121 | /* 122 | |-------------------------------------------------------------------------- 123 | | Class Aliases 124 | |-------------------------------------------------------------------------- 125 | | 126 | | This array of class aliases will be registered when this application 127 | | is started. However, feel free to register as many as you wish as 128 | | the aliases are "lazy" loaded so they don't hinder performance. 129 | | 130 | */ 131 | 132 | 'aliases' => array_merge(include(base_path().'/modules/system/aliases.php'), [ 133 | 134 | // 'Str' => 'Illuminate\Support\Str', // Example 135 | 136 | ]), 137 | 138 | ]; 139 | -------------------------------------------------------------------------------- /config/session.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_SESSION_DRIVER', 'file'), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Session Lifetime 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Here you may specify the number of minutes that you wish the session 27 | | to be allowed to remain idle for it is expired. If you want them 28 | | to immediately expire when the browser closes, set it to zero. 29 | | 30 | */ 31 | 32 | 'lifetime' => env('OCTOBER_SESSION_LIFETIME', 120), 33 | 34 | 'expire_on_close' => false, 35 | 36 | /* 37 | |-------------------------------------------------------------------------- 38 | | Session Encryption 39 | |-------------------------------------------------------------------------- 40 | | 41 | | This option allows you to easily specify that all of your session data 42 | | should be encrypted before it is stored. All encryption will be run 43 | | automatically by Laravel and you can use the Session like normal. 44 | | 45 | */ 46 | 47 | 'encrypt' => env('OCTOBER_SESSION_ENCRYPT', false), 48 | 49 | /* 50 | |-------------------------------------------------------------------------- 51 | | Session File Location 52 | |-------------------------------------------------------------------------- 53 | | 54 | | When using the native session driver, we need a location where session 55 | | files may be stored. A default has been set for you but a different 56 | | location may be specified. This is only needed for file sessions. 57 | | 58 | */ 59 | 60 | 'files' => storage_path('framework/sessions'), 61 | 62 | /* 63 | |-------------------------------------------------------------------------- 64 | | Session Database Connection 65 | |-------------------------------------------------------------------------- 66 | | 67 | | When using the "database" session driver, you may specify the database 68 | | connection that should be used to manage your sessions. This should 69 | | correspond to a connection in your "database" configuration file. 70 | | 71 | */ 72 | 73 | 'connection' => env('OCTOBER_SESSION_CONNECTION'), 74 | 75 | /* 76 | |-------------------------------------------------------------------------- 77 | | Session Database Table 78 | |-------------------------------------------------------------------------- 79 | | 80 | | When using the "database" session driver, you may specify the table we 81 | | should use to manage the sessions. Of course, a sensible default is 82 | | provided for you; however, you are free to change this as needed. 83 | | 84 | */ 85 | 86 | 'table' => env('OCTOBER_SESSION_TABLE', 'sessions'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Session Sweeping Lottery 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Some session drivers must manually sweep their storage location to get 94 | | rid of old sessions from storage. Here are the chances that it will 95 | | happen on a given request. By default, the odds are 2 out of 100. 96 | | 97 | */ 98 | 99 | 'lottery' => [2, 100], 100 | 101 | /* 102 | |-------------------------------------------------------------------------- 103 | | Session Cookie Name 104 | |-------------------------------------------------------------------------- 105 | | 106 | | Here you may change the name of the cookie used to identify a session 107 | | instance by ID. The name specified here will get used every time a 108 | | new session cookie is created by the framework for every driver. 109 | | 110 | */ 111 | 112 | 'cookie' => env('OCTOBER_SESSION_COOKIE', 'october_session'), 113 | 114 | /* 115 | |-------------------------------------------------------------------------- 116 | | Session Cookie Path 117 | |-------------------------------------------------------------------------- 118 | | 119 | | The session cookie path determines the path for which the cookie will 120 | | be regarded as available. Typically, this will be the root path of 121 | | your application but you are free to change this when necessary. 122 | | 123 | */ 124 | 125 | 'path' => env('OCTOBER_SESSION_PATH', '/'), 126 | 127 | /* 128 | |-------------------------------------------------------------------------- 129 | | Session Cookie Domain 130 | |-------------------------------------------------------------------------- 131 | | 132 | | Here you may change the domain of the cookie used to identify a session 133 | | in your application. This will determine which domains the cookie is 134 | | available to in your application. A sensible default has been set. 135 | | 136 | */ 137 | 138 | 'domain' => env('OCTOBER_SESSION_DOMAIN'), 139 | 140 | /* 141 | |-------------------------------------------------------------------------- 142 | | HTTPS Only Cookies 143 | |-------------------------------------------------------------------------- 144 | | 145 | | By setting this option to true, session cookies will only be sent back 146 | | to the server if the browser has a HTTPS connection. This will keep 147 | | the cookie from being sent to you if it can not be done securely. 148 | | 149 | */ 150 | 151 | 'secure' => env('OCTOBER_SESSION_SECURE', false), 152 | 153 | ]; -------------------------------------------------------------------------------- /7.1/apache/config/session.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_SESSION_DRIVER', 'file'), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Session Lifetime 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Here you may specify the number of minutes that you wish the session 27 | | to be allowed to remain idle for it is expired. If you want them 28 | | to immediately expire when the browser closes, set it to zero. 29 | | 30 | */ 31 | 32 | 'lifetime' => env('OCTOBER_SESSION_LIFETIME', 120), 33 | 34 | 'expire_on_close' => false, 35 | 36 | /* 37 | |-------------------------------------------------------------------------- 38 | | Session Encryption 39 | |-------------------------------------------------------------------------- 40 | | 41 | | This option allows you to easily specify that all of your session data 42 | | should be encrypted before it is stored. All encryption will be run 43 | | automatically by Laravel and you can use the Session like normal. 44 | | 45 | */ 46 | 47 | 'encrypt' => env('OCTOBER_SESSION_ENCRYPT', false), 48 | 49 | /* 50 | |-------------------------------------------------------------------------- 51 | | Session File Location 52 | |-------------------------------------------------------------------------- 53 | | 54 | | When using the native session driver, we need a location where session 55 | | files may be stored. A default has been set for you but a different 56 | | location may be specified. This is only needed for file sessions. 57 | | 58 | */ 59 | 60 | 'files' => storage_path('framework/sessions'), 61 | 62 | /* 63 | |-------------------------------------------------------------------------- 64 | | Session Database Connection 65 | |-------------------------------------------------------------------------- 66 | | 67 | | When using the "database" session driver, you may specify the database 68 | | connection that should be used to manage your sessions. This should 69 | | correspond to a connection in your "database" configuration file. 70 | | 71 | */ 72 | 73 | 'connection' => env('OCTOBER_SESSION_CONNECTION'), 74 | 75 | /* 76 | |-------------------------------------------------------------------------- 77 | | Session Database Table 78 | |-------------------------------------------------------------------------- 79 | | 80 | | When using the "database" session driver, you may specify the table we 81 | | should use to manage the sessions. Of course, a sensible default is 82 | | provided for you; however, you are free to change this as needed. 83 | | 84 | */ 85 | 86 | 'table' => env('OCTOBER_SESSION_TABLE', 'sessions'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Session Sweeping Lottery 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Some session drivers must manually sweep their storage location to get 94 | | rid of old sessions from storage. Here are the chances that it will 95 | | happen on a given request. By default, the odds are 2 out of 100. 96 | | 97 | */ 98 | 99 | 'lottery' => [2, 100], 100 | 101 | /* 102 | |-------------------------------------------------------------------------- 103 | | Session Cookie Name 104 | |-------------------------------------------------------------------------- 105 | | 106 | | Here you may change the name of the cookie used to identify a session 107 | | instance by ID. The name specified here will get used every time a 108 | | new session cookie is created by the framework for every driver. 109 | | 110 | */ 111 | 112 | 'cookie' => env('OCTOBER_SESSION_COOKIE', 'october_session'), 113 | 114 | /* 115 | |-------------------------------------------------------------------------- 116 | | Session Cookie Path 117 | |-------------------------------------------------------------------------- 118 | | 119 | | The session cookie path determines the path for which the cookie will 120 | | be regarded as available. Typically, this will be the root path of 121 | | your application but you are free to change this when necessary. 122 | | 123 | */ 124 | 125 | 'path' => env('OCTOBER_SESSION_PATH', '/'), 126 | 127 | /* 128 | |-------------------------------------------------------------------------- 129 | | Session Cookie Domain 130 | |-------------------------------------------------------------------------- 131 | | 132 | | Here you may change the domain of the cookie used to identify a session 133 | | in your application. This will determine which domains the cookie is 134 | | available to in your application. A sensible default has been set. 135 | | 136 | */ 137 | 138 | 'domain' => env('OCTOBER_SESSION_DOMAIN'), 139 | 140 | /* 141 | |-------------------------------------------------------------------------- 142 | | HTTPS Only Cookies 143 | |-------------------------------------------------------------------------- 144 | | 145 | | By setting this option to true, session cookies will only be sent back 146 | | to the server if the browser has a HTTPS connection. This will keep 147 | | the cookie from being sent to you if it can not be done securely. 148 | | 149 | */ 150 | 151 | 'secure' => env('OCTOBER_SESSION_SECURE', false), 152 | 153 | ]; -------------------------------------------------------------------------------- /7.1/fpm/config/session.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_SESSION_DRIVER', 'file'), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Session Lifetime 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Here you may specify the number of minutes that you wish the session 27 | | to be allowed to remain idle for it is expired. If you want them 28 | | to immediately expire when the browser closes, set it to zero. 29 | | 30 | */ 31 | 32 | 'lifetime' => env('OCTOBER_SESSION_LIFETIME', 120), 33 | 34 | 'expire_on_close' => false, 35 | 36 | /* 37 | |-------------------------------------------------------------------------- 38 | | Session Encryption 39 | |-------------------------------------------------------------------------- 40 | | 41 | | This option allows you to easily specify that all of your session data 42 | | should be encrypted before it is stored. All encryption will be run 43 | | automatically by Laravel and you can use the Session like normal. 44 | | 45 | */ 46 | 47 | 'encrypt' => env('OCTOBER_SESSION_ENCRYPT', false), 48 | 49 | /* 50 | |-------------------------------------------------------------------------- 51 | | Session File Location 52 | |-------------------------------------------------------------------------- 53 | | 54 | | When using the native session driver, we need a location where session 55 | | files may be stored. A default has been set for you but a different 56 | | location may be specified. This is only needed for file sessions. 57 | | 58 | */ 59 | 60 | 'files' => storage_path('framework/sessions'), 61 | 62 | /* 63 | |-------------------------------------------------------------------------- 64 | | Session Database Connection 65 | |-------------------------------------------------------------------------- 66 | | 67 | | When using the "database" session driver, you may specify the database 68 | | connection that should be used to manage your sessions. This should 69 | | correspond to a connection in your "database" configuration file. 70 | | 71 | */ 72 | 73 | 'connection' => env('OCTOBER_SESSION_CONNECTION'), 74 | 75 | /* 76 | |-------------------------------------------------------------------------- 77 | | Session Database Table 78 | |-------------------------------------------------------------------------- 79 | | 80 | | When using the "database" session driver, you may specify the table we 81 | | should use to manage the sessions. Of course, a sensible default is 82 | | provided for you; however, you are free to change this as needed. 83 | | 84 | */ 85 | 86 | 'table' => env('OCTOBER_SESSION_TABLE', 'sessions'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Session Sweeping Lottery 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Some session drivers must manually sweep their storage location to get 94 | | rid of old sessions from storage. Here are the chances that it will 95 | | happen on a given request. By default, the odds are 2 out of 100. 96 | | 97 | */ 98 | 99 | 'lottery' => [2, 100], 100 | 101 | /* 102 | |-------------------------------------------------------------------------- 103 | | Session Cookie Name 104 | |-------------------------------------------------------------------------- 105 | | 106 | | Here you may change the name of the cookie used to identify a session 107 | | instance by ID. The name specified here will get used every time a 108 | | new session cookie is created by the framework for every driver. 109 | | 110 | */ 111 | 112 | 'cookie' => env('OCTOBER_SESSION_COOKIE', 'october_session'), 113 | 114 | /* 115 | |-------------------------------------------------------------------------- 116 | | Session Cookie Path 117 | |-------------------------------------------------------------------------- 118 | | 119 | | The session cookie path determines the path for which the cookie will 120 | | be regarded as available. Typically, this will be the root path of 121 | | your application but you are free to change this when necessary. 122 | | 123 | */ 124 | 125 | 'path' => env('OCTOBER_SESSION_PATH', '/'), 126 | 127 | /* 128 | |-------------------------------------------------------------------------- 129 | | Session Cookie Domain 130 | |-------------------------------------------------------------------------- 131 | | 132 | | Here you may change the domain of the cookie used to identify a session 133 | | in your application. This will determine which domains the cookie is 134 | | available to in your application. A sensible default has been set. 135 | | 136 | */ 137 | 138 | 'domain' => env('OCTOBER_SESSION_DOMAIN'), 139 | 140 | /* 141 | |-------------------------------------------------------------------------- 142 | | HTTPS Only Cookies 143 | |-------------------------------------------------------------------------- 144 | | 145 | | By setting this option to true, session cookies will only be sent back 146 | | to the server if the browser has a HTTPS connection. This will keep 147 | | the cookie from being sent to you if it can not be done securely. 148 | | 149 | */ 150 | 151 | 'secure' => env('OCTOBER_SESSION_SECURE', false), 152 | 153 | ]; -------------------------------------------------------------------------------- /7.2/apache/config/session.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_SESSION_DRIVER', 'file'), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Session Lifetime 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Here you may specify the number of minutes that you wish the session 27 | | to be allowed to remain idle for it is expired. If you want them 28 | | to immediately expire when the browser closes, set it to zero. 29 | | 30 | */ 31 | 32 | 'lifetime' => env('OCTOBER_SESSION_LIFETIME', 120), 33 | 34 | 'expire_on_close' => false, 35 | 36 | /* 37 | |-------------------------------------------------------------------------- 38 | | Session Encryption 39 | |-------------------------------------------------------------------------- 40 | | 41 | | This option allows you to easily specify that all of your session data 42 | | should be encrypted before it is stored. All encryption will be run 43 | | automatically by Laravel and you can use the Session like normal. 44 | | 45 | */ 46 | 47 | 'encrypt' => env('OCTOBER_SESSION_ENCRYPT', false), 48 | 49 | /* 50 | |-------------------------------------------------------------------------- 51 | | Session File Location 52 | |-------------------------------------------------------------------------- 53 | | 54 | | When using the native session driver, we need a location where session 55 | | files may be stored. A default has been set for you but a different 56 | | location may be specified. This is only needed for file sessions. 57 | | 58 | */ 59 | 60 | 'files' => storage_path('framework/sessions'), 61 | 62 | /* 63 | |-------------------------------------------------------------------------- 64 | | Session Database Connection 65 | |-------------------------------------------------------------------------- 66 | | 67 | | When using the "database" session driver, you may specify the database 68 | | connection that should be used to manage your sessions. This should 69 | | correspond to a connection in your "database" configuration file. 70 | | 71 | */ 72 | 73 | 'connection' => env('OCTOBER_SESSION_CONNECTION'), 74 | 75 | /* 76 | |-------------------------------------------------------------------------- 77 | | Session Database Table 78 | |-------------------------------------------------------------------------- 79 | | 80 | | When using the "database" session driver, you may specify the table we 81 | | should use to manage the sessions. Of course, a sensible default is 82 | | provided for you; however, you are free to change this as needed. 83 | | 84 | */ 85 | 86 | 'table' => env('OCTOBER_SESSION_TABLE', 'sessions'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Session Sweeping Lottery 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Some session drivers must manually sweep their storage location to get 94 | | rid of old sessions from storage. Here are the chances that it will 95 | | happen on a given request. By default, the odds are 2 out of 100. 96 | | 97 | */ 98 | 99 | 'lottery' => [2, 100], 100 | 101 | /* 102 | |-------------------------------------------------------------------------- 103 | | Session Cookie Name 104 | |-------------------------------------------------------------------------- 105 | | 106 | | Here you may change the name of the cookie used to identify a session 107 | | instance by ID. The name specified here will get used every time a 108 | | new session cookie is created by the framework for every driver. 109 | | 110 | */ 111 | 112 | 'cookie' => env('OCTOBER_SESSION_COOKIE', 'october_session'), 113 | 114 | /* 115 | |-------------------------------------------------------------------------- 116 | | Session Cookie Path 117 | |-------------------------------------------------------------------------- 118 | | 119 | | The session cookie path determines the path for which the cookie will 120 | | be regarded as available. Typically, this will be the root path of 121 | | your application but you are free to change this when necessary. 122 | | 123 | */ 124 | 125 | 'path' => env('OCTOBER_SESSION_PATH', '/'), 126 | 127 | /* 128 | |-------------------------------------------------------------------------- 129 | | Session Cookie Domain 130 | |-------------------------------------------------------------------------- 131 | | 132 | | Here you may change the domain of the cookie used to identify a session 133 | | in your application. This will determine which domains the cookie is 134 | | available to in your application. A sensible default has been set. 135 | | 136 | */ 137 | 138 | 'domain' => env('OCTOBER_SESSION_DOMAIN'), 139 | 140 | /* 141 | |-------------------------------------------------------------------------- 142 | | HTTPS Only Cookies 143 | |-------------------------------------------------------------------------- 144 | | 145 | | By setting this option to true, session cookies will only be sent back 146 | | to the server if the browser has a HTTPS connection. This will keep 147 | | the cookie from being sent to you if it can not be done securely. 148 | | 149 | */ 150 | 151 | 'secure' => env('OCTOBER_SESSION_SECURE', false), 152 | 153 | ]; -------------------------------------------------------------------------------- /7.2/fpm/config/session.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_SESSION_DRIVER', 'file'), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Session Lifetime 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Here you may specify the number of minutes that you wish the session 27 | | to be allowed to remain idle for it is expired. If you want them 28 | | to immediately expire when the browser closes, set it to zero. 29 | | 30 | */ 31 | 32 | 'lifetime' => env('OCTOBER_SESSION_LIFETIME', 120), 33 | 34 | 'expire_on_close' => false, 35 | 36 | /* 37 | |-------------------------------------------------------------------------- 38 | | Session Encryption 39 | |-------------------------------------------------------------------------- 40 | | 41 | | This option allows you to easily specify that all of your session data 42 | | should be encrypted before it is stored. All encryption will be run 43 | | automatically by Laravel and you can use the Session like normal. 44 | | 45 | */ 46 | 47 | 'encrypt' => env('OCTOBER_SESSION_ENCRYPT', false), 48 | 49 | /* 50 | |-------------------------------------------------------------------------- 51 | | Session File Location 52 | |-------------------------------------------------------------------------- 53 | | 54 | | When using the native session driver, we need a location where session 55 | | files may be stored. A default has been set for you but a different 56 | | location may be specified. This is only needed for file sessions. 57 | | 58 | */ 59 | 60 | 'files' => storage_path('framework/sessions'), 61 | 62 | /* 63 | |-------------------------------------------------------------------------- 64 | | Session Database Connection 65 | |-------------------------------------------------------------------------- 66 | | 67 | | When using the "database" session driver, you may specify the database 68 | | connection that should be used to manage your sessions. This should 69 | | correspond to a connection in your "database" configuration file. 70 | | 71 | */ 72 | 73 | 'connection' => env('OCTOBER_SESSION_CONNECTION'), 74 | 75 | /* 76 | |-------------------------------------------------------------------------- 77 | | Session Database Table 78 | |-------------------------------------------------------------------------- 79 | | 80 | | When using the "database" session driver, you may specify the table we 81 | | should use to manage the sessions. Of course, a sensible default is 82 | | provided for you; however, you are free to change this as needed. 83 | | 84 | */ 85 | 86 | 'table' => env('OCTOBER_SESSION_TABLE', 'sessions'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Session Sweeping Lottery 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Some session drivers must manually sweep their storage location to get 94 | | rid of old sessions from storage. Here are the chances that it will 95 | | happen on a given request. By default, the odds are 2 out of 100. 96 | | 97 | */ 98 | 99 | 'lottery' => [2, 100], 100 | 101 | /* 102 | |-------------------------------------------------------------------------- 103 | | Session Cookie Name 104 | |-------------------------------------------------------------------------- 105 | | 106 | | Here you may change the name of the cookie used to identify a session 107 | | instance by ID. The name specified here will get used every time a 108 | | new session cookie is created by the framework for every driver. 109 | | 110 | */ 111 | 112 | 'cookie' => env('OCTOBER_SESSION_COOKIE', 'october_session'), 113 | 114 | /* 115 | |-------------------------------------------------------------------------- 116 | | Session Cookie Path 117 | |-------------------------------------------------------------------------- 118 | | 119 | | The session cookie path determines the path for which the cookie will 120 | | be regarded as available. Typically, this will be the root path of 121 | | your application but you are free to change this when necessary. 122 | | 123 | */ 124 | 125 | 'path' => env('OCTOBER_SESSION_PATH', '/'), 126 | 127 | /* 128 | |-------------------------------------------------------------------------- 129 | | Session Cookie Domain 130 | |-------------------------------------------------------------------------- 131 | | 132 | | Here you may change the domain of the cookie used to identify a session 133 | | in your application. This will determine which domains the cookie is 134 | | available to in your application. A sensible default has been set. 135 | | 136 | */ 137 | 138 | 'domain' => env('OCTOBER_SESSION_DOMAIN'), 139 | 140 | /* 141 | |-------------------------------------------------------------------------- 142 | | HTTPS Only Cookies 143 | |-------------------------------------------------------------------------- 144 | | 145 | | By setting this option to true, session cookies will only be sent back 146 | | to the server if the browser has a HTTPS connection. This will keep 147 | | the cookie from being sent to you if it can not be done securely. 148 | | 149 | */ 150 | 151 | 'secure' => env('OCTOBER_SESSION_SECURE', false), 152 | 153 | ]; -------------------------------------------------------------------------------- /7.3/apache/config/session.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_SESSION_DRIVER', 'file'), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Session Lifetime 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Here you may specify the number of minutes that you wish the session 27 | | to be allowed to remain idle for it is expired. If you want them 28 | | to immediately expire when the browser closes, set it to zero. 29 | | 30 | */ 31 | 32 | 'lifetime' => env('OCTOBER_SESSION_LIFETIME', 120), 33 | 34 | 'expire_on_close' => false, 35 | 36 | /* 37 | |-------------------------------------------------------------------------- 38 | | Session Encryption 39 | |-------------------------------------------------------------------------- 40 | | 41 | | This option allows you to easily specify that all of your session data 42 | | should be encrypted before it is stored. All encryption will be run 43 | | automatically by Laravel and you can use the Session like normal. 44 | | 45 | */ 46 | 47 | 'encrypt' => env('OCTOBER_SESSION_ENCRYPT', false), 48 | 49 | /* 50 | |-------------------------------------------------------------------------- 51 | | Session File Location 52 | |-------------------------------------------------------------------------- 53 | | 54 | | When using the native session driver, we need a location where session 55 | | files may be stored. A default has been set for you but a different 56 | | location may be specified. This is only needed for file sessions. 57 | | 58 | */ 59 | 60 | 'files' => storage_path('framework/sessions'), 61 | 62 | /* 63 | |-------------------------------------------------------------------------- 64 | | Session Database Connection 65 | |-------------------------------------------------------------------------- 66 | | 67 | | When using the "database" session driver, you may specify the database 68 | | connection that should be used to manage your sessions. This should 69 | | correspond to a connection in your "database" configuration file. 70 | | 71 | */ 72 | 73 | 'connection' => env('OCTOBER_SESSION_CONNECTION'), 74 | 75 | /* 76 | |-------------------------------------------------------------------------- 77 | | Session Database Table 78 | |-------------------------------------------------------------------------- 79 | | 80 | | When using the "database" session driver, you may specify the table we 81 | | should use to manage the sessions. Of course, a sensible default is 82 | | provided for you; however, you are free to change this as needed. 83 | | 84 | */ 85 | 86 | 'table' => env('OCTOBER_SESSION_TABLE', 'sessions'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Session Sweeping Lottery 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Some session drivers must manually sweep their storage location to get 94 | | rid of old sessions from storage. Here are the chances that it will 95 | | happen on a given request. By default, the odds are 2 out of 100. 96 | | 97 | */ 98 | 99 | 'lottery' => [2, 100], 100 | 101 | /* 102 | |-------------------------------------------------------------------------- 103 | | Session Cookie Name 104 | |-------------------------------------------------------------------------- 105 | | 106 | | Here you may change the name of the cookie used to identify a session 107 | | instance by ID. The name specified here will get used every time a 108 | | new session cookie is created by the framework for every driver. 109 | | 110 | */ 111 | 112 | 'cookie' => env('OCTOBER_SESSION_COOKIE', 'october_session'), 113 | 114 | /* 115 | |-------------------------------------------------------------------------- 116 | | Session Cookie Path 117 | |-------------------------------------------------------------------------- 118 | | 119 | | The session cookie path determines the path for which the cookie will 120 | | be regarded as available. Typically, this will be the root path of 121 | | your application but you are free to change this when necessary. 122 | | 123 | */ 124 | 125 | 'path' => env('OCTOBER_SESSION_PATH', '/'), 126 | 127 | /* 128 | |-------------------------------------------------------------------------- 129 | | Session Cookie Domain 130 | |-------------------------------------------------------------------------- 131 | | 132 | | Here you may change the domain of the cookie used to identify a session 133 | | in your application. This will determine which domains the cookie is 134 | | available to in your application. A sensible default has been set. 135 | | 136 | */ 137 | 138 | 'domain' => env('OCTOBER_SESSION_DOMAIN'), 139 | 140 | /* 141 | |-------------------------------------------------------------------------- 142 | | HTTPS Only Cookies 143 | |-------------------------------------------------------------------------- 144 | | 145 | | By setting this option to true, session cookies will only be sent back 146 | | to the server if the browser has a HTTPS connection. This will keep 147 | | the cookie from being sent to you if it can not be done securely. 148 | | 149 | */ 150 | 151 | 'secure' => env('OCTOBER_SESSION_SECURE', false), 152 | 153 | ]; -------------------------------------------------------------------------------- /7.3/fpm/config/session.php: -------------------------------------------------------------------------------- 1 | env('OCTOBER_SESSION_DRIVER', 'file'), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Session Lifetime 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Here you may specify the number of minutes that you wish the session 27 | | to be allowed to remain idle for it is expired. If you want them 28 | | to immediately expire when the browser closes, set it to zero. 29 | | 30 | */ 31 | 32 | 'lifetime' => env('OCTOBER_SESSION_LIFETIME', 120), 33 | 34 | 'expire_on_close' => false, 35 | 36 | /* 37 | |-------------------------------------------------------------------------- 38 | | Session Encryption 39 | |-------------------------------------------------------------------------- 40 | | 41 | | This option allows you to easily specify that all of your session data 42 | | should be encrypted before it is stored. All encryption will be run 43 | | automatically by Laravel and you can use the Session like normal. 44 | | 45 | */ 46 | 47 | 'encrypt' => env('OCTOBER_SESSION_ENCRYPT', false), 48 | 49 | /* 50 | |-------------------------------------------------------------------------- 51 | | Session File Location 52 | |-------------------------------------------------------------------------- 53 | | 54 | | When using the native session driver, we need a location where session 55 | | files may be stored. A default has been set for you but a different 56 | | location may be specified. This is only needed for file sessions. 57 | | 58 | */ 59 | 60 | 'files' => storage_path('framework/sessions'), 61 | 62 | /* 63 | |-------------------------------------------------------------------------- 64 | | Session Database Connection 65 | |-------------------------------------------------------------------------- 66 | | 67 | | When using the "database" session driver, you may specify the database 68 | | connection that should be used to manage your sessions. This should 69 | | correspond to a connection in your "database" configuration file. 70 | | 71 | */ 72 | 73 | 'connection' => env('OCTOBER_SESSION_CONNECTION'), 74 | 75 | /* 76 | |-------------------------------------------------------------------------- 77 | | Session Database Table 78 | |-------------------------------------------------------------------------- 79 | | 80 | | When using the "database" session driver, you may specify the table we 81 | | should use to manage the sessions. Of course, a sensible default is 82 | | provided for you; however, you are free to change this as needed. 83 | | 84 | */ 85 | 86 | 'table' => env('OCTOBER_SESSION_TABLE', 'sessions'), 87 | 88 | /* 89 | |-------------------------------------------------------------------------- 90 | | Session Sweeping Lottery 91 | |-------------------------------------------------------------------------- 92 | | 93 | | Some session drivers must manually sweep their storage location to get 94 | | rid of old sessions from storage. Here are the chances that it will 95 | | happen on a given request. By default, the odds are 2 out of 100. 96 | | 97 | */ 98 | 99 | 'lottery' => [2, 100], 100 | 101 | /* 102 | |-------------------------------------------------------------------------- 103 | | Session Cookie Name 104 | |-------------------------------------------------------------------------- 105 | | 106 | | Here you may change the name of the cookie used to identify a session 107 | | instance by ID. The name specified here will get used every time a 108 | | new session cookie is created by the framework for every driver. 109 | | 110 | */ 111 | 112 | 'cookie' => env('OCTOBER_SESSION_COOKIE', 'october_session'), 113 | 114 | /* 115 | |-------------------------------------------------------------------------- 116 | | Session Cookie Path 117 | |-------------------------------------------------------------------------- 118 | | 119 | | The session cookie path determines the path for which the cookie will 120 | | be regarded as available. Typically, this will be the root path of 121 | | your application but you are free to change this when necessary. 122 | | 123 | */ 124 | 125 | 'path' => env('OCTOBER_SESSION_PATH', '/'), 126 | 127 | /* 128 | |-------------------------------------------------------------------------- 129 | | Session Cookie Domain 130 | |-------------------------------------------------------------------------- 131 | | 132 | | Here you may change the domain of the cookie used to identify a session 133 | | in your application. This will determine which domains the cookie is 134 | | available to in your application. A sensible default has been set. 135 | | 136 | */ 137 | 138 | 'domain' => env('OCTOBER_SESSION_DOMAIN'), 139 | 140 | /* 141 | |-------------------------------------------------------------------------- 142 | | HTTPS Only Cookies 143 | |-------------------------------------------------------------------------- 144 | | 145 | | By setting this option to true, session cookies will only be sent back 146 | | to the server if the browser has a HTTPS connection. This will keep 147 | | the cookie from being sent to you if it can not be done securely. 148 | | 149 | */ 150 | 151 | 'secure' => env('OCTOBER_SESSION_SECURE', false), 152 | 153 | ]; --------------------------------------------------------------------------------