From 0cedc72bb34a29ff86499cdf67032640d543cb09 Mon Sep 17 00:00:00 2001 From: Christopher Dixon Date: Tue, 27 Feb 2024 22:17:34 -0500 Subject: [PATCH 01/14] Update client docs - 3rd option docker compose --- content/3.client/1.deploy.md | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/content/3.client/1.deploy.md b/content/3.client/1.deploy.md index 8942d7a..a70ec2f 100644 --- a/content/3.client/1.deploy.md +++ b/content/3.client/1.deploy.md @@ -43,3 +43,42 @@ title: 'Deploy' - Vercel - Etc, [there are lots of options](https://www.staticwebsitehosting.org/){target="\_blank"}. 9. Congrats! You have your own version of movie-web hosted. + +## Method 3 - Docker Compose - Home Network + +This method is meant for those using a desktop device or single board computer with a minimum 4GB of RAM such as a [Raspberry Pi](https://www.raspberrypi.com/) to run movie-web on there home network to make a private instance of movie-web available to their network devices. + +1. Download the file `movie-web.zip` from the latest release: https://github.com/movie-web/movie-web/releases/latest. +2. Extract the ZIP file so you can edit the files. +3. Open `docker-compose.yaml` and uncomment `args`, `TMDB_READ_API_KEY`, `CORS_PROXY_URL`. +- Make sure `args` is in-line with `context` +- Make sure `TMDB_READ_API_KEY` and `CORS_PROXY_URL` are tabbed once to the right of `args`. +4. Put your proxy URL in-between the double quotes of `CORS_PROXY_URL: ""`. Make sure to not have a slash at the end of your URL. + + Example (THIS IS AN EXAMPLE, IT WON'T WORK FOR YOU): `VITE_CORS_PROXY_URL: "https://test-proxy.test.workers.dev"` + +5. Put your TMDB Read Access Token inside the quotes of `TMDB_READ_API_KEY: ""`. Please read [the TMDB page](2.tmdb.md) on how to get an API key. +6. Uncomment and add any [additional environment variables](3.configuration.md) you may need +7. Save the file +8. Use [docker] to run `movieweb` as background service + +```bash +# movie-web is current working directory +$ docker compose up -d +``` + +9. Verify that setup was successful +- Navigate to `http://localhost`. You should see the UI for `movie-web`. Find something to watch and make sure that it plays. +- View logs with + + ```bash + $ docker compose logs --follow movieweb + ``` + +10. Set a static IP address for your device. +- For Raspberry Pi: [guide](https://www.makeuseof.com/raspberry-pi-set-static-ip/) +- For Mac: [guide](https://www.macinstruct.com/tutorials/how-to-set-a-static-ip-address-on-a-mac/) +- For Windows: [guide](https://www.pcmag.com/how-to/how-to-set-up-a-static-ip-address) + +11. Navigate to movie web at `http:// Date: Thu, 29 Feb 2024 19:35:02 -0500 Subject: [PATCH 02/14] update build.context --- content/3.client/1.deploy.md | 58 ++++++++++++++++++++++++++---------- 1 file changed, 43 insertions(+), 15 deletions(-) diff --git a/content/3.client/1.deploy.md b/content/3.client/1.deploy.md index a70ec2f..482e730 100644 --- a/content/3.client/1.deploy.md +++ b/content/3.client/1.deploy.md @@ -46,28 +46,57 @@ title: 'Deploy' ## Method 3 - Docker Compose - Home Network -This method is meant for those using a desktop device or single board computer with a minimum 4GB of RAM such as a [Raspberry Pi](https://www.raspberrypi.com/) to run movie-web on there home network to make a private instance of movie-web available to their network devices. +This method is meant for those using a desktop device or single board computer with a minimum of 4GB of RAM such as a [Raspberry Pi](https://www.raspberrypi.com/) to run movie-web on there home network for network connected devices. -1. Download the file `movie-web.zip` from the latest release: https://github.com/movie-web/movie-web/releases/latest. -2. Extract the ZIP file so you can edit the files. -3. Open `docker-compose.yaml` and uncomment `args`, `TMDB_READ_API_KEY`, `CORS_PROXY_URL`. +1. Ensure you have [docker](https://docs.docker.com/get-docker/) installed. In a newly created directory called `movie-web` create a file called `docker-compose.yaml`. Paste the contents of the code block below into this file. + +```yaml +version: "3.8" + +services: + + movieweb: + build: + context: https://github.com/movie-web/movie-web.git + # args: + # PWA_ENABLED: "false" + # GA_ID: "" + # APP_DOMAIN: "" + # OPENSEARCH_ENABLED: "false" + # TMDB_READ_API_KEY: "" + # CORS_PROXY_URL: "" + # DMCA_EMAIL: "" + # NORMAL_ROUTER: "false" + # BACKEND_URL: "" + # HAS_ONBOARDING: "false" + # ONBOARDING_CHROME_EXTENSION_INSTALL_LINK: "" + # ONBOARDING_PROXY_INSTALL_LINK: "" + # DISALLOWED_IDS: "" + # CDN_REPLACEMENTS: "" + # TURNSTILE_KEY: "" + ports: + - "80:80" + restart: unless-stopped +``` + +2. Within the `docker-compose.yaml` file uncomment `args`, `TMDB_READ_API_KEY`, `CORS_PROXY_URL`. - Make sure `args` is in-line with `context` - Make sure `TMDB_READ_API_KEY` and `CORS_PROXY_URL` are tabbed once to the right of `args`. -4. Put your proxy URL in-between the double quotes of `CORS_PROXY_URL: ""`. Make sure to not have a slash at the end of your URL. +3. Put your proxy URL in-between the double quotes of `CORS_PROXY_URL: ""`. Make sure to not have a slash at the end of your URL. - Example (THIS IS AN EXAMPLE, IT WON'T WORK FOR YOU): `VITE_CORS_PROXY_URL: "https://test-proxy.test.workers.dev"` + Example (THIS IS AN EXAMPLE, IT WON'T WORK FOR YOU): `CORS_PROXY_URL: "https://test-proxy.test.workers.dev"` -5. Put your TMDB Read Access Token inside the quotes of `TMDB_READ_API_KEY: ""`. Please read [the TMDB page](2.tmdb.md) on how to get an API key. -6. Uncomment and add any [additional environment variables](3.configuration.md) you may need -7. Save the file -8. Use [docker] to run `movieweb` as background service +4. Put your TMDB Read Access Token inside the quotes of `TMDB_READ_API_KEY: ""`. Please read [the TMDB page](2.tmdb.md) on how to get an API key. +5. Uncomment and add any [additional environment variables](3.configuration.md) you may need. +6. Save the file! +7. Now use [docker](https://docs.docker.com/get-docker/) to run `movieweb` as background service. ```bash -# movie-web is current working directory +# movie-web is the current working directory $ docker compose up -d ``` -9. Verify that setup was successful +8. Verify that setup was successful - Navigate to `http://localhost`. You should see the UI for `movie-web`. Find something to watch and make sure that it plays. - View logs with @@ -75,10 +104,9 @@ $ docker compose up -d $ docker compose logs --follow movieweb ``` -10. Set a static IP address for your device. +9. Set a static IP address for your device. - For Raspberry Pi: [guide](https://www.makeuseof.com/raspberry-pi-set-static-ip/) - For Mac: [guide](https://www.macinstruct.com/tutorials/how-to-set-a-static-ip-address-on-a-mac/) - For Windows: [guide](https://www.pcmag.com/how-to/how-to-set-up-a-static-ip-address) -11. Navigate to movie web at `http:// Date: Thu, 29 Feb 2024 19:46:36 -0500 Subject: [PATCH 03/14] let users now how to update the container --- content/3.client/1.deploy.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/content/3.client/1.deploy.md b/content/3.client/1.deploy.md index 482e730..773f80e 100644 --- a/content/3.client/1.deploy.md +++ b/content/3.client/1.deploy.md @@ -110,3 +110,16 @@ $ docker compose up -d - For Windows: [guide](https://www.pcmag.com/how-to/how-to-set-up-a-static-ip-address) 10. Navigate to movie web at `http:// Date: Sun, 3 Mar 2024 21:44:09 -0600 Subject: [PATCH 04/14] Update 1.deploy.md add more info Add more thorough guide for selfhosting --- content/4.backend/1.deploy.md | 84 +++++++++++++++++++++++++++++------ 1 file changed, 70 insertions(+), 14 deletions(-) diff --git a/content/4.backend/1.deploy.md b/content/4.backend/1.deploy.md index 475bce0..b2d2c30 100644 --- a/content/4.backend/1.deploy.md +++ b/content/4.backend/1.deploy.md @@ -12,26 +12,82 @@ For configuration, check out the [configuration reference](2.configuration.md). The postgres database will need to be populated with [migrations](0.introduction.md#migrations) if `postgres.migrateOnBoot` isn't enabled. :: -## Method 1 - Docker +## Method 1 - Docker Deployment -This method will help you set up the backend with the bare minimum configuration options. You'll most likely want to [add some more environment variables](2.configuration.md) to customize your experience more thoroughly. +This method provides a straightforward setup with minimal configuration. For more extensive customization, see the [Configuration Reference](2.configuration.md). -The command below will not work unless customized by you, change the [`MWB_POSTGRES__CONNECTION`](2.configuration.md#postgresconnection) and [`MWB_CRYPTO__SESSION_SECRET`](2.configuration.md#cryptosessionsecret) to something valid for the backend to function. +**Prerequisites** -If you're using a hosted postgres database like [Neon](https://neon.tech/){target="\_blank"}, you'll also want to enable SSL support for the backend using the [`postgres.ssl`](2.configuration.md#postgresssl) option. +* **Docker:** If you don't have Docker installed, download it from the official website: [Docker installation](https://www.docker.com/get-started) +* **Docker Compose:** Install Docker Compose following the instructions for your operating system: [Docker-Compose installation](https://docs.docker.com/compose/install/) -For other versions of the image, [check out the package page](https://github.com/movie-web/backend/pkgs/container/backend){target="\_blank"}. +**Setup** +1. **Create `docker-compose.yml`:** -```sh -docker run \ - -p 80:80 \ - -e MWB_POSTGRES__CONNECTION=postgresql://localhost:5432 \ - -e MWB_CRYPTO__SESSION_SECRET=add-your-own-secret \ - -e MWB_META__NAME=unofficial-movie-web \ - ghcr.io/movie-web/backend:latest -``` + ```yaml + version: '3.8' -After running that command, your backend [_should_](../1.self-hosting/4.troubleshooting.md) now be available on `localhost:80`. if you want to be able to connect to the backend outside of your local network (for example sharing it with your friends), then you'll need set up to port forwarding. + services: + postgres: + image: postgres + environment: + POSTGRES_USER: movie_web_user + POSTGRES_DB: movie_web_backend + POSTGRES_PASSWORD: YourPasswordHere + ports: + - "5432:5432" + networks: + - movie-web-network + + movie-web: + image: ghcr.io/movie-web/backend:latest + environment: + MWB_POSTGRES__CONNECTION: postgresql://movie_web_user:YourPasswordHere@postgres:5432/movie_web_backend + MWB_CRYPTO__SESSION_SECRET: 32CharacterLongStringHere + MWB_META__NAME: unofficial-movie-web + MWB_POSTGRES__MIGRATE_ON_BOOT: "true" + ports: + - "80:80" + depends_on: + - postgres + networks: + - movie-web-network + + networks: + movie-web-network: + driver: bridge + ``` + + **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 + docker-compose up -d + ``` + +**Accessing Your Backend** + +Your backend should be accessible on `(YourPrivateIP):80`. To share it outside your local network, you'll need to configure port forwarding or cloudflared tunnel. + +**Optional: Using a Reverse Proxy** +For SSL and domain configuration, consider setting up a reverse proxy like Nginx. + +## Method 2 - Railway (Easy) + +Railway provides a simple deployment process and $5 of initial credit, usually enough to run the backend for several months. + +[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/TS4mw5) + +1. **Create or Log in to Railway:** Visit https://railway.app and either create an account or log in. +2. **Deploy with One Click:** Click the "Deploy on Railway" button above. +3. **Configure Environment Variables:** Fill in the required environment variables or modify the defaults. +4. **Deploy:** Click the "Deploy" button. +5. **Access Your Deployment:** Once deployment is complete, retrieve the URL from your Railway Deployments page. + +**Congratulations!** You've successfully deployed the backend. Proceed to [set up the client](../1.self-hosting/2.use-backend.md). ## Method 2 - Railway (Easy) 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 05/14] 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. From 209cf4e5bcd37d7780fd80787e07068101ac0333 Mon Sep 17 00:00:00 2001 From: Pokey <79169880+Pokeylooted@users.noreply.github.com> Date: Mon, 4 Mar 2024 17:32:23 -0600 Subject: [PATCH 06/14] Apply suggestions from code review Co-authored-by: William Oldham --- content/4.backend/1.deploy.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/4.backend/1.deploy.md b/content/4.backend/1.deploy.md index c5146be..93f6eda 100644 --- a/content/4.backend/1.deploy.md +++ b/content/4.backend/1.deploy.md @@ -45,7 +45,8 @@ This method provides a straightforward setup with minimal configuration. For mor MWB_POSTGRES__CONNECTION: postgresql://movie_web_user:YourPasswordHere@postgres:5432/movie_web_backend MWB_CRYPTO__SESSION_SECRET: 32CharacterLongStringHere MWB_META__NAME: unofficial-movie-web - MWB_POSTGRES__MIGRATE_ON_BOOT: "true" + MWB_POSTGRES__MIGRATE_ON_BOOT: "true" + MIKRO_ORM_MIGRATIONS_DISABLE_FOREIGN_KEYS: "true" ports: - "80:80" depends_on: From 74335dc29d8e7b5b668c57fa2e85e2e13ba2d048 Mon Sep 17 00:00:00 2001 From: Pokey <79169880+Pokeylooted@users.noreply.github.com> Date: Mon, 4 Mar 2024 17:40:41 -0600 Subject: [PATCH 07/14] removed duplicated railway --- content/4.backend/1.deploy.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/content/4.backend/1.deploy.md b/content/4.backend/1.deploy.md index 93f6eda..9c5268b 100644 --- a/content/4.backend/1.deploy.md +++ b/content/4.backend/1.deploy.md @@ -80,20 +80,6 @@ For SSL and domain configuration, consider setting up a reverse proxy like Nginx ## Method 2 - Railway (Easy) -Railway provides a simple deployment process and $5 of initial credit, usually enough to run the backend for several months. - -[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/TS4mw5) - -1. **Create or Log in to Railway:** Visit https://railway.app and either create an account or log in. -2. **Deploy with One Click:** Click the "Deploy on Railway" button above. -3. **Configure Environment Variables:** Fill in the required environment variables or modify the defaults. -4. **Deploy:** Click the "Deploy" button. -5. **Access Your Deployment:** Once deployment is complete, retrieve the URL from your Railway Deployments page. - -**Congratulations!** You've successfully deployed the backend. Proceed to [set up the client](../1.self-hosting/2.use-backend.md). - -## Method 2 - Railway (Easy) - Railway offers you $5 of credit once you verify your account, which is enough to run the backend for around 5 months (~$0.90 per month). [![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/TS4mw5) From 5597d2f17a8e2509de580d672cce39a7e8d517d2 Mon Sep 17 00:00:00 2001 From: Pokey <79169880+Pokeylooted@users.noreply.github.com> Date: Mon, 4 Mar 2024 18:12:55 -0600 Subject: [PATCH 08/14] Added cloudflare zero trust docs --- content/4.backend/1.deploy.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/content/4.backend/1.deploy.md b/content/4.backend/1.deploy.md index 9c5268b..34155bc 100644 --- a/content/4.backend/1.deploy.md +++ b/content/4.backend/1.deploy.md @@ -72,11 +72,12 @@ This method provides a straightforward setup with minimal configuration. For mor Your backend should be accessible on `(YourPrivateIP):80`. To share it outside your local network, you'll need to configure port forwarding or cloudflared tunnel. -**Optional: Using a Reverse Proxy** -For SSL and domain configuration, consider setting up a reverse proxy like Nginx. +**Optional: Implementing a Reverse Proxy** -* 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`. +To enhance your SSL and domain configuration, it's advisable to establish a reverse proxy, such as Nginx. For an optimal choice in this regard, Cloudflare Zero Trust Tunnel is recommended. You can find more information [here](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/). + +- If you decide to utilize a reverse proxy, it's important to include `MWB_SERVER__CORS: "example.com movie.example.com"` in your configuration. +- Depending on your specific setup, you may also require the addition of `MWB_SERVER__TRUST_PROXY: true` and `MWB_SERVER__TRUST_CLOUDFLARE: true`. ## Method 2 - Railway (Easy) From f0b56274d75374169e5fd33a4adbc30884e4eec9 Mon Sep 17 00:00:00 2001 From: Pokey <79169880+Pokeylooted@users.noreply.github.com> Date: Mon, 4 Mar 2024 18:15:33 -0600 Subject: [PATCH 09/14] Make CORS variable info more specific --- content/4.backend/1.deploy.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/4.backend/1.deploy.md b/content/4.backend/1.deploy.md index 34155bc..0829e70 100644 --- a/content/4.backend/1.deploy.md +++ b/content/4.backend/1.deploy.md @@ -77,6 +77,9 @@ Your backend should be accessible on `(YourPrivateIP):80`. To share it outside y To enhance your SSL and domain configuration, it's advisable to establish a reverse proxy, such as Nginx. For an optimal choice in this regard, Cloudflare Zero Trust Tunnel is recommended. You can find more information [here](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/). - If you decide to utilize a reverse proxy, it's important to include `MWB_SERVER__CORS: "example.com movie.example.com"` in your configuration. +- If you use a reverse proxy behind a domain, add `MWB_SERVER__CORS: "https://movie.example.com"`. + - `MWB_SERVER__CORS` must contain a **space-separated** list of origins (Protocol + Hostname) for the client to be able to access the backend. + - Depending on your specific setup, you may also require the addition of `MWB_SERVER__TRUST_PROXY: true` and `MWB_SERVER__TRUST_CLOUDFLARE: true`. ## Method 2 - Railway (Easy) From 5a1f212c5dffe7498606e8180aed05e62beafe41 Mon Sep 17 00:00:00 2001 From: Pokey <79169880+Pokeylooted@users.noreply.github.com> Date: Mon, 4 Mar 2024 18:18:43 -0600 Subject: [PATCH 10/14] Fix duplication --- content/4.backend/1.deploy.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/content/4.backend/1.deploy.md b/content/4.backend/1.deploy.md index 0829e70..ddb1fb6 100644 --- a/content/4.backend/1.deploy.md +++ b/content/4.backend/1.deploy.md @@ -76,10 +76,8 @@ Your backend should be accessible on `(YourPrivateIP):80`. To share it outside y To enhance your SSL and domain configuration, it's advisable to establish a reverse proxy, such as Nginx. For an optimal choice in this regard, Cloudflare Zero Trust Tunnel is recommended. You can find more information [here](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/). -- If you decide to utilize a reverse proxy, it's important to include `MWB_SERVER__CORS: "example.com movie.example.com"` in your configuration. -- If you use a reverse proxy behind a domain, add `MWB_SERVER__CORS: "https://movie.example.com"`. +- If you decide to utilize a reverse proxy, it's important to include `MWB_SERVER__CORS: "https://movie.example.com"` in your configuration. - `MWB_SERVER__CORS` must contain a **space-separated** list of origins (Protocol + Hostname) for the client to be able to access the backend. - - Depending on your specific setup, you may also require the addition of `MWB_SERVER__TRUST_PROXY: true` and `MWB_SERVER__TRUST_CLOUDFLARE: true`. ## Method 2 - Railway (Easy) From ab0bf06a00fc9a39e3bb2250750777335070acb9 Mon Sep 17 00:00:00 2001 From: Christopher Dixon Date: Tue, 5 Mar 2024 09:27:57 -0500 Subject: [PATCH 11/14] review 2: client docs --- content/3.client/1.deploy.md | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/content/3.client/1.deploy.md b/content/3.client/1.deploy.md index 773f80e..d718b9d 100644 --- a/content/3.client/1.deploy.md +++ b/content/3.client/1.deploy.md @@ -59,21 +59,9 @@ services: build: context: https://github.com/movie-web/movie-web.git # args: - # PWA_ENABLED: "false" - # GA_ID: "" - # APP_DOMAIN: "" - # OPENSEARCH_ENABLED: "false" # TMDB_READ_API_KEY: "" # CORS_PROXY_URL: "" - # DMCA_EMAIL: "" - # NORMAL_ROUTER: "false" # BACKEND_URL: "" - # HAS_ONBOARDING: "false" - # ONBOARDING_CHROME_EXTENSION_INSTALL_LINK: "" - # ONBOARDING_PROXY_INSTALL_LINK: "" - # DISALLOWED_IDS: "" - # CDN_REPLACEMENTS: "" - # TURNSTILE_KEY: "" ports: - "80:80" restart: unless-stopped @@ -87,13 +75,13 @@ services: Example (THIS IS AN EXAMPLE, IT WON'T WORK FOR YOU): `CORS_PROXY_URL: "https://test-proxy.test.workers.dev"` 4. Put your TMDB Read Access Token inside the quotes of `TMDB_READ_API_KEY: ""`. Please read [the TMDB page](2.tmdb.md) on how to get an API key. -5. Uncomment and add any [additional environment variables](3.configuration.md) you may need. +5. Uncomment and add any [additional environment variables](3.configuration.md) you may need. Remove the `VITE_` prefix when adding an environment variable to `args`. 6. Save the file! 7. Now use [docker](https://docs.docker.com/get-docker/) to run `movieweb` as background service. ```bash # movie-web is the current working directory -$ docker compose up -d +$ docker compose up --detach ``` 8. Verify that setup was successful @@ -116,10 +104,6 @@ $ docker compose up -d 1. Make sure `movie-web` is your current working directory and run: ```bash -# Stop the running container -$ docker compose stop -# Remove the stopped container -$ docker compose rm # Re-build the image and start the container -$ docker compose up -d +$ docker compose up --build --detach ``` From 08969d16e563ce37b3e181d65d738ce3ee2370f2 Mon Sep 17 00:00:00 2001 From: zisra <100528712+zisra@users.noreply.github.com> Date: Tue, 5 Mar 2024 15:02:03 -0600 Subject: [PATCH 12/14] Update 0.instances.md --- content/0.instances.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/content/0.instances.md b/content/0.instances.md index 950f9e5..59ff457 100644 --- a/content/0.instances.md +++ b/content/0.instances.md @@ -25,8 +25,11 @@ The community maintains these trusted instances, meaning they are likely to be u | [sudo-flix.lol](https://sudo-flix.lol) | [itzCozi - Community Self Hoster](https://gitlab.com/itzCozi) | πŸ’Ύ | | [movie-web.x](https://movie-web.x) | [Unstoppable Domains](https://unstoppabledomains.com) and [IPFS](https://ipfs.tech) | πŸ’Ύ | -**Note:** [movie-web.x](https://movie-web.x) is only accessible using Brave, Opera or installing an [extension](https://unstoppabledomains.com/extension) to resolve unstoppable domains. -If you cannot access [movie-web.x](https://movie-web.x) try using a gateway: [Cloudflare](https://cloudflare-ipfs.com/ipns/k51qzi5uqu5diql6nkzokwdvz9511dp9itillc7xhixptq14tk1oz8agh3wrjd), [dweb.link](https://k51qzi5uqu5diql6nkzokwdvz9511dp9itillc7xhixptq14tk1oz8agh3wrjd.ipns.dweb.link), [cf-ipfs](https://k51qzi5uqu5diql6nkzokwdvz9511dp9itillc7xhixptq14tk1oz8agh3wrjd.ipns.cf-ipfs.com) + +::alert{type="warning"} +[movie-web.x](https://movie-web.x) is only accessible using Brave, Opera or installing an [extension](https://unstoppabledomains.com/extension) to resolve unstoppable domains. +If you cannot access [movie-web.x](https://movie-web.x) try using a gateway: [Cloudflare](https://cloudflare-ipfs.com/ipns/k51qzi5uqu5diql6nkzokwdvz9511dp9itillc7xhixptq14tk1oz8agh3wrjd), [dweb.link](https://k51qzi5uqu5diql6nkzokwdvz9511dp9itillc7xhixptq14tk1oz8agh3wrjd.ipns.dweb.link), or [cf-ipfs](https://k51qzi5uqu5diql6nkzokwdvz9511dp9itillc7xhixptq14tk1oz8agh3wrjd.ipns.cf-ipfs.com) +:: ## Community Backend From e757c8046b253e0b39334c616a66a08c93822876 Mon Sep 17 00:00:00 2001 From: zisra <100528712+zisra@users.noreply.github.com> Date: Tue, 5 Mar 2024 15:05:07 -0600 Subject: [PATCH 13/14] Update 0.instances.md --- content/0.instances.md | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/content/0.instances.md b/content/0.instances.md index 59ff457..3ad5e3c 100644 --- a/content/0.instances.md +++ b/content/0.instances.md @@ -1,6 +1,6 @@ --- -title: 'Instances' -icon: 'mdi:web' +title: "Instances" +icon: "mdi:web" --- # Instances @@ -9,22 +9,21 @@ This page showcases movie-web instances hosted by the community and other altern ## Community Instances -The community maintains these trusted instances, meaning they are likely to be up-to-date. Remember that since these are volunteer instances, they might be down or stop working at any time. If you want to be sure you have access to movie-web, consider [hosting your own instance](../1.self-hosting/1.hosting-intro.md). +The community maintains these trusted instances, meaning they are likely to be up-to-date. Remember that since these are volunteer instances, they might be down or stop working at any time. If you want to be sure you have access to movie-web, consider [hosting your own instance](../1.self-hosting/1.hosting-intro.md). **Instances marked with a πŸ’Ύ have set up a backend, making it possible to sync your data across multiple devices.**
**Additionally, instances with a 🌐 use the community backend hosted by Lonelil, which has all the original movie-web.app data!** -| Instance | Host | Status | -| :----------------------------------------------- | :---------------------------------------------------------------------------------- | :------- | -| [mw.lonelil.com](https://mw.lonelil.com) | [lonelil - Partner](https://github.com/lonelil) | πŸ’ΎπŸŒ | -| [watch.qtchaos.de](https://watch.qtchaos.de) | [chaos - Project Lead](https://github.com/qtchaos) | πŸ’Ύ | -| [bmov](https://bmov.vercel.app) | [TheScreechingBagel - Mod](https://github.com/TheScreechingBagel) | πŸ’ΎπŸŒ | -| [stream.thehairy.me](https://stream.thehairy.me) | [thehairy - Mod](https://github.com/thehairy) | πŸ’ΎπŸŒ | -| [movie-web-me](https://movie-web-me.vercel.app) | [Isra - Contributor](https://github.com/zisra) | πŸ’ΎπŸŒ | -| [scootydooter](https://scootydooter.vercel.app) | [Toon - Contributor](https://github.com/Toon-arch) | πŸ’ΎπŸŒ | -| [sudo-flix.lol](https://sudo-flix.lol) | [itzCozi - Community Self Hoster](https://gitlab.com/itzCozi) | πŸ’Ύ | -| [movie-web.x](https://movie-web.x) | [Unstoppable Domains](https://unstoppabledomains.com) and [IPFS](https://ipfs.tech) | πŸ’Ύ | - +| Instance | Host | Status | +| :----------------------------------------------- | :---------------------------------------------------------------------------------- | :----- | +| [mw.lonelil.com](https://mw.lonelil.com) | [lonelil - Partner](https://github.com/lonelil) | πŸ’ΎπŸŒ | +| [watch.qtchaos.de](https://watch.qtchaos.de) | [chaos - Project Lead](https://github.com/qtchaos) | πŸ’Ύ | +| [bmov](https://bmov.vercel.app) | [TheScreechingBagel - Mod](https://github.com/TheScreechingBagel) | πŸ’ΎπŸŒ | +| [stream.thehairy.me](https://stream.thehairy.me) | [thehairy - Mod](https://github.com/thehairy) | πŸ’ΎπŸŒ | +| [movie-web-me](https://movie-web-me.vercel.app) | [Isra - Contributor](https://github.com/zisra) | πŸ’ΎπŸŒ | +| [scootydooter](https://scootydooter.vercel.app) | [Toon - Contributor](https://github.com/Toon-arch) | πŸ’ΎπŸŒ | +| [sudo-flix.lol](https://sudo-flix.lol) | [itzCozi - Community Self Hoster](https://gitlab.com/itzCozi) | πŸ’Ύ | +| [movie-web.x](https://movie-web.x) | [Unstoppable Domains](https://unstoppabledomains.com) and [IPFS](https://ipfs.tech) | πŸ’ΎπŸŒ | ::alert{type="warning"} [movie-web.x](https://movie-web.x) is only accessible using Brave, Opera or installing an [extension](https://unstoppabledomains.com/extension) to resolve unstoppable domains. @@ -33,7 +32,7 @@ If you cannot access [movie-web.x](https://movie-web.x) try using a gateway: [Cl ## Community Backend -Our partner, Lonelil, has kindly offered to host a movie-web backend with a copy of the original data from the movie-web.app. You can access this backend at: `https://mw-backend.lonelil.com` +Our partner, Lonelil, has kindly offered to host a movie-web backend with a copy of the original data from the movie-web.app. You can access this backend at: `https://mw-backend.lonelil.com` or `https://mw-backend.lonelil.com` You **do not** have to set up a new account; you can use your previous passphrase from movie-web, and all of your data will be there! @@ -41,7 +40,7 @@ You **do not** have to set up a new account; you can use your previous passphras These sites are not related to movie-web but are good enough to switch to if the official instances are down. You can also use [FMHY](https://fmhy.pages.dev/videopiracyguide) to find even more options. -* [watch.lonelil.com](https://watch.lonelil.com) -* [themoviearchive.site](https://themoviearchive.site) -* [braflix.video](https://braflix.video) -* [watch.streamflix.one](https://watch.streamflix.one) +- [watch.lonelil.com](https://watch.lonelil.com) +- [themoviearchive.site](https://themoviearchive.site) +- [braflix.video](https://braflix.video) +- [watch.streamflix.one](https://watch.streamflix.one) From 425d9028a009753468e221674f75ece7eec2fac1 Mon Sep 17 00:00:00 2001 From: zisra <100528712+zisra@users.noreply.github.com> Date: Tue, 5 Mar 2024 15:09:59 -0600 Subject: [PATCH 14/14] Update 0.instances.md --- content/0.instances.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/0.instances.md b/content/0.instances.md index 3ad5e3c..4dc1de0 100644 --- a/content/0.instances.md +++ b/content/0.instances.md @@ -1,6 +1,6 @@ --- -title: "Instances" -icon: "mdi:web" +title: 'Instances' +icon: 'mdi:web' --- # Instances @@ -25,14 +25,14 @@ The community maintains these trusted instances, meaning they are likely to be u | [sudo-flix.lol](https://sudo-flix.lol) | [itzCozi - Community Self Hoster](https://gitlab.com/itzCozi) | πŸ’Ύ | | [movie-web.x](https://movie-web.x) | [Unstoppable Domains](https://unstoppabledomains.com) and [IPFS](https://ipfs.tech) | πŸ’ΎπŸŒ | -::alert{type="warning"} +::alert{type="info"} [movie-web.x](https://movie-web.x) is only accessible using Brave, Opera or installing an [extension](https://unstoppabledomains.com/extension) to resolve unstoppable domains. If you cannot access [movie-web.x](https://movie-web.x) try using a gateway: [Cloudflare](https://cloudflare-ipfs.com/ipns/k51qzi5uqu5diql6nkzokwdvz9511dp9itillc7xhixptq14tk1oz8agh3wrjd), [dweb.link](https://k51qzi5uqu5diql6nkzokwdvz9511dp9itillc7xhixptq14tk1oz8agh3wrjd.ipns.dweb.link), or [cf-ipfs](https://k51qzi5uqu5diql6nkzokwdvz9511dp9itillc7xhixptq14tk1oz8agh3wrjd.ipns.cf-ipfs.com) :: ## Community Backend -Our partner, Lonelil, has kindly offered to host a movie-web backend with a copy of the original data from the movie-web.app. You can access this backend at: `https://mw-backend.lonelil.com` or `https://mw-backend.lonelil.com` +Our partner, Lonelil, has kindly offered to host a movie-web backend with a copy of the original data from the movie-web.app. You can access this backend at: `https://mw-backend.lonelil.com` or `https://mw-backend.lonelil.ru` You **do not** have to set up a new account; you can use your previous passphrase from movie-web, and all of your data will be there!