Skip to content

A web interface for River, fast and reliable background jobs in Go.

License

Notifications You must be signed in to change notification settings

hardcode-gmbh/riverui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

River UI

River UI is a graphical user interface for the River job queue. It lets users view and manage jobs without having to resort to querying the database or the command line.

A live demo of River UI is available to see what it looks like.

Installation

A working River database is required for the UI to start up properly. See running River migrations, and make sure a DATABASE_URL is exported to env.

$ go install github.com/riverqueue/river/cmd/river@latest
$ river migrate-up --database-url "$DATABASE_URL"

From binary

River UI releases include a set of static binaries for a variety of architectures and operating systems. Use one of these links:

Or fetch a binary with cURL:

$ RIVER_ARCH=arm64 # either 'amd64' or 'arm64'
$ RIVER_OS=darwin  # either 'darwin' or 'linux'
$ curl -L https://github.com/riverqueue/riverui/releases/latest/download/riverui_${RIVER_OS}_${RIVER_ARCH}.gz | gzip -d > riverui
$ chmod +x riverui
$ export DATABASE_URL=...
$ ./riverui

From container image

River UI ships container images with each release. Pull and run the latest with:

$ docker pull ghcr.io/riverqueue/riverui:latest
$ docker run -p 8080:8080 --env DATABASE_URL ghcr.io/riverqueue/riverui:latest

Environment variables

  • DATABASE_URL=... - define database url
  • PORT=8080 - define listening port
  • RIVER_DEBUG=true - enable debugging logs
  • CORS_ORIGINS=url1,url2 - define allowed CORS origins
  • OTEL_ENABLED=true - enable OTEL integration
  • BASIC_AUTH_USER=admin, BASIC_AUTH_PASSWORD=changeme - enable basic auth username/password

Development

See developing River UI.

About

A web interface for River, fast and reliable background jobs in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 58.8%
  • Go 33.6%
  • MDX 3.0%
  • CSS 2.2%
  • PLpgSQL 1.6%
  • Dockerfile 0.3%
  • Other 0.5%