Commit ea69cce0 authored by Melroy van den Berg's avatar Melroy van den Berg

Using correct volume path

parent 9d28e108
Pipeline #2333 passed with stage
in 1 minute and 2 seconds
......@@ -35,10 +35,10 @@ cp configTemplate.yml config.yml
```
2. Now change the `config.yml` to your needs.
3. Start Docker container by providing the `config.yml` from outside the Docker container (so change the path `/some/location/` to your config location):
3. Start Docker container by providing the `config.yml` from outside the Docker container (by default using current working directory (`pwd`) on your host machine):
```sh
docker run --restart always -v $(pwd)/config.yml:/some/location/config.yml -d danger89/index-bot
docker run --restart always -v $(pwd)/config.yml:/app/config.yml -d danger89/index-bot
```
*Note:* THe command above should pull the image automatically from Docker Hub.
......
#!/usr/bin/env bash
docker run --restart=always -v $(pwd)/config.yml:$(pwd)/config.yml -d danger89/index-bot
docker run --restart=always -v $(pwd)/config.yml:/app/config.yml -d danger89/index-bot
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment