mirror of https://github.com/sussy-code/docs.git
801 B
801 B
title |
---|
Deploy |
Deploying the backend
The only officially recognized hosting method is through Docker (or similar container runtimes).
It can be scaled horizontally to all your heart's content.
For configuration, check out the configuration reference.
::alert{type="info"}
The postgres database will need to be populated with migrations if postgres.migrateOnBoot
isn't enabled.
::
Method 1 - Docker
For other versions, check out the package page.
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