diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..a67406e4 --- /dev/null +++ b/.env.example @@ -0,0 +1,39 @@ +APP_NAME="NH Gooi" +APP_ENV=production +APP_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx +APP_DEBUG=false +APP_LOG_LEVEL=error +APP_URL=https://dev.nhgooi.nl +IMAGE_BASE_URL=https://dev.nhgooi.nl + +API_URL=https://api.nhgooi.nl/ + +BROADCAST_DRIVER=log +CACHE_DRIVER=file +SESSION_DRIVER=file +QUEUE_DRIVER=sync + +REDIS_HOST=127.0.0.1 +REDIS_PASSWORD=null +REDIS_PORT=6379 + +MAIL_DRIVER=smtp +MAIL_HOST=in-v3.mailjet.com +MAIL_PORT=25 +MAIL_USERNAME=mailjet_username +MAIL_PASSWORD=mailjet_password +MAIL_ENCRYPTION=null + +PUSHER_APP_ID= +PUSHER_APP_KEY= +PUSHER_APP_SECRET= + +DB_CONNECTION=mysql +DB_HOST=nhgooi.nl +DB_PORT=3306 +DB_DATABASE=dbname +DB_USERNAME=6fmstats +DB_PASSWORD=dbpass + +CACHE_DRIVER=file +QUEUE_DRIVER=sync diff --git a/Dockerfile b/Dockerfile index 25380e43..a9f8456c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer ADD docker/apache.conf /etc/apache2/sites-enabled/000-default.conf WORKDIR /var/www/html -COPY . /var/www/html +# COPY . /var/www/html RUN mkdir -p storage/framework/{sessions,views,cache,cache/data} && \ chown -R www-data:www-data storage/framework && \ @@ -35,4 +35,4 @@ RUN mkdir -p storage/framework/{sessions,views,cache,cache/data} && \ # RUN php artisan cache:clear && \ # php artisan config:clear && \ -# php artisan view:clear \ No newline at end of file +# php artisan view:clear diff --git a/docker/apache.conf b/docker/apache.conf index 48de3180..9b5036c3 100644 --- a/docker/apache.conf +++ b/docker/apache.conf @@ -6,9 +6,9 @@ ServerTokens Prod ServerName localhost ServerAdmin support@websight.nl - DocumentRoot /var/www/html/public + DocumentRoot /var/www/html - + Options -Indexes +FollowSymLinks +MultiViews AllowOverride All Order deny,allow @@ -23,7 +23,7 @@ ServerTokens Prod ServerName localhost ServerAdmin support@websight.nl - DocumentRoot /var/www/html/public + DocumentRoot /var/www/html SSLEngine on SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem @@ -32,7 +32,7 @@ ServerTokens Prod SSLProtocol All -SSLv2 -SSLv3 SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH - + Options -Indexes +FollowSymLinks +MultiViews AllowOverride All Order deny,allow diff --git a/phpinfo.php b/phpinfo.php deleted file mode 100644 index c4837a32..00000000 --- a/phpinfo.php +++ /dev/null @@ -1 +0,0 @@ -