Skip to content

A self-hosted media server and file management system

update docker env

aminnausin7a2a474cf7ab
diff --git a/docker/.env.docker b/docker/.env.docker
index 4da82a91..f223c0b1 100644
--- a/docker/.env.docker
+++ b/docker/.env.docker
@@ -2,25 +2,26 @@
APP_SCHEME=http # App Protocol -> http OR https -> Should not change
-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
+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
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
APP_ENV=local # App Environment -> change to staging if you are using a valid domain or production server
-DB_HOST=database
-DB_PORT=5432
-DB_DATABASE=mediaServer
-DB_USERNAME=postgres
-DB_PASSWORD=root
+DB_HOST=database # Database URL -> points to the docker compose database -> if you already have a database running elsewhere, provide that URL here
+DB_PORT=5432 # Database PORT -> points to the docker compose database -> if you already have a database running elsewhere, provide that URL here
+DB_DATABASE=mediaServer # Database Name -> if you are using another database, make sure a database with this name exists
+DB_USERNAME=postgres # Database Username -> if you are using another database, provide your credentials here
+DB_PASSWORD=root # Database Password -> if you are using another database, provide your credentials here
-TRUSTED_PROXIES=*
-DOCKER_RELEASE=latest
+TRUSTED_PROXIES=* # Trusted Proxies -> change to the ip address of your reverse proxies if you have issues
+DOCKER_RELEASE=latest # Docker Release Tag -> can set to latest or beta depending on which image you want to use
######################### DEFAULTS #########################
+# Only change if you know what you are doing
APP_NAME=mediaServer
APP_KEY=
@@ -42,14 +43,7 @@ LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
LOG_FILENAME=laravel.log
-DEBUGBAR_ENABLED=false
-
DB_CONNECTION=pgsql
-# DB_HOST=127.0.0.1
-# DB_PORT=5432
-# DB_DATABASE=mediaServer
-# DB_USERNAME=postgres
-# DB_PASSWORD=root
SANCTUM_STATEFUL_DOMAINS=${APP_HOST},${APP_HOST}:${APP_PORT},0.0.0.0:6001,${APP_HOST}:6001
SESSION_DRIVER=database