File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
confidence-cloudflare-resolver/deployer Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,19 @@ docker build -f confidence-cloudflare-resolver/deployer/Dockerfile -t <YOUR_IMAG
1414
1515```
1616docker 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
2727The 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.
You can’t perform that action at this time.
0 commit comments