Skip to content

Deployment

Lk edited this page Nov 26, 2023 · 1 revision

One can deploy the application a few ways:

Lambda

One could deploy this entire application to AWS Lambda. Once a lambda function is created using a custom runtime, we're going to provide a bootstrap binary, Use the provided deploy script which builds the server as a binary for the ARM architecture and uploads it to AWS. If your AWS Lambda function is for x86, you'll have to change the GOOS variable in the deployment script. AWS credentials will have to be in your $PATH for this to work.

Container

under construction

Binary

Using the README, one can build the binary and run it manually or with an init script, like a systemd service, to run it continuously. To run the binary, one would need:

  • binary build with Go
  • the Static directory
  • the templates directory

Reverse Proxy

It's encouraged to put this application behind a reverse proxy like Nginx which handles the TLS termination

Clone this wiki locally