Update README.md

pull/29/head
Cullen Watson 2023-08-28 12:51:05 -05:00 committed by GitHub
parent 5d045ae950
commit 3bfaccbac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 6 deletions

View File

@ -151,10 +151,11 @@ docker pull ghcr.io/cullenwatson/jobspy:latest
By default: By default:
* Port: `8000` * Port: `8000`
* Google sheet name: `JobSpy` * Google sheet name: `JobSpy`
* Relative path of `client_secret.json` (for Google Sheets, see below to obtain) * Uses relative path of `client_secret.json` (for Google Sheets, see below to obtain)
To run the image with these default settings, use:
To run the image with these default settings, use:
Example (Windows): Example (Windows):
```bash ```bash
docker run -v %cd%/client_secret.json:/app/client_secret.json -p 8000:8000 ghcr.io/cullenwatson/jobspy docker run -v %cd%/client_secret.json:/app/client_secret.json -p 8000:8000 ghcr.io/cullenwatson/jobspy
@ -168,10 +169,11 @@ docker run -v $(pwd)/client_secret.json:/app/client_secret.json -p 8000:8000 ghc
#### Using custom params #### Using custom params
Example: Example:
* Port `8030` * Port: `8030`
* Google sheet named `CustomName` * Google sheet name: `CustomName`
* Absolute path of `client_secret.json`: `C:\config\client_secret.json` * Absolute path of `client_secret.json`: `C:\config\client_secret.json`
To pass these custom params:
```bash ```bash
docker run -v C:\config\client_secret.json:/app/client_secret.json -e GSHEET_NAME=CustomName -e PORT=8030 -p 8030:8030 ghcr.io/cullenwatson/jobspy docker run -v C:\config\client_secret.json:/app/client_secret.json -e GSHEET_NAME=CustomName -e PORT=8030 -p 8030:8030 ghcr.io/cullenwatson/jobspy
``` ```