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 enabled: true
http: http:
addr: 0.0.0.0:5000 addr: 0.0.0.0:5000
host: https://docker.nilstrieb.dev
draintimeout: 60s draintimeout: 60s
headers: headers:
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
tls: # tls:
certificate: /etc/certs/vps2.nilstrieb.dev.crt # certificate: /etc/certs/vps2.nilstrieb.dev.crt
key: /etc/certs/vps2.nilstrieb.dev.key # key: /etc/certs/vps2.nilstrieb.dev.key
auth: auth:
htpasswd: htpasswd:
realm: nilstrieb-registry realm: nilstrieb-registry

View file

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

View file

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