Browse Source

.

tags/v0.0.1
Giles Bradshaw 1 year ago
parent
commit
4817ec9664
3 changed files with 7 additions and 1 deletions
  1. +2
    -1
      registry/Dockerfile
  2. +4
    -0
      registry/config.yml
  3. +1
    -0
      registry/htpasswd

+ 2
- 1
registry/Dockerfile View File

@@ -1,2 +1,3 @@
FROM registry:2
COPY config.yml /etc/docker/registry/config.yml
COPY config.yml /etc/docker/registry/config.yml
COPY htpasswd /htpasswd

+ 4
- 0
registry/config.yml View File

@@ -16,3 +16,7 @@ health:
enabled: true
interval: 10s
threshold: 3
auth:
htpasswd:
realm: basic-realm
path: /htpasswd

+ 1
- 0
registry/htpasswd View File

@@ -0,0 +1 @@
client:$2y$10$DnBQxo2svD5G2UeKYxJrje5BtWhcYsyWmkgqddZetg0POglW3UzkC

Loading…
Cancel
Save