mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update registry
This commit is contained in:
parent
c3d0a8dd1e
commit
ec8af301d8
18
registry/docker-compose.oss.yml
Normal file
18
registry/docker-compose.oss.yml
Normal file
@ -0,0 +1,18 @@
|
||||
#
|
||||
# See: https://docs.docker.com/registry/storage-drivers/oss/
|
||||
#
|
||||
|
||||
registry:
|
||||
image: registry:2
|
||||
ports:
|
||||
- 5000:5000
|
||||
environment:
|
||||
- REGISTRY_STORAGE=oss
|
||||
- REGISTRY_STORAGE_OSS_ACCESSKEYID=xxxxxxxxxxxxxxxx
|
||||
- REGISTRY_STORAGE_OSS_ACCESSKEYSECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
- REGISTRY_STORAGE_OSS_REGION=oss-us-west-1
|
||||
- REGISTRY_STORAGE_OSS_INTERNAL=true
|
||||
- REGISTRY_STORAGE_OSS_BUCKET=easypi
|
||||
- REGISTRY_STORAGE_OSS_SECURE=false
|
||||
- REGISTRY_STORAGE_OSS_ROOTDIRECTORY=/
|
||||
restart: always
|
@ -1,3 +1,7 @@
|
||||
#
|
||||
# See: https://docs.docker.com/registry/deploying/
|
||||
#
|
||||
|
||||
registry:
|
||||
image: registry:2
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user