https://github.com/flyte/docker-stackstorm
Build files for Stackstorm
https://github.com/flyte/docker-stackstorm
Last synced: about 1 year ago
JSON representation
Build files for Stackstorm
- Host: GitHub
- URL: https://github.com/flyte/docker-stackstorm
- Owner: flyte
- Created: 2017-01-27T18:12:51.000Z (over 9 years ago)
- Default Branch: develop
- Last Pushed: 2017-02-01T12:30:09.000Z (over 9 years ago)
- Last Synced: 2025-02-14T07:19:28.714Z (over 1 year ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
docker-stackstorm
=================
Contains the files required to run Stackstorm on Docker.
Based heavily on the [Stackstorm st2-dockerfiles repository](https://github.com/stackstorm/st2-dockerfiles)
but simplified and modified slightly for my own ease of use, and to use Docker Hub's auto-build functionality.
##Usage
Generate or copy the requisite SSH keys to the `data` directory:
```bash
ssh-keygen -f data/id_rsa
```
or
```bash
cp -p ~/.ssh/id_rsa* data/
```
Also copy a `known_hosts` file which contains the SSH key hashes for any hosts you wish to connect
to over SSH, such as Github and Bitbucket:
```bash
cp ~/.ssh/known_hosts data/
```
Modify or recreate the `htpasswd` file for your Stackstorm user (on Ubuntu, this tool comes from
the `apache2-utils` package):
```bash
# Truncate the file first if you wish to remove the default st2admin user:
> data/htpasswd
htpasswd data/htpasswd
```
Bring the stack up with `docker-compose`:
```bash
docker-compose up -d
```
##Packs
Once the services have started up and you're able to run commands with the `st2` CLI client, you may
want to install a list of packs which your organisation uses.
Create a file listing your requirements (`packs.txt`):
```
ansible
git@bitbucket.org:0x07ltd/pack-yourpack.git
git@bitbucket.org:0x07ltd/pack-yourotherpack.git
```
Install the packs:
```bash
xargs st2 pack install < packs.txt
```