Skip to content

Commit

Permalink
Update docker config
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed May 29, 2024
1 parent d050428 commit a2c88bf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions deploy/apache/docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.8'
version: '3.9'

services:
avideo:
Expand Down
4 changes: 2 additions & 2 deletions env.example
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ [email protected]
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

0 comments on commit a2c88bf

Please sign in to comment.