Skip to content

Commit

Permalink
fixed typo in UI and dnscache readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Feb 2, 2023
1 parent 6f2b1c9 commit f83b6ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dispatcher/frontend-ui/src/views/TaskView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<b-button variant="neutral" v-tooltip="'Copy stderr to clipboard'" @click.prevent="copyOutput(task_container.stderr, 'stderr')"><font-awesome-icon icon="copy" /></b-button>
</th>
<td><pre class="stderr">{{ task_container.stderr }}</pre></td></tr>
<tr v-if="task_container.log"><th>Scrapper&nbsp;Log</th><td><a class="btn btn-secondary btn-sm" target="_blank" :href="zimfarm_logs_url">Download log</a></td></tr>
<tr v-if="task_container.log"><th>Scraper&nbsp;Log</th><td><a class="btn btn-secondary btn-sm" target="_blank" :href="zimfarm_logs_url">Download log</a></td></tr>
<tr v-if="task_debug.exception"><th>Exception</th><td><pre>{{ task_debug.exception }}</pre></td></tr>
<tr v-if="task_debug.traceback"><th>Traceback</th><td><pre>{{ task_debug.traceback }}</pre></td></tr>
<tr v-if="task_debug.log"><th>Task-worker Log</th><td><pre>{{ task_debug.log }}</pre></td></tr>
Expand Down
6 changes: 3 additions & 3 deletions dnscache/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DNS Cache
===

Simple `dnsmasq` container to cache DNS requests for openzim's scrappers.
Simple `dnsmasq` container to cache DNS requests for openzim's scrapers.

## Usage

Expand All @@ -17,15 +17,15 @@ It uses the host's DNS configuration (`/etc/resolv.conf`) or a mix of public DNS
docker run --name dnscache --env USE_PUBLIC_DNS=yes openzim/dnscache
```

To use your DNS cache container, you need to run your scrapper(s) with the `--dns=` option. This option **only accepts** IPv4 and IPv6 values (no alias).
To use your DNS cache container, you need to run your scraper(s) with the `--dns=` option. This option **only accepts** IPv4 and IPv6 values (no alias).

### Find out the IP of your `dnscache` container:

```sh
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' dnscache
```

### Start a scrapper without knowing the IP
### Start a scraper without knowing the IP

You can save the extra step and set the `--dns` to output of the previous command:

Expand Down

0 comments on commit f83b6ee

Please sign in to comment.