From 59ef01d5b1c56d32caf280d7c29b878695d16ef1 Mon Sep 17 00:00:00 2001 From: Pokey <79169880+Pokeylooted@users.noreply.github.com> Date: Sun, 3 Mar 2024 21:56:37 -0600 Subject: [PATCH] Added more useful MWB Enviornment Variables --- content/4.backend/1.deploy.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/4.backend/1.deploy.md b/content/4.backend/1.deploy.md index b2d2c30..c5146be 100644 --- a/content/4.backend/1.deploy.md +++ b/content/4.backend/1.deploy.md @@ -61,7 +61,6 @@ This method provides a straightforward setup with minimal configuration. For mor **Important:** * Replace `YourPasswordHere` with your secure database password. * Generate a strong session secret and replace `32CharacterLongStringHere`. - 2. **Start the Backend:** Open a terminal in the directory containing `docker-compose.yml` and execute: ```bash @@ -75,6 +74,9 @@ Your backend should be accessible on `(YourPrivateIP):80`. To share it outside y **Optional: Using a Reverse Proxy** For SSL and domain configuration, consider setting up a reverse proxy like Nginx. +* If you do use a reverse proxy, you may need to add `MWB_SERVER__CORS: "example.com movie.example.com"`. +* Dependent on your setup you may also need `MWB_SERVER__TRUST_PROXY: true`, and `MWB_SERVER__TRUST_CLOUDFLARE: true`. + ## Method 2 - Railway (Easy) Railway provides a simple deployment process and $5 of initial credit, usually enough to run the backend for several months.