Deploy Onyx on GCP Compute Engine
Create a VM instance
e2-standard-4
instance.onyx-prod
Debian GNU/Linux 12
boot diske2-standard-4
machine typeAllow HTTPS traffic
in the Firewall sectionCreate the instance
Point domain to the instance
A
and CNAME
record to our DNS provider.Install Onyx requirements
git
, docker
, and docker compose
.To install these on Debian GNU/Linux 12, run the following:Install and Configure Onyx
.env
and .env.nginx
files.Launch Onyx
init-letsencrypt.sh
script will get us a SSL certificate from letsencrypt and launch the Onyx stack.docker logs onyx-stack-api_server-1 -f
.