Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.03 KB

File metadata and controls

34 lines (29 loc) · 1.03 KB

Stack Dashboard

Usage (dev)

  1. pnpm install
  2. cd dev
  3. vyos/build-image.sh
  4. podman compose up -d
  5. pve/init-cluster.sh
  6. Copy apps/dashboard/.env.example to apps/dashboard/.env
  7. Add secrets to apps/dashboard/.env
  • Update CLOUDFLARE_HYPERDRIVE_LOCAL_CONNECTION_STRING_HYPERDRIVE and set all VPC stuff to false
  • set BETTER_AUTH_SECRET to any value
  1. Set up the database: pnpm --filter stack-dashboard db:migrate
  2. Seed test IPs: podman exec -i fyra-postgres psql -U postgres < dev/seed-ipam.sql
  3. pnpm --filter stack-dashboard dev

Details, one-time machine setup, and caveats: dev/README.md

secrets

  • Required:
    • Generate Better Auth
    • Autumn
    • Postgres connection URL
      • with the dev compose stack: postgres://postgres:mysecretpassword@127.0.0.1:5432/postgres
  • Highly recommended:
    • Proxmox (printed by dev/pve/init-cluster.sh)
  • Optional:
    • VyOS (values in dev/README.md)
    • GitHub
    • Google
    • Internal cron secret
    • Cloudflare email key