Skip to content

A self-hosted media server and file management system

default config changes

aminnausin80262264eb41
diff --git a/docker/.env.docker b/docker/.env.docker
index a4c0adaa..525b210d 100644
--- a/docker/.env.docker
+++ b/docker/.env.docker
@@ -1,5 +1,5 @@
APP_SCHEME=http # App Protocol -> http OR https -> Should not change
-APP_HOST=127.0.0.1 # App URL -> Website will be available on 127.0.0.1:8096
+APP_HOST=app.test # App URL -> Website will be available on 127.0.0.1:8096
APP_PORT=8086 # App Port -> Website will be available on 127.0.0.1:8096
REVERB_PORT=8086 # Websocket Port -> Set to 6001 if you have websocket connection issues
REVERB_SCHEME=http # Websocket Protocol -> http OR https -> Set to HTTPS if you have a valid SSL Certificate for your URL
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
index 742b5e47..abe01e57 100644
--- a/docker/entrypoint.sh
+++ b/docker/entrypoint.sh
@@ -4,24 +4,24 @@
# Exit immediately if a command exits with a non-zero status
set -e
-if [ -z "$APP_KEY" ] || [ "$APP_KEY" = "base64:" ]; then
- echo "No APP_KEY detected, generating one..."
- php artisan key:generate
-else
- echo "APP_KEY already set, skipping key generation."
-fi
+# if [ -z "$APP_KEY" ] || [ "$APP_KEY" = "base64:" ]; then
+# echo "No APP_KEY detected, generating one..."
+# php artisan key:generate
+# else
+# echo "APP_KEY already set, skipping key generation."
+# fi
php artisan reverb:generate
-echo "Waiting for PostgreSQL to be ready..."
+# echo "Waiting for PostgreSQL to be ready..."
-# Loop until PostgreSQL is ready
-until PGPASSWORD=$DB_PASSWORD psql -h "$DB_HOST" -U "$DB_USERNAME" -d "$DB_DATABASE" -c "SELECT 1" > /dev/null 2>&1; do
- echo "PostgreSQL is unavailable - sleeping..."
- sleep 2
-done
+# # Loop until PostgreSQL is ready
+# until PGPASSWORD=$DB_PASSWORD psql -h "$DB_HOST" -U "$DB_USERNAME" -d "$DB_DATABASE" -c "SELECT 1" > /dev/null 2>&1; do
+# echo "PostgreSQL is unavailable - sleeping..."
+# sleep 2
+# done
-php artisan migrate
+# php artisan migrate
# Start Supervisor in the background
# echo "Starting Supervisor..."
diff --git a/docker/etc/nginx/conf.d/default.conf b/docker/etc/nginx/conf.d/default.conf
index 75f1240d..b47a7168 100644
--- a/docker/etc/nginx/conf.d/default.conf
+++ b/docker/etc/nginx/conf.d/default.conf
@@ -1,6 +1,6 @@
server {
- listen 8080;
- server_name app.test;
+ listen 8086;
+ server_name _;
root /var/www/html/public;
index index.php;