Skip to content

A self-hosted media server and file management system

chore: update default docker config for a caddy-free setup

aminnausin20a8e4e18d39
diff --git a/docker/.env.docker b/docker/.env.docker
index 94b6f821..7254dfa4 100644
--- a/docker/.env.docker
+++ b/docker/.env.docker
@@ -4,27 +4,23 @@
# App Name
# Used for session cookies - must be different from other Laravel apps on your domain
-APP_NAME=mediaServerDemo
+APP_NAME=mediaServer
# App Protocol - http OR https (Should not change)
-# Internally, Nginx runs without ssl and your reverse proxy handles it (caddy)
+# Internally, Nginx runs without ssl and your reverse proxy handles ssl termination
APP_SCHEME=http
-# App URL - Website will be available on https://app.test if you use Caddy,
-# or http://app.test:8080 otherwise
+# App URL - Website will be available on http://${APP_HOST}:APP_PORT
APP_HOST=app.test
-# App Port - Ideally left as 8080
-APP_PORT=8080
+# App Port - The locally accessible port for your app at http://localhost:port (for reverse proxy and port forwarding)
+APP_PORT=8084
-# Local Port - The locally accessible port for your app at http://localhost:port (for reverse proxy and port forwarding)
-LOCAL_PORT=8094
-
-# Websocket Port - Set to 6001 if you have connection issues
-REVERB_PORT=443
+# Websocket Port - Set to 443 if you have SSL
+REVERB_PORT=8084
# Websocket Protocol - Set to https if you have SSL
-REVERB_SCHEME=https
+REVERB_SCHEME=http
# App Environment - Set to `staging` or `production` for real domains
APP_ENV=local
@@ -108,4 +104,4 @@ MAIL_FROM_NAME="${APP_NAME}"
# ================================
# Login Message - Show a custom message on the login screen
-LOGIN_MESSAGE="This demo resets every 15 minutes.\nLogin with the following credentials.\[email protected] mediaserver"
+LOGIN_MESSAGE=
diff --git a/docker/etc/caddy/Caddyfile b/docker/etc/caddy/Caddyfile
index f3895d0a..c0f7cc0a 100644
--- a/docker/etc/caddy/Caddyfile
+++ b/docker/etc/caddy/Caddyfile
@@ -6,7 +6,7 @@ app.test {
output file /var/log/caddy/caddy-access.log
}
- reverse_proxy app:8080
+ reverse_proxy app:8084
encode gzip