1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2024-05-30 17:04:37 -03:00
parent 93a450c449
commit a738654b78
2 changed files with 5 additions and 1 deletions

View file

@ -142,6 +142,10 @@ RUN /usr/local/bin/configure-php.sh
# Add Apache configuration
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
# Redirect Apache logs to stdout and stderr
RUN ln -sf /proc/self/fd/1 /var/log/apache2/access.log && \
ln -sf /proc/self/fd/2 /var/log/apache2/error.log
# Create directory and set permissions
RUN mkdir -p /var/www/tmp && \
chown www-data:www-data /var/www/tmp && \

View file

@ -31,4 +31,4 @@ MAIN_LANGUAGE=en
SYSTEM_ADMIN_PASSWORD=password
WEBSITE_TITLE=Your Website Title
TLS_CERTIFICATE_FILE=/etc/apache2/ssl/localhost.crt
TLS_CERTIFICATE_KEY=/etc/apache2/ssl/localhost.key
TLS_CERTIFICATE_KEY=/etc/apache2/ssl/localhost.key