Skip to content

A self-hosted media server and file management system

chore: use port 8080

aminnausin1a80790d6905
diff --git a/.dockerignore b/.dockerignore
index 7546bb89..38da0fe7 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -6,7 +6,7 @@ public/hot
public/storage
storage/*.key
storage/pail
-storage/app/*
+storage/app
storage/framework/cache/*
storage/framework/sessions/*
storage/framework/views/*
@@ -36,3 +36,6 @@ readme.md
Dockerfile
docker-compose.yml
setup.*
+
+!storage/app/public/avatars/default.jpg
+!storage/app/public/thumbnails/default.webp
diff --git a/.env.example b/.env.example
index 36fd01ae..53197b99 100755
--- a/.env.example
+++ b/.env.example
@@ -1,6 +1,6 @@
APP_SCHEME=http
APP_HOST=127.0.0.1
-APP_PORT=8086
+APP_PORT=8080
APP_NAME=mediaServer
APP_ENV=local
diff --git a/docker/.env.docker b/docker/.env.docker
index 73cec847..135ae946 100644
--- a/docker/.env.docker
+++ b/docker/.env.docker
@@ -2,8 +2,8 @@
APP_SCHEME=http # App Protocol -> http OR https -> Should not change
-APP_HOST=app.test # App URL -> Website will be available on https://app.test if you use caddy and http://app.test:8086 otherwise
-APP_PORT=8086 # App Port -> Website will be available on https://app.test if you use caddy and http://app.test:8086 otherwise
+APP_HOST=app.test # App URL -> Website will be available on https://app.test if you use caddy and http://app.test:8080 otherwise
+APP_PORT=8080 # App Port -> Website will be available on https://app.test if you use caddy and http://app.test:8080 otherwise
REVERB_PORT=6001 # 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/etc/caddy/CaddyFile b/docker/etc/caddy/CaddyFile
index b4afe51f..578e21e0 100644
--- a/docker/etc/caddy/CaddyFile
+++ b/docker/etc/caddy/CaddyFile
@@ -15,7 +15,7 @@ app.test {
header_up X-Forwarded-Proto {scheme}
}
- reverse_proxy app:8086
+ reverse_proxy app:8080
encode gzip
diff --git a/docker/etc/nginx/conf.d/default.conf b/docker/etc/nginx/conf.d/default.conf
index ce0f0b63..55f1572e 100644
--- a/docker/etc/nginx/conf.d/default.conf
+++ b/docker/etc/nginx/conf.d/default.conf
@@ -1,5 +1,5 @@
server {
- listen 8086;
+ listen 8080;
server_name _;
root /var/www/html/public;