gufo.thor.images¶
Docker image settings for NOC services and versions.
VersionSettings
dataclass
¶
Docker image settings for a NOC version.
Attributes:
| Name | Type | Description |
|---|---|---|
noc_image |
str
|
Docker image for the NOC application. |
postgres_image |
str
|
Docker image for PostgreSQL. |
mongo_image |
str
|
Docker image for MongoDB. |
clickhouse_image |
str
|
Docker image for ClickHouse. |
kafka_image |
str
|
Docker image for Kafka. |
consul_image |
str
|
Docker image for Consul. |
get_image(name)
¶
Get the Docker image for a service.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Service name. |
required |
Returns:
| Type | Description |
|---|---|
str
|
Docker image name. |
Raises:
| Type | Description |
|---|---|
RuntimeError
|
If the configured NOC version is not supported or the requested service image is not defined. |