st2web
Containerized st2web React app, the StackStorm Web UI
1M+
Containerized st2web app, the StackStorm Web UI.
It's using nginx service under the hood, proxifying requests to StackStorm services (auth, api, stream).
ENV varsThe following environment variables are available for configuration:
ST2_AUTH_URL (default: http://st2auth:9100/) - StackStorm Auth serviceST2_API_URL (default: http://st2api:9101/) - StackStorm API serviceST2_STREAM_URL (default: http://st2stream:9102/) - StackStorm Stream serviceWarning! All 3 services should be DNS/network accessible for
st2webcontainer to start properly. Thanks to K8s pod restarts, it's not a problem.
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:
/etc/ssl/st2/st2.crt (required) - SSL certificate, ssl_certificate nginx directive/etc/ssl/st2/st2.key (required) - SSL certificate secret key ssl_certificate_keyIf 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.
Content type
Image
Digest
sha256:4391407cf…
Size
96.6 MB
Last updated
about 8 hours ago
docker pull stackstorm/st2web:3.9dev