Skip to content

Axyon Nexus

Nexus provides an HTTP frontend for the Axyon OS package mirror at pkgs.axyon.io.

Provider

ax providers create \
  --id io.underland.nexus.v1 \
  --image r.underland.io/underland/nexus:latest \
  --cpus 1 \
  --memory 1G \
  --storage 512M \
  --arg "console=hvc0" \
  --arg "root=/dev/vda" \
  --runtime vz

Secrets

ax secrets create \
  -f $HOME/dev/underland/infra/config/underland/axyon/nexus/nexus.env \
  nexus.env

Service

ax services create \
  -n nexus-00 \
  -p io.underland.nexus.v1 \
  --secret nexus.env:compose.env \
  --label node=aurora \
  --plugin io.axyon.plugins.tailscale \
  --metadata io.axyon.fusion.hostname=pkgs.axyon.io \
  --metadata io.axyon.fusion.service=axyon-nexus \
  --metadata io.axyon.fusion.port=8080 \
  --metadata io.axyon.fusion.tls=true \
  --metadata io.axyon.fusion.redirect-https=true

ax services create \
  -n nexus-01 \
  -p io.underland.nexus.v1 \
  --secret nexus.env:compose.env \
  --plugin io.axyon.plugins.tailscale \
  --label node=horizon \
  --metadata io.axyon.fusion.hostname=pkgs.axyon.io \
  --metadata io.axyon.fusion.service=axyon-nexus \
  --metadata io.axyon.fusion.port=8080 \
  --metadata io.axyon.fusion.tls=true \
  --metadata io.axyon.fusion.redirect-https=true