Skip to content

Commit

Permalink
Merge pull request StackStorm#110 from StackStorm/wvw/container-name
Browse files Browse the repository at this point in the history
Fix container name clashes
  • Loading branch information
warrenvw authored Apr 24, 2018
2 parents 737f943 + 8f01931 commit 503554c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ rmi:
docker rmi $$(docker images -f dangling=true -q)

exec:
docker exec -it stackstorm /bin/bash
docker-compose exec stackstorm /bin/bash
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ First, execute
make env
```

to create the environment files used by docker-compose. You may want to change the values of the
to create the environment files used by `docker-compose`. You may want to change the values of the
variables as necessary, but the defaults should be okay if you are not using any off-cluster
services (e.g. mongo, redis, postgres, rabbitmq).

Expand Down
5 changes: 0 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ version: '3'
services:
stackstorm:
image: stackstorm/stackstorm:${TAG:-latest}
container_name: stackstorm
env_file:
- conf/stackstorm.env
- conf/mongo.env
Expand All @@ -30,7 +29,6 @@ services:

mongo:
image: mongo:3.4
container_name: mongo
env_file:
- conf/mongo.env
networks:
Expand All @@ -41,7 +39,6 @@ services:
dns_search: .
rabbitmq:
image: rabbitmq:3.6-management
container_name: rabbitmq
env_file:
- conf/rabbitmq.env
networks:
Expand All @@ -51,7 +48,6 @@ services:
dns_search: .
postgres:
image: postgres:9.6
container_name: postgres
env_file:
- conf/postgres.env
networks:
Expand All @@ -61,7 +57,6 @@ services:
dns_search: .
redis:
image: redis:4.0
container_name: redis
env_file:
- conf/redis.env
networks:
Expand Down
10 changes: 5 additions & 5 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cp tutorial/actions/hello.yaml packs.dev/tutorial/actions
Get a bash shell in the `stackstorm` container:

```
docker exec -it stackstorm /bin/bash
docker-compose exec stackstorm /bin/bash
```

Load the new action into StackStorm. Whenever you change the yaml file, you need
Expand Down Expand Up @@ -136,10 +136,10 @@ Run the following from your docker host.
Take a look at `monitor_file.yaml`. The `core.local` action is triggered when the
contents of `/tmp/watcher.log` change.

Use `docker exec` to connect to the `stackstorm` container:
Use `docker-compose exec` to connect to the `stackstorm` container:

```
docker exec -it stackstorm /bin/bash
docker-compose exec stackstorm /bin/bash
```

Run the following:
Expand Down Expand Up @@ -261,10 +261,10 @@ To add a simple mistral workflow, run the following from your docker host.
cp -R tutorial/actions/workflows/mistral-basic.yaml packs.dev/tutorial/actions/workflows/mistral-basic.yaml
```
Use `docker exec` to connect to the `stackstorm` container:
Use `docker-compose exec` to connect to the `stackstorm` container:
```
docker exec -it stackstorm /bin/bash
docker-compose exec stackstorm /bin/bash
```
Within the container, run the following:
Expand Down

0 comments on commit 503554c

Please sign in to comment.