Documentation
¶
Overview ¶
Command taskmill-ui serves taskmill's web interface on its own: a dashboard for an installation, run apart from the applications that use it.
go install github.com/code19m/taskmill/cmd/taskmill-ui@latest TASKMILL_DATABASE_URL=postgres://... TASKMILL_UI_PASSWORD=... taskmill-ui
Each release also publishes it as binaries and as the container image ghcr.io/code19m/taskmill-ui.
It reads its settings from the environment:
TASKMILL_DATABASE_URL the PostgreSQL connection string (required)
TASKMILL_SCHEMA the installation's schema (default: taskmill)
TASKMILL_UI_ADDR the address to listen on (default:
localhost:8080; use :8080 in a container)
TASKMILL_UI_USERNAME the user of HTTP basic authentication
(default: admin)
TASKMILL_UI_PASSWORD its password; without one, anyone who
reaches the address can use the dashboard
TASKMILL_UI_READ_ONLY "true" to disable every action
TASKMILL_UI_PREFIX the path the dashboard is served at, such as
/admin/jobs, when a proxy forwards that path
to it unchanged (default: the root)
TASKMILL_UI_FRAME_ANCESTORS the origins of the pages that may show the
dashboard in a frame, separated by commas or
spaces, such as https://admin.example.com
(default: none)
It does not migrate the schema: the applications that own it do.