mirror of https://github.com/sussy-code/docs.git
Added more useful MWB Enviornment Variables
This commit is contained in:
parent
2f4de94ec6
commit
59ef01d5b1
|
@ -61,7 +61,6 @@ This method provides a straightforward setup with minimal configuration. For mor
|
||||||
**Important:**
|
**Important:**
|
||||||
* Replace `YourPasswordHere` with your secure database password.
|
* Replace `YourPasswordHere` with your secure database password.
|
||||||
* Generate a strong session secret and replace `32CharacterLongStringHere`.
|
* Generate a strong session secret and replace `32CharacterLongStringHere`.
|
||||||
|
|
||||||
2. **Start the Backend:** Open a terminal in the directory containing `docker-compose.yml` and execute:
|
2. **Start the Backend:** Open a terminal in the directory containing `docker-compose.yml` and execute:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -75,6 +74,9 @@ Your backend should be accessible on `(YourPrivateIP):80`. To share it outside y
|
||||||
**Optional: Using a Reverse Proxy**
|
**Optional: Using a Reverse Proxy**
|
||||||
For SSL and domain configuration, consider setting up a reverse proxy like Nginx.
|
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)
|
## Method 2 - Railway (Easy)
|
||||||
|
|
||||||
Railway provides a simple deployment process and $5 of initial credit, usually enough to run the backend for several months.
|
Railway provides a simple deployment process and $5 of initial credit, usually enough to run the backend for several months.
|
||||||
|
|
Loading…
Reference in New Issue