Compare commits

..

7 Commits

Author SHA1 Message Date
William Oldham
59ee00a876 Update content/3.client/5.upgrade.md 2024-03-30 11:50:29 +00:00
William Oldham
ca6195fd1d Merge branch 'master' into master 2024-03-30 09:02:44 +00:00
Pokey
19c065f4f0 Add a full self deployment docker file (#58)
* Created 2.selfhost.md

Added a docker compose file that hosted all of movie-web

* Update 2.selfhost.md - changed to example.tld rather than what it was before

Changed the domain to example.tld

* type errors/5.extra/2.selfhost.md

Co-authored-by: William Oldham <github@binaryoverload.co.uk>

* Update content/5.extra/2.selfhost.md

added -backend to movie-web

Co-authored-by: William Oldham <github@binaryoverload.co.uk>

* removed unneeded port exposure.selfhost.md

* Update content/5.extra/2.selfhost.md

* Update content/5.extra/2.selfhost.md

* Update content/5.extra/2.selfhost.md

---------

Co-authored-by: William Oldham <github@binaryoverload.co.uk>
2024-03-30 09:02:11 +00:00
William Oldham
d59b5cc762 Merge pull request #61 from movie-web/4.6.3
Version 4.6.3
2024-03-29 17:56:02 +00:00
Jorrin
d00bfbf5c0 Update 4.changelog.md 2024-03-29 18:52:41 +01:00
William Oldham
295a9768af Merge pull request #60 from TheScreechingBagel/patch-1
recommend netlify and fix link
2024-03-29 07:41:07 +00:00
Screeching Bagel
d17d887ac8 recommend netlify and fix link
link was broken anyway
2024-03-28 23:37:24 -07:00
4 changed files with 114 additions and 4 deletions

View File

@@ -94,7 +94,7 @@ Railway offers you $5 of credit once you verify your account, which is enough to
::alert{type="warning"} ::alert{type="warning"}
Experience with Docker, domains and web hosting is **highly recommended** for this method. <br /> Experience with Docker, domains and web hosting is **highly recommended** for this method. <br />
[Deploying with Cloudflare](#method-1-cloudflare-easy) is easier and safer to do! You are exposing your server at your own risk! [Deploying with Netlify](#method-1-netlify-easy) is easier and safer to do! You are exposing your server at your own risk!
:: ::
Our `simple-proxy` application is available from the GitHub Container Registry under the image [`ghcr.io/movie-web/simple-proxy:latest`](https://ghcr.io/movie-web/simple-proxy:latest){target="\_blank"} :copy-button{content="ghcr.io/movie-web/simple-proxy:latest"} Our `simple-proxy` application is available from the GitHub Container Registry under the image [`ghcr.io/movie-web/simple-proxy:latest`](https://ghcr.io/movie-web/simple-proxy:latest){target="\_blank"} :copy-button{content="ghcr.io/movie-web/simple-proxy:latest"}

View File

@@ -2,6 +2,20 @@
title: 'Changelog' title: 'Changelog'
--- ---
# Version 4.6.3
- Updated providers to 2.2.5
- Fixed vercel routing
- Fixed TV browsers crashing because of MediaSession
- Fixed Chinese (traditional) translation
- Optimized all images
- Fixed page scrolling when adjusting the volume using the scroll wheel
- Added support for HLS audio tracks (You now have the option to change the audio language for RidoMovies)
- Admin page no longer leaks the worker url.
- Added the ability to drag and drop your subtitle files.
- Improved the error message when the extension has not whitelisted the domain. It should now ask you to grant permission.
- Fixed an issue where the episode progression would not save after clicking the 'Next episode' button
- Improved translations: Catalan, Czech, German, Spanish, Estonian, Persian, French, Galician, Indonesian, Italian, Dutch, Polish, Portuguese (Brazil), Romanian, Russian, Turkish, Chinese (Han (Traditional variant))
# Version 4.6.2 # Version 4.6.2
- Updated providers to 2.2.3 - Updated providers to 2.2.3
- Added defaults for extension store links - Added defaults for extension store links

View File

@@ -38,9 +38,6 @@ jobs:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
- uses: gautamkrishnar/keepalive-workflow@v1 - uses: gautamkrishnar/keepalive-workflow@v1
``` ```
::alert{type="info"}
Github action authored by [Toon](https://github.com/Toon-arch)
::
4. Replace the `<OWNER>` placeholder with the GitHub username of the account that owns the fork. 4. Replace the `<OWNER>` placeholder with the GitHub username of the account that owns the fork.
5. Replace the `<FORK>` placeholder with the repository name of your fork. 5. Replace the `<FORK>` placeholder with the repository name of your fork.

View File

@@ -0,0 +1,99 @@
### Guide to full Self-Deployment of movie-web with Docker Compose
1. **Install Docker and Docker Compose:**
Ensure that Docker and Docker Compose are installed on your system. You can follow the official Docker documentation for installation instructions:
- [Install Docker](https://docs.docker.com/get-docker/)
2. **Create a Docker Compose file:**
Create a new file named `docker-compose.yml` in your project directory and paste the following content into it:
```yaml
version: '3.8'
services:
postgres:
image: postgres
restart: unless-stopped
environment:
POSTGRES_USER: movie_web_user
POSTGRES_DB: movie_web_backend
POSTGRES_PASSWORD: YourPasswordHere
networks:
- movie-web-network
movie-web-backend:
image: ghcr.io/movie-web/backend:latest
restart: unless-stopped
environment:
MWB_SERVER__CORS: "https://movie-backend.example.tld https://movie.example.tld"
MWB_SERVER__PORT: 8080
MWB_POSTGRES__CONNECTION: postgresql://movie_web_user:YourPasswordHere@postgres:5432/movie_web_backend
MWB_CRYPTO__SESSION_SECRET: 32CHARACTERLONGSECRET
MWB_META__NAME: Server name
MWB_META__DESCRIPTION: Server Description
MWB_POSTGRES__MIGRATE_ON_BOOT: "true"
MWB_SERVER__TRUSTPROXY: "true"
MWB_SERVER__TRUSTCLOUDFLARE: "true"
# This is needed to resolve errors running migrations on some platforms - does not affect the application
MIKRO_ORM_MIGRATIONS_DISABLE_FOREIGN_KEYS: "false"
ports:
- "8080:8080"
depends_on:
- postgres
networks:
- movie-web-network
movie-web-frontend:
build:
context: https://github.com/movie-web/movie-web.git
args:
TMDB_READ_API_KEY: "YourTMDBReadAPIKeyHere"
CORS_PROXY_URL: "https://cors.example.tld https://second.cors.example.tld"
BACKEND_URL: "https://backend.example.tld"
DMCA_EMAIL: "YourEmail"
PWA_ENABLED: "true"
APP_DOMAIN: "YourDomainHere"
OPENSEARCH_ENABLED: "true"
GA_ID: "Google ID Here"
ports:
- "80:80"
networks:
- movie-web-network
restart: unless-stopped
movie-web-proxy:
image: ghcr.io/movie-web/simple-proxy:latest
ports:
- "3000:3000"
networks:
- movie-web-network
restart: unless-stopped
networks:
movie-web-network:
driver: bridge
**Important:**
* Replace `YourPasswordHere` with your secure database password.
* Generate a strong session secret and replace `32CharacterLongStringHere`.
```
**Important:**
* Replace `YourPasswordHere` with your secure database password.
* Generate a strong session secret and replace `32CharacterLongStringHere`.
* Replace `TMDBReadAPIKey` with your api key learn more [here](https://movie-web.github.io/docs/client/tmdb).
* replace `yourDomainHere` with whatever you'll be using to access your main site, like movie-web.app
* replace `meta__name` and `meta__description`
2. **Start the Backend:** Open a terminal in the directory containing `docker-compose.yml` and execute:
```bash
docker compose up --detach
```
**Accessing Your Backend**
Your services should be accessible on `(YourPrivateIP):port`. To share it outside your local network, you'll need to configure port forwarding or cloudflared tunnel.
**Optional: Implementing a Reverse Proxy**
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/).