Documentation
¶
Overview ¶
Package dockerconfig loads the api-server config from a running Docker stack. Used by developer utility scripts that need database / Canton connectivity without a manually specified config path.
Index ¶
Constants ¶
View Source
const (
// ContainerName is the api-server container used as the config source.
ContainerName = "erc20-api-server"
)
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load pulls config from the running Docker stack:
- env vars are read from the api-server container via docker inspect and exported into the current process so ${VAR} placeholders expand correctly
- the bootstrap-resolved YAML is fetched via docker exec cat and docker- internal hostnames are rewritten to localhost for host-side access
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.