DockerCLI/e2e/compose-env.yaml

28 lines
664 B
YAML

services:
registry:
image: 'registry:2'
engine:
image: 'docker:${ENGINE_VERSION:-26.1}-dind'
privileged: true
command: ['--insecure-registry=registry:5000']
environment:
- DOCKER_TLS_CERTDIR=
notary-server:
build:
context: ./testdata
dockerfile: Dockerfile.notary-server
ports:
- 4443:4443
command: ['notary-server', '-config=/fixtures/notary-config.json']
evil-notary-server:
build:
context: ./testdata
dockerfile: Dockerfile.evil-notary-server
ports:
- 4444:4443
command: ['notary-server', '-config=/fixtures/notary-config.json']