Skip to content

Commit

Permalink
oye
Browse files Browse the repository at this point in the history
  • Loading branch information
sdhou committed Mar 9, 2023
1 parent 8d96c9f commit d67c08f
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose/registry/auth/htpasswd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
root:$2y$05$/0P8kZJ8C88aIYajbwOSu.myZcvAQ08HYxpfpb9nzRE29UR4GoKui
1 change: 1 addition & 0 deletions docker-compose/registry/auth/pwd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker:$2a$10$997XTrqBo5.ePYPnq12Zo.p4JXMITCurnvy5gGI7yuTiYuWk4eQs6
18 changes: 18 additions & 0 deletions docker-compose/registry/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: '3.3'
services:
registry:
container_name: registry
restart: always
image: registry:2
ports:
- 5001:5000
environment:
# REGISTRY_HTTP_TLS_CERTIFICATE: /certs/domain.crt
# REGISTRY_HTTP_TLS_KEY: /certs/domain.key
REGISTRY_AUTH: htpasswd
REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
volumes:
- /opt/code/config/docker-compose/registry/data:/var/lib/registry
# - /path/certs:/certs
- /opt/code/config/docker-compose/registry/auth:/auth
19 changes: 19 additions & 0 deletions rclone.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[107]
type = s3
provider = Minio
env_auth = false
access_key_id = westwell
secret_access_key = westwell
region =
endpoint = http://192.168.108.107:30070
use_ssl = false

[104]
type = s3
provider = Minio
env_auth = false
access_key_id = westwell
secret_access_key = westwell
region =
endpoint = http://192.168.108.104:9000
use_ssl = false

0 comments on commit d67c08f

Please sign in to comment.