-
Notifications
You must be signed in to change notification settings - Fork 8
/
.env-gwc
29 lines (25 loc) · 1.68 KB
/
.env-gwc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# ENV vars recommended for running gateway-conformance tests
export USE_LIBP2P=true
export USE_BITSWAP=true
export USE_SUBDOMAINS=false
export PORT="8080" # helia-http-gateway should be running here
export KUBO_PORT="8081" # Kubo should be running here
export TRUSTLESS_GATEWAYS="http://127.0.0.1:8081" # Kubo should be running here
export DELEGATED_ROUTING_V1_HOST="http://127.0.0.1:8081" # Kubo should be running here
# DEBUG='helia-http-gateway*,*helia-fetch*,*helia:trustless-gateway-block-broker*'
export DEBUG='helia*,helia*:trace'
export USE_TRUSTLESS_GATEWAYS=true
export USE_DELEGATED_ROUTING=true
# Uncomment the two below to save blockstore and datastore to disk
# FILE_DATASTORE_PATH=./data/datastore
# FILE_BLOCKSTORE_PATH=./data/blockstore
# Uncomment the below to see request & response headers in the logs
# ECHO_HEADERS=true
export GWC_DOCKER_IMAGE=ghcr.io/ipfs/gateway-conformance:v0.5.0
# skip most of the tests
export GWC_SKIP="^.*(TestNativeDag|TestPathing|TestPlainCodec|TestDagPbConversion|TestGatewayJsonCbor|TestCors|TestGatewayJSONCborAndIPNS|TestGatewayIPNSPath|TestRedirectCanonicalIPNS|TestGatewayCache|TestGatewaySubdomains|TestUnixFSDirectoryListingOnSubdomainGateway|TestRedirectsFileWithIfNoneMatchHeader|TestTar|TestRedirects|TestPathGatewayMiscellaneous|TestGatewayUnixFSFileRanges|TestGatewaySymlink|TestUnixFSDirectoryListing|TestGatewayBlock|IPNS|TestTrustless|TestSubdomainGatewayDNSLinkInlining).*$"
export GWC_GATEWAY_URL="http://helia-http-gateway.localhost"
# GWC_SUBDOMAIN_URL="http://helia-http-gateway.localhost"
# GWC_GATEWAY_URL="http://127.0.0.1:8080"
export GWC_GATEWAY_URL="http://host.docker.internal:8080"
export GWC_SUBDOMAIN_URL="http://host.docker.internal:8080"