The docker-in-docker image now enables TLS by default (added in docker-library/docker#166), which complicates testing in our environment, and isn't needed for the tests we're running. This patch sets the `DOCKER_TLS_CERTDIR` to an empty value to disable TLS. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
29 lines
686 B
YAML
29 lines
686 B
YAML
version: '2.1'
|
|
|
|
services:
|
|
registry:
|
|
image: 'registry:2'
|
|
|
|
engine:
|
|
image: 'docker:${TEST_ENGINE_VERSION:-stable-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']
|
|
|