By default, Image Artist provides five EXTRA_HOST definitions that can be used to create Harmony hostname-to-IP mappings. If more than five mappings are required, additional entries can be added through the docker-compose-custom.yml and .env files.
For general information about Harmony host mappings, see the Enabling Connections from Harmony section of the Image Artist Installation and Administration Guide.
Procedure:
1. Update docker-compose-custom.yml
In the Image Artist installation directory, edit docker-compose-custom.yml and add the additional host definitions to the following services:
acapellacpu-workerio-worker
The example below adds support for two new mappings, EXTRA_HOST6 and EXTRA_HOST7:
services:
acapella:
extra_hosts:
- ${EXTRA_HOST6}
- ${EXTRA_HOST7}
cpu-worker:
extra_hosts:
- ${EXTRA_HOST6}
- ${EXTRA_HOST7}
io-worker:
extra_hosts:
- ${EXTRA_HOST6}
- ${EXTRA_HOST7}
docker-compose-custom.yml file (for example, the services: section), do not duplicate them. Instead, add only the missing lines while preserving the existing YAML structure. If you are unsure how to make these changes, contact Revvity Signals Support for assistance.
2. Define the Host Mappings
Edit the .env file in the Image Artist installation directory and add a definition for each new host mapping:
EXTRA_HOST6=<Harmony_Hostname>:<Harmony_IP_address> EXTRA_HOST7=<Harmony_Hostname>:<Harmony_IP_address>
Replace <Harmony_Hostname> and <Harmony_IP_address> with values appropriate for your environment.
3. Redeploy the Image Artist Stack
After saving the changes, redeploy the Image Artist stack for the new host mappings to take effect.
Refer to: Image Artist: Deploying and Undeploying the Container Stack
Comments
0 comments
Article is closed for comments.