Deploy Onyx on Azure Virtual Machines
Create a VM instance
Standard_D4s_v3
instance.onyx-prod
Ubuntu Server 20.04 LTS
imageStandard_D4s_v3
sizeAllow selected ports
and check HTTPS (443)
in the Inbound port rules 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 Ubuntu Server 20.04 LTS, 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
.