GoAlert publishes its demo admin password and hands out session tokens by curl, and keeps eight Procfiles
Open source on-call scheduling, automated escalations, and notifications so you never miss a critical alert
At a glance
- What is it?
- An on-call scheduling and escalation service written in Go with a React frontend, distributed as a single binary and as per release container images. The convenience documented for integration testing and the convenience documented for local development are the same credentials.
- Who is it for?
- Fit this if you want paging, escalation policy and notification delivery in one self-hosted binary rather than an assembly of separate tools, and if your team will own the on-call process rather than expect a vendor to run it. The engineering surface is substantial for a project still numbered 0.x: a Go backend on PostgreSQL with a queued background worker, a React frontend bundled with Bun, an end to end suite on Cypress, and generated database code through sqlc.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly Go, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.
Star history
- target/goalert2,884 ★ · +42
| Repository | 2026-10-04 | 2026-11-23 |
|---|---|---|
| target/goalert | 2.8k | 2.9k |
42 Stars in the last 50 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The demo image ships admin/admin123 and a curl that returns a session token
The quick start is one container command and a published password.
docker run -it --rm -p 8081:8081 goalert/demoThe service comes up on port 8081 and you log in as `admin` with the password `admin123`. The `--rm` flag and the `demo` tag are the two signals that this is a throwaway configuration, and the release images are published separately for each release.
Three more conveniences are documented for integration testing. A non-admin user exists as `user` with the password `user1234`, which is what a test suite needs so it can exercise permission boundaries rather than everything as an administrator. The environment variable `SKIP_SEED=1` skips the initial seed data step, so a test run does not depend on demo content being present. And a session token can be fetched directly:
curl -XPOST -H 'Referer: http://localhost:8081' -d 'username=admin&password=admin123' 'http://localhost:8081/api/v2/identity/providers/basic?noRedirect=1'So an automated test needs no browser and no login form. The same two facts are true of the development server, where `make start` serves port 3030 with the identical `admin`/`admin123` default. Both are conveniences for a local machine, and both become an exposure the moment a port is reachable from anywhere else.
The process list is spread across eight Procfile variants
There is no single place in this repository that lists what GoAlert runs.
Instead the top level carries eight files whose only job is to declare process types. `Procfile` is the base one. `Procfile.prod` is the production variant. `Procfile.integration` covers the integration environment, `Procfile.swo` covers a separate database pair that the Makefile also gives its own names, and `Procfile.tools` covers the helper commands. Then three Cypress variants: `Procfile.cypress`, `Procfile.cypress.ci` and `Procfile.cypress.prod`.
The split is sensible, because the process list genuinely differs between a production container, an integration run and a browser test run, and a single file would end up with conditionals in it. The cost is that eight files have to stay in step with each other, and a new process type has to be added to the right subset of them rather than to one obvious place.
The environment naming is consistent with that. The Makefile defines a development database URL, an integration database named `goalert_integration`, and a separate pair for the swo environment, `goalert_swo_main` and `goalert_swo_next`, each derived from the base URL by a shell call into a go tool. So the environments have names in three places: the Procfile suffix, the Makefile variable and the database name.
Everything else about the runtime is declared the same way, which is the subject of the next two sections.
Tool versions are committed as files next to their config
Three version numbers live in the repository as files with no extension, which is an old habit with one modern convenience: it makes a toolchain change show up as a reviewable diff.
`golangci-lint.version`, `k6.version` and `bun.version` sit at the top level. Bun gets two more files, `bun.lock` and `bunfig.toml`, so the frontend package manager is Bun with its own lockfile and its own configuration, and the JavaScript side of the project is private: the manifest is marked `private: true`, which is why nothing about it is published to a registry.
Around those sit the linting and formatting configuration, one file per tool. `.golangci.yaml` for the Go linter, `eslint.config.mjs` for JavaScript, `.stylelintrc` plus `.stylelintignore` for CSS, `.prettierignore` for formatting exclusions, `.codespellrc` for spelling, and `.labelignore` for the issue bot. `.storybook/` holds component workshop configuration and `.vscode/` holds editor settings.
Two details in the Makefile show how the version files are consumed. The Go linter and the load testing tool are invoked as `go tool`, which means their versions come from the module's tool directives rather than from whatever happens to be on the machine, and `Makefile.binaries.mk` is included from the main Makefile to declare those tools. So the committed version files and the go tool mechanism are two halves of the same decision.
The practical effect for a contributor is that a linter upgrade is a one line change with a reviewable diff, and a machine without those tools installed is not a blocker.
package.json configures two test runners and ignores one dependency on purpose
The JavaScript manifest describes a unit test setup and a browser test setup, and it still carries configuration for a third.
The unit side is a `jest` block. It transforms with `esbuild-jest` rather than Babel, sets `rootDir` to `web/src`, and then does one thing worth pausing on: `transformIgnorePatterns` is set to ignore everything under node_modules except a single package, `wouter`. That is a deliberate exception, carved out so one dependency gets transformed while the rest of node_modules stays untransformed.
Alongside it is a `standard` block, which is the older JavaScript style linter's configuration format. It names `babel-eslint` as the parser, sets the environment to `mocha`, declares `Cypress`, `cy`, `expect`, `beforeAll` and `afterAll` as globals, and ignores `web/src/cypress/example_tests/`. So the manifest still describes a mocha era configuration with Cypress globals while the unit test transform is configured for jest, and the end to end suite is a Cypress suite, which has its own config file at `cypress.config.ts`.
The scripts line up with the two active runners. `lint` runs eslint with `--fix` over JavaScript and TypeScript and then stylelint with `--fix` over CSS. `check` type checks twice, once against `web/src/app/tsconfig.json` and once against `web/src/cypress/tsconfig.json`, so the browser tests are type checked separately from the application. The Storybook scripts serve on port 6006, and two esbuild configs exist, one for the app and one for Cypress.
Two PostgreSQL drivers and two queue drivers in one module
The Go module is `github.com/target/goalert`, declares `go 1.26.0`, and pins one transitive dependency with a replace directive rather than a version constraint.
`github.com/imdario/mergo` is held at `v0.3.16` through a `replace`, which is the mechanism to use when you want a specific version of something you do not directly require.
The database layer carries two drivers. `github.com/jackc/pgx/v5` is the modern one, `github.com/lib/pq` is the older standard library driver, and both are in the require list, so the codebase is not committed to either. `github.com/jackc/pgxlisten` is there as well, which is the pgx specific piece for listening on PostgreSQL notifications.
The background job layer does the same thing twice. `github.com/riverqueue/river` is the queue, and it is required with two driver packages, `riverdriver/riverdatabasesql` and `riverdriver/riverpgxv5`. That is what lets the same queued work run over a standard `database/sql` connection or over pgx, and it pairs with the notification listener above.
The rest of the list describes the product. GraphQL via `gqlgen` and `gqlparser`, configuration and commands via `viper` and `cobra`, metrics via the Prometheus client, chat integration via `slack-go/slack`, outbound mail via `emersion/go-smtp` with `matcornic/hermes` for templated messages, phone number handling via `nyaruka/phonenumbers`, OpenID Connect via `coreos/go-oidc` with `oauth2-proxy/mockoidc` as a test double, and `brianvoe/gofakeit` for generating fake data in tests.
The Makefile turns CGO off and picks a checksum tool per platform
The build file is where the environment assumptions are written down, and two of them are portability shims.
The first is the checksum command. The line picks `sha256sum` when that binary exists and falls back to `shasum -a 256`, with a comment naming Linux and macOS as the two cases. The second is the toolchain. `export CGO_ENABLED = 0` is set for the whole make run, and the helper commands are invoked as `go tool` rather than being expected on the machine: `sqlc` with CGO explicitly enabled, `psql-lite`, `pgdump-lite`, `goalert-migrate` and `waitfor`.
The default target is `bin/goalert`, and `Makefile.binaries.mk` is included from the top, which is where those go tool declarations live. `Makefile.binaries.mk` is also the reason the repository carries a committed linter version file: the version and the declaration travel together.
Other details worth knowing. The development database URL is `postgres://goalert@localhost:5432/goalert`, with no password in it, and `PG_VERSION` defaults to 17. Certificates come from a generator inside the project itself, `go run ./cmd/goalert gen-cert`, and `protoc` is invoked with a rewritten `PATH` pointing at the tools directory. Cypress is configured through exported variables, `CY_ACTION` set to `open` and `CY_BROWSER` set to `chrome`, which is why the Makefile is not a neutral build file but a development environment description.
Three of the phony targets are named after files they produce rather than after actions: `config.json.bak`, `timezone/zones.txt` and `timezone/aliases.txt`. Those are generated artefacts sitting in a target list next to real verbs like `resetdb` and `new-migration`.
Version 0.35.0 after eleven months, with a nightly image for the gap
The release history explains the two Docker tags better than any documentation could.
Three recent releases are visible: v0.34.0 on 2025-08-28, v0.34.1 on 2025-10-06, and v0.35.0 on 2026-09-21. That is a six week gap, then an eleven month gap, and the project is still numbered below 1.0. The last push is dated 2026-09-23, two days after the v0.35.0 tag, so commits are landing after the release rather than before it.
The image tags are `latest`, described as the most recent release, and `nightly`, described as the latest build from the `master` branch. That pair exists to cover exactly the eleven month gap: a deployment that cannot wait for a tag can run the nightly build, at the cost of running something that has not been through a release.
There is no archive marker, and the project is reachable at goalert.me with documentation alongside it. Support questions go to a Slack channel on the Gophers workspace, which needs an invitation requested through an automated form, and the feature request path is the issue tracker sorted by reactions rather than a separate board.
One last asymmetry: bugs go to the issue tracker, while security issues go to a dedicated address at [email protected]. That split is the correct shape and it is the one piece of project policy stated in a single line.
Editorial conclusion
Fit this if you want paging, escalation policy and notification delivery in one self-hosted binary rather than an assembly of separate tools, and if your team will own the on-call process rather than expect a vendor to run it. The engineering surface is substantial for a project still numbered 0.x: a Go backend on PostgreSQL with a queued background worker, a React frontend bundled with Bun, an end to end suite on Cypress, and generated database code through sqlc. Before you deploy, settle four things. Which image you run, because the demo tag exists specifically to be started and thrown away with a published admin password and a documented token endpoint, and it is a different tag from the per release images. Which database driver path you take, since two PostgreSQL drivers and two queue drivers are in the dependency list. Which processes you actually start, because the process list is spread across eight Procfiles rather than one. And where your PostgreSQL data and generated secrets live, since the certificate helper, the migration tool and the dump helper are all separate go tool invocations in the Makefile rather than one setup command.
Frequently asked questions
What is GoAlert used for?
On-call scheduling, automated escalations and notifications such as SMS or voice calls, so the right person is engaged the right way at the right time. It is distributed as a single binary, with container images published for each release.
What are GoAlert's default login credentials?
admin/admin123, on both the demo container served on port 8081 and the development server started with make start on port 3030. The demo image also provides a non-admin user, user/user1234, for integration testing.
How do I get a session token from the GoAlert demo container?
POST to the basic identity provider endpoint with a Referer header of http://localhost:8081 and the username and password in the body, adding noRedirect=1. You can also set the SKIP_SEED environment variable to skip the initial seed data step.
Which Docker tags are published for GoAlert?
One image per release, where the latest tag is the most recent release and nightly is the latest build from the master branch. The quick start uses a separate goalert/demo image, started with docker run and removed on exit.
Is there an alternative to GoAlert?
The README names none. It points to a getting started guide for running GoAlert in production, a development setup guide, and a separate documentation site, and the route for feature requests is the issue tracker.
How do I report a security issue in GoAlert?
Security issues go to [email protected]. Bugs go to the issue tracker, and feature requests are voted on there sorted by reactions, or submitted as new issues. Questions go to the goalert channel on the Gophers Slack workspace, which requires an invitation.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/target-goalert)Star history chart for your README
[](https://hysenlabs.com/projects/target-goalert)Was this useful?