...
Test your beamline yaml configuration in docker-compose.
You should first generate a docker file configuration with the tool.
Usage
Code Block | ||||
---|---|---|---|---|
| ||||
usage: epik8s-compose [-h] --config CONFIG --host-dir HOST_DIR [--output OUTPUT] [--services SERVICES [SERVICES ...]] [--exclude EXCLUDE [EXCLUDE ...]] [--caport CAPORT] [--pvaport PVAPORT] [--htmlport HTMLPORT] Generate docker-compose.yaml and config.yaml for EPICS IOC. optional arguments: -h, --help show this help message and exit --config CONFIG Path to the configuration file (YAML). --host-dir HOST_DIR Base directory on the host. --output OUTPUT Output file for docker-compose.yaml. --services SERVICES [SERVICES ...] List of services to include in the output (default ALL). --exclude EXCLUDE [EXCLUDE ...] List of services to exclude in the output --caport CAPORT Start CA access port to map on host --pvaport PVAPORT Start PVA port to map on host --htmlport HTMLPORT Start ingress (http) port on host ## example epik8s-compose --config tests/eli_values.yaml --host-dir ./tests/eli_config --output docker-compose-eli.yaml --pvaport 5175 --exclude archiver |
Then you should run it using docker compose command.
Code Block | ||||
---|---|---|---|---|
| ||||
docker compose -f docker-compose-eli.yaml up |