|
1 | 1 | # StackStorm in Docker Compose
|
2 |
| -[](https://circleci.com/gh/StackStorm/st2-docker) |
| 2 | + |
| 3 | +[](https://github.com/StackStorm/st2-docker/actions/workflows/st2-docker.yml) |
3 | 4 |
|
4 | 5 | This docker-compose is provided as a way to allow "get up and running" quickly with StackStorm using Docker (based on [st2-dockerfiles](https://github.com/stackstorm/st2-dockerfiles)). It is not designed to be used in production, but rather a way to test out StackStorm and facilitate pack development.
|
5 | 6 | > If you need Highly Availability experience, there is Kubernetes installation available via Helm charts at https://docs.stackstorm.com/install/k8s_ha.html.
|
@@ -36,7 +37,7 @@ The image version, exposed ports, chatops, and "packs.dev" directory are configu
|
36 | 37 |
|
37 | 38 | The `files/htpasswd` file is provided with a default username of `st2admin` and a default password of `Ch@ngeMe`. This can be changed using the [htpasswd utility](https://httpd.apache.org/docs/2.4/programs/htpasswd.html).
|
38 | 39 |
|
39 |
| -Another file (`files/st2-cli.conf`) contains default credentials and is mounted into the "st2client" container. If you change credentials in htpasswd, you will probably want to change them in `st2-cli.conf`. |
| 40 | +Another file (`files/st2-cli.conf`) contains default credentials and is mounted into the "st2client" container. If you change credentials in htpasswd, you will probably want to change them in `st2-cli.conf`. |
40 | 41 |
|
41 | 42 | ### Further configuration
|
42 | 43 |
|
@@ -69,7 +70,7 @@ restart your st2 stack.
|
69 | 70 | #### RBAC Configuration
|
70 | 71 |
|
71 | 72 | Starting with v3.4.0 RBAC is now included, but not enabled, by default. There are some default assignments, mappings, and roles
|
72 |
| -that ship with st2-docker. All the configuration files for RBAC are kept in `./files/rbac`. |
| 73 | +that ship with st2-docker. All the configuration files for RBAC are kept in `./files/rbac`. |
73 | 74 | Consult the [st2 RBAC documentation](https://docs.stackstorm.com/rbac.html) for further information.
|
74 | 75 |
|
75 | 76 | To enable RBAC you can edit st2.user.conf and add the following options:
|
@@ -254,7 +255,7 @@ First, find the actual container name of st2api by running `docker-compose ps st
|
254 | 255 |
|
255 | 256 | ```shell
|
256 | 257 | $ docker-compose ps st2api
|
257 |
| - Name Command State Ports |
| 258 | + Name Command State Ports |
258 | 259 | --------------------------------------------------------------------
|
259 | 260 | compose_st2api_1 /opt/stackstorm/st2/bin/st ... Up 9101/tcp
|
260 | 261 | ```
|
@@ -380,7 +381,7 @@ docker-compose down --remove-orphans -v
|
380 | 381 |
|
381 | 382 | # Testing
|
382 | 383 |
|
383 |
| -Testing st2-docker is now powered by [BATS](https://github.com/sstephenson/bats) Bash Automated Testing System. |
| 384 | +Testing st2-docker is now powered by [BATS](https://github.com/sstephenson/bats) Bash Automated Testing System. |
384 | 385 | A "sidecar" like container loads the BATS libraries and binaries into a st2client-like container to run the tests
|
385 | 386 |
|
386 | 387 | To run the tests
|
|
0 commit comments