parent
d6bb2cfae4
commit
0d9d1814c4
2 changed files with 9 additions and 0 deletions
|
@ -122,3 +122,6 @@ volumes:
|
||||||
######## Doku ########
|
######## Doku ########
|
||||||
# Telefonregion
|
# Telefonregion
|
||||||
# docker exec --user www-data nextcloud-app php occ config:system:set default_phone_region --value="DE"
|
# docker exec --user www-data nextcloud-app php occ config:system:set default_phone_region --value="DE"
|
||||||
|
# https://help.nextcloud.com/t/nextcloud-wont-load-any-mixed-content/13565/3
|
||||||
|
# docker exec --user www-data nextcloud-app php occ config:system:set overwriteprotocol --value="https"
|
||||||
|
# docker exec --user www-data nextcloud-app php occ config:system:set overwrite.cli.url --value="http://nextcloud.mgrote.net"
|
||||||
|
|
|
@ -20,6 +20,12 @@ services:
|
||||||
REGISTRY_REDIS_PASSWORD: {{ lookup('keepass', 'oci-registry-redis-pw', 'password') }}
|
REGISTRY_REDIS_PASSWORD: {{ lookup('keepass', 'oci-registry-redis-pw', 'password') }}
|
||||||
REGISTRY_STORAGE_DELETE_ENABLED: true
|
REGISTRY_STORAGE_DELETE_ENABLED: true
|
||||||
REGISTRY_CATALOG_MAXENTRIES: 100000 # https://github.com/Joxit/docker-registry-ui/issues/306
|
REGISTRY_CATALOG_MAXENTRIES: 100000 # https://github.com/Joxit/docker-registry-ui/issues/306
|
||||||
|
# https://joxit.dev/docker-registry-ui/#using-cors
|
||||||
|
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Origin: '[https://registry.mgrote.net/ui/]'
|
||||||
|
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Methods: '[HEAD,GET,OPTIONS,DELETE]'
|
||||||
|
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Credentials: '[true]'
|
||||||
|
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Headers: '[Authorization,Accept,Cache-Control]'
|
||||||
|
REGISTRY_HTTP_HEADERS_Access-Control-Expose-Headers: '[Docker-Content-Digest]'
|
||||||
labels:
|
labels:
|
||||||
traefik.http.routers.registry.rule: Host(`registry.mgrote.net`)
|
traefik.http.routers.registry.rule: Host(`registry.mgrote.net`)
|
||||||
traefik.enable: true
|
traefik.enable: true
|
||||||
|
|
Loading…
Reference in a new issue