Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
38 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
--- | ||
# utsusemi service name | ||
serviceName: utsusemi | ||
# AWS deploy region | ||
region: ap-northeast-1 | ||
# Crawl target host | ||
targetHost: https://opslet.com | ||
# Web site hosting S3 bucket name | ||
bucketName: utsusemi.opslet.com | ||
# Crawl worker process | ||
workerProcess: 2 | ||
# Delay time when start worker (ms) | ||
workerDelay: 100 | ||
# Crawl job threads per worker | ||
threadsPerWorker: 1 | ||
# forceTrailingSlash: true | ||
# Change http://example.com/path/to -> http://example.com/path/to/ | ||
forceTrailingSlash: 1 | ||
# Use API Key when request utsusemi API | ||
useApiKey: 0 | ||
# Crawler User Agent | ||
# crawlerUserAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 +utsusemi' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# utsusemi Environment / config.yml | ||
|
||
| | Environment | config.yml key | default | | ||
| --- | --- | --- | --- | | ||
| Service name | `UTSUSEMI_SERVICE_NAME` | `serviceName` | utsusemi | | ||
| AWS deploy region | `UTSUSEMI_REGION` | `region` | ap-northeast-1 | | ||
| Crawl target host | `UTSUSEMI_TARGET_HOST` | `targetHost` | | | ||
| Web site hosting S3 bucket name | `UTSUSEMI_BUCKET_NAME` | `bucketName` | | | ||
| Crawl worker process | `UTSUSEMI_WORKER_PROCESS` | `workerProcess` | 2 | | ||
| Delay time when start worker (ms) | `UTSUSEMI_WORKER_DELAY` | `workerDelay` | 100 | | ||
| Crawl job threads per worker | `UTSUSEMI_THREADS_PER_WORKER` | `threadsPerWorker` | 1 | | ||
| Change http://example.com/path/to -> http://example.com/path/to/ | `UTSUSEMI_FORCE_TRAILING_SLASH` | `forceTrailingSlash` | 1 | | ||
| Use API Key when request utsusemi API | `UTSUSEMI_USE_API_KEY` | `useApiKey` | 0 | | ||
| Crawler User Agent | `UTSUSEMI_CRAWLER_USER_AGENT` | `crawlerUserAgent` | `ustusemi/{version}` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters