However, this enables url resolution for the host e.g. your browser.
When we are deployed locally, it would be useful if the same addresses were resolved for apps running in containers. e.g. Have the peregrine-service refer to a minio instance to retrieve the data model DNS.
Could we use the extra_hosts configuration clause to enable this?
The setup instructions that create /etc/hosts entries work. See https://github.com/ACED-IDP/compose-services-training/blob/ohsu-training/docs/aced.md#setup
However, this enables url resolution for the
host
e.g. your browser. When we are deployed locally, it would be useful if the same addresses were resolved for apps running incontainers
. e.g. Have the peregrine-service refer to a minio instance to retrieve the data model DNS.Could we use the
extra_hosts
configuration clause to enable this?https://docs.docker.com/compose/compose-file/#extra_hosts