stackstorm/st2web

By stackstorm

Updated about 8 hours ago

Containerized st2web React app, the StackStorm Web UI

Image
Security
Integration & delivery
Monitoring & observability
3

1M+

stackstorm/st2web repository overview

Docker st2web

Go to stackstorm/st2web Docker Hub Go to st2-dockerfiles Github repo

Containerized st2web app, the StackStorm Web UI. It's using nginx service under the hood, proxifying requests to StackStorm services (auth, api, stream).

Configuration

ENV vars

The following environment variables are available for configuration:

  • ST2_AUTH_URL (default: http://st2auth:9100/) - StackStorm Auth service
  • ST2_API_URL (default: http://st2api:9101/) - StackStorm API service
  • ST2_STREAM_URL (default: http://st2stream:9102/) - StackStorm Stream service

Warning! All 3 services should be DNS/network accessible for st2web container to start properly. Thanks to K8s pod restarts, it's not a problem.

Secrets

StackStorm Web UI uses nginx for SSL negotiation. A valid SSL certificate is required for st2web to run properly. You have to share with the Docker container the following files:

If you don't have a valid SSL certificate, use the following to generate one:

sudo openssl req \
  -x509 \
  -newkey rsa:2048 \
  -keyout /etc/ssl/st2/st2.key \
  -out /etc/ssl/st2/st2.crt \
  -days 365 \
  -nodes \
  -subj "/C=US/ST=California/L=Palo Alto/O=StackStorm/OU=Information Technology/CN=$(hostname)"

Share these files with the container.

Tag summary

Content type

Image

Digest

sha256:4391407cf

Size

96.6 MB

Last updated

about 8 hours ago

docker pull stackstorm/st2web:3.9dev