HUB
Sign inSign up
studio logo

gofeatureflag/studio

Sponsored OSS

By GO Feature Flag

•Updated about 1 hour ago

Studio is your flag editor to use with GO Feature Flag

Image
0

330

gofeatureflag/studio repository overview

⁠GO Feature Flag Studio

The web interface for GO Feature Flag⁠, the open-source feature flag solution built on OpenFeature⁠.

GO Feature Flag already lets you evaluate flags from a file through the relay proxy and the OpenFeature SDKs. The Studio adds the place where humans manage those flags: create and edit them in a UI, organize them by team, control who can change what, and keep a history of every change. Relay proxies (v1.59.2 or later) load their flagsets straight from Studio.

🚧 Work in progress. Studio is under active development: features, APIs and the data model can change at any time, and it is not ready for production use yet. Feedback is welcome on GitHub⁠ or Slack⁠.

⁠Tags

  • 0.1.0-beta.5: pin a specific version, see all old versions in releases⁠.
  • latest: the last stable (non-prerelease) release.

Images are built for linux/amd64 and linux/arm64 on gcr.io/distroless/static-debian12:nonroot. The same images are published to ghcr.io/go-feature-flag/studio.

⁠Requirements

  • PostgreSQL 18 or later. The server refuses to start on an older version and applies its schema migrations at startup (set GOFF_STUDIO_DB_MIGRATE=false to run them yourself).
  • An OpenID Connect provider (Keycloak, Auth0, Okta, Google, ...) with a confidential client for Studio, whose redirect URL is https://<studio host>/auth/callback.
  • HTTPS in front of the server. Session cookies are Secure by default.

⁠Quick start

The image holds one binary that serves both the API and the web UI on port 8080.

docker run -p 8080:8080 \
  -e GOFF_STUDIO_DB_URL='postgres://user:pass@db:5432/goff?sslmode=require' \
  -e GOFF_STUDIO_OIDC_ISSUER=https://idp.example.com/realms/goff \
  -e GOFF_STUDIO_OIDC_CLIENTID=goff-studio \
  -e GOFF_STUDIO_OIDC_CLIENTSECRET=... \
  -e GOFF_STUDIO_OIDC_REDIRECTURL=https://studio.example.com/auth/callback \
  -e GOFF_STUDIO_AUTH_JWTSECRET=... \
  -e [email protected] \
  gofeatureflag/studio:0.1.0-beta.5

Log in with an email listed in GOFF_STUDIO_AUTH_ADMINEMAILS to become super admin and create your company.

⁠Configuration

Every setting is an environment variable: GOFF_STUDIO_ + the key in upper case with . replaced by _ (auth.cookieSecure → GOFF_STUDIO_AUTH_COOKIESECURE). You can also mount a YAML file and pass it with --config /path/to/config.yaml.

VariableDefaultNotes
GOFF_STUDIO_DB_URLrequiredPostgreSQL DSN.
GOFF_STUDIO_OIDC_ISSUERrequiredIssuer URL; its discovery document must be reachable at startup.
GOFF_STUDIO_OIDC_CLIENTID / GOFF_STUDIO_OIDC_CLIENTSECRETrequired
GOFF_STUDIO_OIDC_REDIRECTURLrequiredhttps://<studio host>/auth/callback.
GOFF_STUDIO_AUTH_JWTSECRETrequiredAt least 32 characters; signs the session tokens.
GOFF_STUDIO_AUTH_ADMINEMAILS(none)Comma-separated super admin emails.
GOFF_STUDIO_SERVER_PORT8080
GOFF_STUDIO_SERVER_TRUSTEDPROXIES(none)CIDR ranges of your reverse proxies (client IP, forwarded scheme).
GOFF_STUDIO_SERVER_MULTICOMPANYfalseMulti-tenancy.
GOFF_STUDIO_SERVER_DEFAULTTRACKEVENTStrueNew flags start with trackEvents on.
GOFF_STUDIO_AUTH_COOKIESECUREtrueOnly turn off for local http development.
GOFF_STUDIO_LOG_LEVEL / GOFF_STUDIO_LOG_FORMATinfo / json

The full list (pool sizes, sessions, cookies, running the UI and the API separately, OpenTelemetry) is in the deployment guide⁠.

⁠Health checks

  • GET /health: liveness, 200 while the process runs, with the running version.
  • GET /ready: readiness, 503 while the database doesn't answer.

The container stops gracefully on SIGTERM.

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

sha256:c1b656169…

Size

14.1 MB

Last updated

about 1 hour ago

docker pull gofeatureflag/studio:0.1.0-beta.5

This week's pulls

Pulls:

99

Last week