Skip to content

Commit

Permalink
Update run instructions in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0der committed Sep 3, 2020
1 parent 79c0ef2 commit afefdb5
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,19 @@ The repo was forked to make minor tweaks to the Dockerfile so that it can be use
Run it locally with the following command, passing in environment variables as needed:

```
docker run -e "SLACK_ORG=sdkman" -e "SLACK_TOKEN=???" -e "GOOGLE_CAPTCHA_SECRET=???" -e "GOOGLE_CAPTCHA_SITEKEY=???" sdkman/sdkman-slackin:0.1.0
docker run -e "SLACK_ORG=sdkman" -e "SLACK_TOKEN=???" -e "GOOGLE_CAPTCHA_SECRET=???" -e "GOOGLE_CAPTCHA_SITEKEY=???" sdkman/sdkman-slackin:latest
```


Or in Ansible using `docker_service`:
```
slackin:
image: "{{ slackin_docker_image }}"
container_name: sdkman-slackin
expose:
- "3000"
environment:
- SLACK_ORG=sdkman
- SLACK_TOKEN={{ slack_token }}
- GOOGLE_CAPTCHA_SECRET={{ google_captcha_secret }}
- GOOGLE_CAPTCHA_SITEKEY={{ google_captcha_sitekey }}
```

0 comments on commit afefdb5

Please sign in to comment.