Skip to content

A self-hosted media server and file management system

fix: dockerfile chrome permissions are missing and reverb health check is incorrect

aminnausin7c91b756c4bb
diff --git a/Dockerfile b/Dockerfile
index 86401045..b0155e9a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -124,8 +124,13 @@ RUN chmod -R 755 /var/www/html/.env
# Generate manifest
RUN apk add --no-cache git && \
php artisan app:manifest && \
- apk del git && \
- rm -rf /var/cache/apk/*
+ apk del git
+
+# Chrome config
+RUN mkdir -p /var/www/html/storage/app/chrome \
+ && mkdir -p /var/www/html/storage/app/chrome/.config \
+ && chown -R www-data:www-data /var/www/html/storage/app/chrome \
+ && chmod -R 775 /var/www/html/storage/app/chrome
# Nginx
COPY docker/etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
diff --git a/docker-compose.yaml b/docker-compose.yaml
index e9864c9b..8aed4a8a 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -120,7 +120,8 @@ services:
app:
condition: service_healthy
healthcheck:
- test: ['CMD', 'healthcheck-schedule']
+ test: ["CMD", "healthcheck-reverb"]
+ start_period: 10s
networks:
mediaServer-db:
default: