This repository contains scripts and additional guides that make it easy to deploy services from backend.
git submodule update --init
The go scripts under this directory (which you can execute with
go run .
after cd'ing into the directory) make it easy to setup multiple services and expose them all under one nginx reverse proxy on an lightsail instance.
- You will need to create your own configuration file called
config.local.json5
based on theconfig.json5
file and theConfig
struct inmain.go
. - You will need to have an SSH key for your lightsail instance on hand and point the
ssh_key_path
field in the configuration to it.
These scripts make it easy to run migrations on multiple turso libsql databases at the same time. Run with
go run .
in the same way asdeploy/lightsail
.
- You will need to create your own configuration file in the same way as
deploy/lightsail
.