mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
registry woooorks!!
This commit is contained in:
parent
93402e6d35
commit
36f7c051ae
3 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -35,3 +35,4 @@
|
|||
community.docker.docker_compose:
|
||||
project_src: /apps
|
||||
state: present
|
||||
restarted: true
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue