mirror of
https://github.com/movie-web/docs.git
synced 2025-09-13 14:43:27 +00:00
Write a lot, like an actual lot. of documentation
Co-authored-by: William Oldham <github@binaryoverload.co.uk>
This commit is contained in:
@@ -3,8 +3,25 @@ title: 'Deploy'
|
||||
---
|
||||
# Deploying the backend
|
||||
|
||||
// FILL PAGE
|
||||
The only officially recognized hosting method is through Docker (or similar container runtimes).
|
||||
|
||||
## Method 1 - docker
|
||||
It can be scaled horizontally to all your heart's content.
|
||||
|
||||
// EXPLAIN HOW TO DEPLOY WITH DOCKER
|
||||
For configuration, check out the [configuration reference](2.configuration.md).
|
||||
|
||||
::alert{type="info"}
|
||||
The postgres database will need to be populated with [migrations](0.introduction.md) if `postgres.migrateOnBoot` isn't enabled.
|
||||
::
|
||||
|
||||
## Method 1 - Docker
|
||||
|
||||
For other versions, [check out the package page](https://github.com/movie-web/backend/pkgs/container/backend).
|
||||
|
||||
```sh
|
||||
docker run \
|
||||
-p 80:80 \
|
||||
-e POSTGRES__CONNECTION=postgresql://localhost:5432 \
|
||||
-e CRYPTO__SESSION_SECRET=add-your-own-secret \
|
||||
-e META__NAME=unofficial-movie-web \
|
||||
ghcr.io/movie-web/backend:latest
|
||||
```
|
||||
|
Reference in New Issue
Block a user