github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/e2e/compose-env.yaml (about)

     1  services:
     2  
     3    registry:
     4      image: 'registry:2'
     5  
     6    engine:
     7        image: 'docker:${ENGINE_VERSION:-25.0}-dind'
     8        privileged: true
     9        command: ['--insecure-registry=registry:5000']
    10        environment:
    11          - DOCKER_TLS_CERTDIR=
    12  
    13    notary-server:
    14        build:
    15          context: ./testdata
    16          dockerfile: Dockerfile.notary-server
    17        ports:
    18          - 4443:4443
    19        command: ['notary-server', '-config=/fixtures/notary-config.json']
    20  
    21    evil-notary-server:
    22        build:
    23          context: ./testdata
    24          dockerfile: Dockerfile.evil-notary-server
    25        ports:
    26          - 4444:4443
    27        command: ['notary-server', '-config=/fixtures/notary-config.json']