mirror of
https://github.com/cupcakearmy/tumbo.git
synced 2025-09-05 18:20:43 +00:00
examples
This commit is contained in:
14
examples/full/registry/docker-compose.yml
Normal file
14
examples/full/registry/docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
registry:
|
||||
image: registry
|
||||
container_name: registry
|
||||
ports:
|
||||
- 5000:5000
|
||||
volumes:
|
||||
- ./htpasswd:/auth/htpasswd
|
||||
environment:
|
||||
- REGISTRY_AUTH=htpasswd
|
||||
- REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm
|
||||
- REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd
|
2
examples/full/registry/htpasswd
Normal file
2
examples/full/registry/htpasswd
Normal file
@@ -0,0 +1,2 @@
|
||||
foo:$2y$05$dxXE5QaBKd5eV0gLBxFJtOJpAHKEusdZfPC2Ucssyg3s/2YjoRIXW
|
||||
|
Reference in New Issue
Block a user