Skip to content

Commit 8eaecb5

Browse files
Update deployer README
1 parent f164a57 commit 8eaecb5

File tree

1 file changed

+7
-3
lines changed
  • confidence-cloudflare-resolver/deployer

1 file changed

+7
-3
lines changed

confidence-cloudflare-resolver/deployer/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,19 @@ docker build -f confidence-cloudflare-resolver/deployer/Dockerfile -t <YOUR_IMAG
1414

1515
```
1616
docker run -it \
17+
-e CLOUDFLARE_ACCOUNT_ID='<>’ \
1718
-e CLOUDFLARE_API_TOKEN='<>’ \
1819
-e CONFIDENCE_ACCOUNT_ID='<>' \
19-
-e RESOLVE_TOKEN_ENCRYPTION_KEY='<>' \
20-
-e CLOUDFLARE_ACCOUNT_ID='<>’ \
2120
-e CONFIDENCE_CLIENT_ID='<>’ \
2221
-e CONFIDENCE_CLIENT_SECRET='<>’ \
22+
-e RESOLVE_TOKEN_ENCRYPTION_KEY='<>' \
2323
-e CONFIDENCE_RESOLVER_STATE_ETAG_URL=‘<>/v1/state:etag' \
2424
image-name
2525
```
2626

2727
The RESOLVE_TOKEN_ENCRYPTION_KEY key has to be a valid AES-128 (16 bytes) key, base64 encoded.
28-
This key is used internally in the resolver, and shouldn't be changed once deployed in production.
28+
This key is used internally in the resolver, and shouldn't be changed once deployed in production.
29+
30+
The CONFIDENCE_RESOLVER_STATE_ETAG_URL needs to point to the resolver you deployed / are about to deploy.
31+
The `.../v1/state:etag` is the path used to retrieve the etag if available, ignored otherwise.
32+
The etag value is used to avoid re-deploy the worker if the state hasn't changed since the last deploy.

0 commit comments

Comments
 (0)