Updating Docker Compose & README.md

This commit is contained in:
Johnnybegood90
2026-03-14 02:57:13 +01:00
parent 62732ab2c6
commit 8c81c05bca
5 changed files with 97 additions and 14 deletions
+12 -2
View File
@@ -4,8 +4,18 @@ RUN docker-php-ext-install curl && \
a2enmod rewrite
COPY . /var/www/html/
COPY docker/docker-entrypoint.sh /usr/local/bin/gridtv-entrypoint.sh
RUN chown -R www-data:www-data /var/www/html && \
chmod -R 775 /var/www/html
RUN mkdir -p /data && \
chown -R www-data:www-data /var/www/html /data && \
find /var/www/html -type d -exec chmod 755 {} \; && \
find /var/www/html -type f -exec chmod 644 {} \; && \
chmod 755 /usr/local/bin/gridtv-entrypoint.sh
HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 \
CMD php -r "exit(@file_get_contents('http://127.0.0.1/') === false ? 1 : 0);"
ENTRYPOINT ["gridtv-entrypoint.sh"]
CMD ["apache2-foreground"]
EXPOSE 80