The .env
file is used to store environment variables. The .env
file is not included in the repository. You will need to create it yourself in Ctl/dev/.env.
The hostname of the Redis server. Defaults to redis
.
The port of the Redis server. Defaults to 6379
.
General cache duration - used if no specific cache duration is set for a specific endpoint.
The duration in seconds that the cache will be valid for. The cache is used to store the rdap request results.
Defaults to 86400 seconds (24 hours).
Cache duration for the autnum endpoint. (rdap)
Cache duration for the domain endpoint. (rdap)
Cache duration for the ip endpoint. (rdap)
Cache duration for the entity endpoint. (rdap)
Cache duration for the asn prefixes endpoint. (irr explorer)
Cache duration for the prefix asns endpoint. (irr explorer)
RegCtl uses the Google Maps API for geocoding. You will need to create a Google API key and enable the Geocoding data (latitude and longitude and address normalization).
These need to exist in the host machine environment, not in the .env
file.
The port that the FastAPI server will be available on the host machine.