registry woooorks!!

This commit is contained in:
nora 2023-08-26 21:42:57 +02:00
parent 93402e6d35
commit 36f7c051ae
3 changed files with 5 additions and 4 deletions

View file

@ -14,12 +14,13 @@ storage:
enabled: true
http:
addr: 0.0.0.0:5000
host: https://docker.nilstrieb.dev
draintimeout: 60s
headers:
X-Content-Type-Options: [nosniff]
tls:
certificate: /etc/certs/vps2.nilstrieb.dev.crt
key: /etc/certs/vps2.nilstrieb.dev.key
# tls:
# certificate: /etc/certs/vps2.nilstrieb.dev.crt
# key: /etc/certs/vps2.nilstrieb.dev.key
auth:
htpasswd:
realm: nilstrieb-registry

View file

@ -35,3 +35,4 @@
community.docker.docker_compose:
project_src: /apps
state: present
restarted: true

View file

@ -8,7 +8,6 @@ services:
- "/apps/registry/config.yml:/etc/docker/registry/config.yml"
- "/apps/registry/data:/var/lib/registry"
- "/apps/registry/htpasswd:/htpasswd"
- "/var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/vps2.nilstrieb.dev:/etc/certs"
ports:
- "5000:5000"