1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

Typo and unusual default configuration and link to prebuild image

This commit is contained in:
Thoralf Rickert-Wendt 2022-02-04 12:24:10 +01:00
parent 20372e7e73
commit aaa9b47ff1
4 changed files with 10 additions and 9 deletions

View file

@ -95,6 +95,8 @@ RUN chmod 755 /usr/local/bin/docker-entrypoint && \
chown -R www-data:www-data /var/www/html/AVideo && \
cd /var/www/html/AVideo/plugin/User_Location/install && \
unzip install.zip && \
sed -i 's/^post_max_size.*$/post_max_size = 100M/' /etc/php/7.4/apache2/php.ini && \
sed -i 's/^upload_max_filesize.*$/upload_max_filesize = 100M/' /etc/php/7.4/apache2/php.ini && \
a2enmod rewrite expires headers ssl xsendfile
VOLUME /var/www/tmp

View file

@ -198,7 +198,7 @@ docker-compose up --build -d
In production you should remove the phpmyadmin image by setting `ENABLE_PHPMYADMIN=no`.
Also we're working on a prebuild image.
Also we're working on a prebuild image. So you can use the image from [Docker hub](https://hub.docker.com/r/trickert76/avideo-platform/tags).
# Roadmap

View file

@ -2,10 +2,10 @@
ServerName SERVER_NAME
ServerAdmin webmaster@localhost
DocumentRoot "/var/www/html/AVideo"
ErrorLog /dev/stderr
TransferLog /dev/stdout
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI}
@ -18,7 +18,7 @@
ErrorLog /dev/stderr
TransferLog /dev/stdout
SSLEngine on
SSLCertificateFile TLS_CERTIFICATE_FILE
SSLCertificateKeyFile TLS_CERTIFICATE_KEY
@ -33,4 +33,3 @@
Order Allow,Deny
Allow from All
</Directory>

View file

@ -230,7 +230,7 @@ require_once '../locale/function.php';
<div class="form-group">
<label for="databaseHost">Database Host</label>
<input type="text" class="form-control" id="databaseHost" placeholder="Enter Database Host" value="localhost" required="required">
<input type="text" class="form-control" id="databaseHost" placeholder="Enter Database Host" value="database" required="required">
</div>
<div class="form-group">
<label for="databasePort">Database Port</label>
@ -238,7 +238,7 @@ require_once '../locale/function.php';
</div>
<div class="form-group">
<label for="databaseUser">Database User</label>
<input type="text" class="form-control" id="databaseUser" placeholder="Enter Database User" value="root" required="required">
<input type="text" class="form-control" id="databaseUser" placeholder="Enter Database User" value="avideo" required="required">
</div>
<div class="form-group">
<label for="databasePass">Database Password</label>
@ -247,7 +247,7 @@ require_once '../locale/function.php';
</div>
<div class="form-group">
<label for="databaseName">Database Name</label>
<input type="text" class="form-control" id="databaseName" placeholder="Enter Database Name" value="aVideo" required="required">
<input type="text" class="form-control" id="databaseName" placeholder="Enter Database Name" value="avideo" required="required">
</div>
<div class="form-group">
<label for="createTables">Do you want to create database and tables?</label><br>
@ -339,7 +339,7 @@ require_once '../locale/function.php';
if (xhr.status == 404) {
avideoAlert("Sorry!", "Your Site URL is wrong!", "error");
} else {
avideoAlert("Sorry!", "Unknow error!", "error");
avideoAlert("Sorry!", "Unknown error!", "error");
}
}
});