1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

Update docker config

This commit is contained in:
Daniel Neto 2024-05-29 12:50:55 -03:00
parent d0504280bc
commit a2c88bfe74
3 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -1,4 +1,4 @@
version: '3.8'
version: '3.9'
services:
avideo:

View file

@ -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