-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
receipe: new recipe for repair service
For testing: Use storj-up, include services satellite-rangedloop + satellite-repair Use the following settings to make the offline node detection faster (minutes instead of hours). ``` storj-up env set storagenode STORJ_CONTACT_INTERVAL=10s storj-up env set satellite-rangedloop STORJ_OVERLAY_NODE_ONLINE_WINDOW=1m storj-up env set satellite-repair STORJ_OVERLAY_NODE_ONLINE_WINDOW=1m storj-up env set satellite-api STORJ_OVERLAY_NODE_CHECK_IN_WAIT_PERIOD=20s ``` Upload keys + stop nodes: `docker-compose stop storagenode...` Change-Id: I590aa4c558316ee0e4d347156cf6f707bfffb431
- Loading branch information
Showing
6 changed files
with
48 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: repair | ||
description: "satellite repair service" | ||
add: | ||
- name: satellite-repair | ||
label: | ||
- storj | ||
- core | ||
image: img.dev.storj.io/storjup/storj:1.83.2 | ||
command: | ||
- satellite | ||
- run | ||
- repair | ||
- --defaults=dev | ||
- '--identity-dir={{ Environment .This "identityDir" }}' | ||
persistence: | ||
- /var/lib/storj/.local/share/storj | ||
config: | ||
STORJ_DATABASE: '{{ Environment "cockroach" "main" }}' | ||
STORJ_METAINFO_DATABASE_URL: '{{ Environment "cockroach" "metainfo" }}' | ||
STORJ_DEBUG_ADDR: '{{ Host .This "listen" }}:{{ Port .This "debug"}}' | ||
STORJ_ORDERS_ENCRYPTION_KEYS: '0100000000000000=0100000000000000000000000000000000000000000000000000000000000000' | ||
STORJ_LOG_LEVEL: debug | ||
STORJ_METRICS_APP_SUFFIX: sim | ||
environment: | ||
STORJ_WAIT_FOR_SATELLITE: 1 | ||
STORJ_DEFAULTS: dev | ||
STORJ_IDENTITY_DIR: '{{ Environment .This "identityDir" }}' | ||
STORJ_USE_PREDEFINED_IDENTITY: 1 |
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
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