Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Web app for managing virtual machines. Using svelte, sapper.

Notifications You must be signed in to change notification settings

hugojosefson/virsh-ui-svelte

Repository files navigation

virsh-ui-svelte

Web app for managing virtual machines.

Common prerequisite

Additionally required for running/building via Docker

Additionally required for running/building without Docker

  • Node.js@>=13, preferably installed via nvm
  • virsh command-line tool

Running with Docker

The only thing from this repo you need to run the service in Docker, is the script docker-run.

./docker-run accepts the following optional environment variables:

Name Default value Description
PORT 3000 The HTTP port to listen on.
LIBVIRT_SOCK /var/run/libvirt/libvirt-sock Socket file for communication with libvirt.

Usage examples

./docker-run
PORT=80 ./docker-run

Building with Docker

Only needed if you have made changes to the source code. Otherwise ./docker-run automatically downloads the latest Docker image for hugojosefson/virsh-ui-svelte from Docker Hub.

./docker-build

Based on hugojosefson/sapper-template-rollup.