2015-05-23 01:39:45 +02:00
|
|
|
nginx:
|
|
|
|
build: "nginx"
|
|
|
|
ports:
|
|
|
|
- "5000:5000"
|
|
|
|
- "5002:5002"
|
|
|
|
- "5440:5440"
|
|
|
|
- "5441:5441"
|
|
|
|
- "5442:5442"
|
|
|
|
- "5443:5443"
|
|
|
|
- "5444:5444"
|
|
|
|
- "5445:5445"
|
|
|
|
- "5446:5446"
|
|
|
|
- "5447:5447"
|
|
|
|
- "5448:5448"
|
2016-03-30 22:55:24 +02:00
|
|
|
- "5554:5554"
|
|
|
|
- "5555:5555"
|
|
|
|
- "5556:5556"
|
|
|
|
- "5557:5557"
|
|
|
|
- "5558:5558"
|
|
|
|
- "5559:5559"
|
|
|
|
- "6666:6666"
|
2015-05-23 01:39:45 +02:00
|
|
|
links:
|
|
|
|
- registryv2:registryv2
|
2016-03-30 22:55:24 +02:00
|
|
|
- malevolent:malevolent
|
|
|
|
- registryv2token:registryv2token
|
|
|
|
- tokenserver:tokenserver
|
|
|
|
- registryv2tokenoauth:registryv2tokenoauth
|
|
|
|
- tokenserveroauth:tokenserveroauth
|
|
|
|
registryv2:
|
|
|
|
image: golem-distribution:latest
|
2015-05-23 01:39:45 +02:00
|
|
|
ports:
|
|
|
|
- "5000"
|
2016-03-30 22:55:24 +02:00
|
|
|
registryv2token:
|
|
|
|
image: golem-distribution:latest
|
|
|
|
ports:
|
|
|
|
- "5000"
|
|
|
|
volumes:
|
|
|
|
- ./tokenserver/registry-config.yml:/etc/docker/registry/config.yml
|
|
|
|
- ./tokenserver/certs/localregistry.cert:/etc/docker/registry/localregistry.cert
|
|
|
|
- ./tokenserver/certs/localregistry.key:/etc/docker/registry/localregistry.key
|
|
|
|
- ./tokenserver/certs/signing.cert:/etc/docker/registry/tokenbundle.pem
|
|
|
|
tokenserver:
|
|
|
|
build: "tokenserver"
|
|
|
|
command: "--debug -addr 0.0.0.0:5556 -issuer registry-test -passwd .htpasswd -tlscert tls.cert -tlskey tls.key -key sign.key -realm http://auth.localregistry:5556"
|
|
|
|
ports:
|
|
|
|
- "5556"
|
|
|
|
registryv2tokenoauth:
|
|
|
|
image: golem-distribution:latest
|
2015-05-23 01:39:45 +02:00
|
|
|
ports:
|
|
|
|
- "5000"
|
2016-03-30 22:55:24 +02:00
|
|
|
volumes:
|
|
|
|
- ./tokenserver-oauth/registry-config.yml:/etc/docker/registry/config.yml
|
|
|
|
- ./tokenserver-oauth/certs/localregistry.cert:/etc/docker/registry/localregistry.cert
|
|
|
|
- ./tokenserver-oauth/certs/localregistry.key:/etc/docker/registry/localregistry.key
|
|
|
|
- ./tokenserver-oauth/certs/signing.cert:/etc/docker/registry/tokenbundle.pem
|
|
|
|
tokenserveroauth:
|
|
|
|
build: "tokenserver-oauth"
|
|
|
|
command: "--debug -addr 0.0.0.0:5559 -issuer registry-test -passwd .htpasswd -tlscert tls.cert -tlskey tls.key -key sign.key -realm http://auth.localregistry:5559"
|
|
|
|
ports:
|
|
|
|
- "5559"
|
|
|
|
malevolent:
|
|
|
|
image: "dmcgowan/malevolent:0.1.0"
|
|
|
|
command: "-l 0.0.0.0:6666 -r http://registryv2:5000 -c /certs/localregistry.cert -k /certs/localregistry.key"
|
|
|
|
links:
|
|
|
|
- registryv2:registryv2
|
|
|
|
volumes:
|
|
|
|
- ./malevolent-certs:/certs:ro
|
|
|
|
ports:
|
|
|
|
- "6666"
|
|
|
|
docker:
|
|
|
|
image: golem-dind:latest
|
|
|
|
container_name: dockerdaemon
|
|
|
|
command: "docker daemon --debug -s $DOCKER_GRAPHDRIVER"
|
|
|
|
privileged: true
|
|
|
|
environment:
|
|
|
|
DOCKER_GRAPHDRIVER:
|
|
|
|
volumes:
|
2016-05-09 23:21:53 +02:00
|
|
|
- /etc/generated_certs.d:/etc/docker/certs.d
|
2016-03-30 22:55:24 +02:00
|
|
|
- /var/lib/docker
|
|
|
|
links:
|
|
|
|
- nginx:localregistry
|
|
|
|
- nginx:auth.localregistry
|