Skip to content

A self-hosted media server and file management system

new docker defaults

aminnausin071e2738e351
diff --git a/.env.example b/.env.example
index dc181dc9..6fa6722d 100755
--- a/.env.example
+++ b/.env.example
@@ -1,6 +1,6 @@
APP_SCHEME=http
-APP_HOST=app.test
-APP_PORT=8080
+APP_HOST=127.0.0.1
+APP_PORT=8086
APP_NAME=mediaServer
APP_ENV=local
diff --git a/docker/.env.docker b/docker/.env.docker
index ae08ad53..f771c59c 100644
--- a/docker/.env.docker
+++ b/docker/.env.docker
@@ -1,7 +1,8 @@
-APP_SCHEME=http
-APP_HOST=app.test
-APP_PORT=8080
-REVERB_PORT=8080
+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_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
DB_HOST=db
DB_PORT=5432
diff --git a/docker/nginx/app.conf b/docker/nginx/app.conf
index ed5c17c6..8a04c0e3 100644
--- a/docker/nginx/app.conf
+++ b/docker/nginx/app.conf
@@ -1,6 +1,6 @@
server {
- listen 8080;
- server_name app.test *.app.test;
+ listen 8086;
+ server_name 127.0.0.1;
root /var/www/html/public;
index index.php index.html;
@@ -63,7 +63,7 @@ server {
}
location /storage/ {
- valid_referers app.test ;
+ valid_referers 127.0.0.1 ;
if ($invalid_referer) {
return 403;
}