Docker¶
jug_lca_buildings can be executed using Docker.
Purpose¶
Docker provides:
- isolated runtime environments,
- consistent execution across systems,
- simplified deployment.
Basic usage¶
A typical Docker run includes:
- exposing the service port,
- setting environment variables,
- mounting a volume for artifacts.
Port¶
The service runs on port:
5000inside the container
It can be mapped to a host port, for example:
8080:5000
Volumes¶
Volumes can be used to store:
- generated CSV files,
- logs,
- artifacts.
Environment variables¶
Common variables include:
- logging configuration,
- artifact directory paths.
Notes¶
- Docker execution is equivalent to API execution.
- Docker Compose can be used to simplify commands.