Skip to content

Adapt Docker Compose to enable use of Harbor Registry #70

@douglowe

Description

@douglowe

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions