TRE's which limit access to the outside world will need to setup Harbor (or similar) instances for hosting the docker containers used to build this stack.
To do this we should modify the docker compose files to require the source registry to be provided via the environment (preferably via an environment file). E.g.:
services:
app:
image: ${REGISTRY}/library/nginx:latest
and the registry file:
REGISTRY=harbor.example.com
This works well for images which are already hosted in a Harbor instance, but will be a hassle for images which we would usually pull direct from docker hub, or other image stores.
TRE's which limit access to the outside world will need to setup Harbor (or similar) instances for hosting the docker containers used to build this stack.
To do this we should modify the docker compose files to require the source registry to be provided via the environment (preferably via an environment file). E.g.:
and the registry file:
This works well for images which are already hosted in a Harbor instance, but will be a hassle for images which we would usually pull direct from docker hub, or other image stores.