mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update docker config
This commit is contained in:
parent
d0504280bc
commit
a2c88bfe74
3 changed files with 6 additions and 3 deletions
|
@ -133,6 +133,9 @@ echo "Deny from all" > /var/www/html/AVideo/.compose/.htaccess
|
|||
echo "entrypoint -- Running updatedb script..."
|
||||
cd /var/www/html/AVideo/install && php updatedb.php
|
||||
|
||||
echo "entrypoint -- install database ..."
|
||||
cd /var/www/html/AVideo/Encoder/ && git pull && cd install && php install.php https://${SERVER_NAME} "${DB_MYSQL_USER}" "${DB_MYSQL_PASSWORD}" "${SYSTEM_ADMIN_PASSWORD}" "${DB_MYSQL_NAME}" "https://${SERVER_NAME}/Encoder" "${DB_MYSQL_HOST}" "${DB_MYSQL_PORT}"
|
||||
|
||||
echo "entrypoint -- Running reencodeAllVideos script..."
|
||||
cd /var/www/html/AVideo/Encoder/install && php reencodeAllVideos.php
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version: '3.8'
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
avideo:
|
||||
|
|
|
@ -30,5 +30,5 @@ CONTACT_EMAIL=your_email@example.com
|
|||
MAIN_LANGUAGE=en
|
||||
SYSTEM_ADMIN_PASSWORD=password
|
||||
WEBSITE_TITLE=Your Website Title
|
||||
TLS_CERTIFICATE_FILE=/path/to/your/certificate.crt
|
||||
TLS_CERTIFICATE_KEY=
|
||||
TLS_CERTIFICATE_FILE=/etc/apache2/ssl/localhost.crt
|
||||
TLS_CERTIFICATE_KEY=/etc/apache2/ssl/localhost.key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue