Closed wclausen closed 6 months ago
@Melvillian yep, we do actually need this inside packages/server
. Fixed that. And added a README.md
as requested.
Ended up force pushing these changes after rebasing on latest main
. Here's what I did:
packages/server
packages/server/config/deploy.yml
(henceforth referred to as deploy.yml
) to have proper values/configDockerfile
for packaging the server
code into a container (inspired by the bun documentation)routes.ts
to include a route that kamal will use for health checks when deploying.kamal setup
to install docker on our two servers and install/run postgres and redis as accessories.kamal redeploy
Visual proof that we have a live server:
I'm going to approve and merge because the problem with this PR are purely at the infra auth level, and I want the latest changes made in this PR to go to main
so I can use them.
Adds kamal initialization folders/files for our deployments to Hetzner servers.
Adds hopefully useful/reasonably concise document outlining the deployment architecture and kamal basics so this can be referenced in the future/you can pipe it to chatty geeps and get back an answer real quick.