Added new environment for the actual network implementation. Most YML files are combinations from individual compose files
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
version: '3'
|
||||
|
||||
volumes:
|
||||
registrystorage:
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=dockerstorage,nfsvers=4
|
||||
device: :/dockerstorage/registry
|
||||
registryauth:
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=dockerstorage,nfsvers=4
|
||||
device: :/dockerstorage/registry/auth
|
||||
|
||||
|
||||
|
||||
services:
|
||||
registry:
|
||||
image: registry:2
|
||||
volumes:
|
||||
- registryauth:/auth
|
||||
- registrystorage:/var/lib/registry
|
||||
environment:
|
||||
- REGISTRY_AUTH=htpasswd
|
||||
- REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm
|
||||
- REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd
|
||||
- VIRTUAL_HOST=registry.vbchaos.nl
|
||||
- VIRTUAL_PORT=5000
|
||||
- VIRTUAL_PROTO=http
|
||||
ports:
|
||||
- '5000:5000'
|
||||
|
||||
registrybrowser:
|
||||
image: klausmeyer/docker-registry-browser
|
||||
ports:
|
||||
- 8082:8080
|
||||
environment:
|
||||
- 'DOCKER_REGISTRY_URL=https://registry.vbchaos.nl'
|
||||
- 'PUBLIC_REGISTRY_URL=registry.vbchaos.nl'
|
||||
- 'NO_SSL_VERIFICATION=true'
|
||||
- 'ENABLE_DELETE_IMAGES=true'
|
||||
Reference in New Issue
Block a user