Added more useful MWB Enviornment Variables

This commit is contained in:
Pokey 2024-03-03 21:56:37 -06:00 committed by GitHub
parent 2f4de94ec6
commit 59ef01d5b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -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.