Self-Hosting
This documentation page is a work in progress.
Overview
This guide will walk you through self-hosting Open Game Backend on a virtual machine.
This is going to run everything on a single vm, suitable for hobby deployments.
Prerequisites
This guide works with most Linux distributions, but is not tested. Reach out on Discord if you have questions.
Upload To Server
TODO: demonstrate using git clone of their own repo
Configure firewall
Open port 80
Write Dockerfile
TODO: not using opengb dev for prod
Write Docker Compose
TODO: quickly explain how this works
docker-compose.yaml
Up
Next Steps
- Set up SSL
- Secure Postgres database credentials
- Monitor with docker-compose logs