Skip to content

Commit

Permalink
Add comment about docker to README
Browse files Browse the repository at this point in the history
  • Loading branch information
ZetaTwo committed Nov 10, 2022
1 parent 1c0178c commit 48d81a5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ You need to allow the user, under which HashR will run, to run certain commands
hashr ALL = (root) NOPASSWD: /bin/mount,/bin/umount,/sbin/losetup,/bin/rm
```

The user under which HashR will run will also need to be able to run docker. Assuming that your user is `hashr`, add them to the docker group like this:

``` shell
sudo usermod -aG docker hashr
```


### Setting up storage for processing tasks

HashR needs to store information about processed sources. It also stores additional telemetry about processing tasks: processing times, number of extracted files, etc. You can choose between using:
Expand Down Expand Up @@ -135,7 +142,7 @@ Step 3: Create a table that will be used to store processing jobs.
cat scripts/CreateJobsTable.sql | docker exec -i hashr_postgresql psql -U hashr -d hashr
```

In order to use PostgreSQL to store information about processing tasks you need to specify the following flags: `-jobsStorage postgres -postgresHost <host> -postgresPort <port> -postgresUser <user> -postgresPassword <pass> -postgresDBName <db_name>`
In order to use PostgreSQL to store information about processing tasks you need to specify the following flags: `-storage postgres -postgres_host <host> -postgres_port <port> -postgres_user <user> -postgres_password <pass> -postgres_db <db_name>`

#### Setting up Cloud Spanner

Expand Down

0 comments on commit 48d81a5

Please sign in to comment.