文:权衡财经研究员 王心怡编:许辉上海索辰信息科技股份有限公司(简称:索辰科技)拟冲科上市,保荐机构为海通证券。本次拟发行新股不超过1,033.34万股,占发行后总股本的25%,本次拟使用募集资金9.689亿元用于研发中心建设项目、工业仿真云项目、年产260台DEMX水下噪声测试仪建设项目、营销网络建设和补充流动资金。截至2022年6月末,公司的资产总额为5.614亿元,归属于母公司股东权益为4.373亿元,此次募资资金使用金额是归属于母公司股东权益的2.2倍之多。公司的合并资产负债率有所起伏,2020年度超2019年度近20个点,为36.60%。索辰科技实控人控股近六成,子公司多亏损,国有参...... Last article READ

【云原生 | 45】Docker搭建Registry私有仓库之配置Registry详解_小鹏linux的博客

🍁博主简介
        🏅云计算领域优质创作者
        🏅2022年CSDN新星计划python赛道第一名

        🏅2022年CSDN原力计划优质作者
        🏅阿里云ACE认证高级工程师
        🏅阿里云开发者社区专家博主

💊交流社区:CSDN云计算交流社区欢迎您的加入!

目录

1. 示例配置 

2. 选项 

1.版本信息 

2.log选项

3.hooks选项 

4.存储选项 

5.认证选项 

6.HTTP选项 

7.通知选项 

8.redis选项 

9.健康监控选项

10.代理选项

11.验证选项 

 👑👑👑结束语👑👑👑


1. 示例配置 

version: 0.1 log:     level: debug     fields:         service: registry         environment: development     hooks:         - type: mail             disabled: true             levels:                 - panic             options:                 smtp:                     addr: mail.example.com:25                     username: mailuser                     password: password                     insecure: true                 from: sender@example.com                 to:                     - errors@example.com storage:         delete:             enabled: true         cache:                 blobdescriptor: redis         filesystem:                 rootdirectory: /var/lib/registry         maintenance:                 uploadpurging:                     enabled: false http:         addr: :5000         debug:                 addr: localhost:5001         headers:                 X-Content-Type-Options: [nosniff] redis:         addr: localhost:6379         pool:             maxidle: 16             maxactive: 64             idletimeout: 300s         dialtimeout: 10ms         readtimeout: 10ms         writetimeout: 10ms notifications:     endpoints:         - name: local-5003             url: http://localhost:5003/callback             headers:                 Authorization: [Bearer <an example token>]                 timeout: 1s                 threshold: 10                 backoff: 1s                 disabled: true             - name: local-8083                 url: http://localhost:8083/callback                 timeout: 1s                 threshold: 10                 backoff: 1s                 disabled: true health:     storagedriver:         enabled: true         interval: 10s         threshold: 3

 

2. 选项 

export LOG_LEVEL=debug

1.版本信息 

version:0.1

2.log选项

log:     level: debug     formatter: text     fields:         service: registry         environment: staging

3.hooks选项 

hooks:     - type: mail         levels:             - panic         options:             smtp:                 addr: smtp.sendhost.com:25                 username: sendername                 password: password                 insecure: true             from: name@sendhost.com             to:                 - name@receivehost.com

4.存储选项 

storage:     filesystem:         rootdirectory: /var/lib/registry     azure:         accountname: accountname         accountkey: base64encodedaccountkey         container: containername     gcs:         bucket: bucketname         keyfile: /path/to/keyfile         rootdirectory: /gcs/object/name/prefix     s3:         accesskey: awsaccesskey         secretkey: awssecretkey         region: us-west-1         regionendpoint: http://myobjects.local         bucket: bucketname         encrypt: true         keyid: mykeyid         secure: true         v4auth: true         chunksize: 5242880         multipartcopychunksize: 33554432         multipartcopymaxconcurrency: 100         multipartcopythresholdsize: 33554432         rootdirectory: /s3/object/name/prefix swift:         username: username         password: password         authurl: https://storage.myprovider.com/auth/v1.0 or https://storage.         myprovider.com/v2.0 or https://storage.myprovider.com/v3/auth         tenant: tenantname         tenantid: tenantid         domain: domain name for Openstack Identity v3 API         domainid: domain id for Openstack Identity v3 API         insecureskipverify: true         region: fr         container: containername         rootdirectory: /swift/object/name/prefix oss:         accesskeyid: accesskeyid         accesskeysecret: accesskeysecret         region: OSS region name         endpoint: optional endpoints         internal: optional internal endpoint         bucket: OSS bucket         encrypt: optional data encryption setting         secure: optional ssl setting         chunksize: optional size valye         rootdirectory: optional root directory inmemory: delete:     enabled: false cache:     blobdescriptor: inmemory maintenance:     uploadpurging:         enabled: true         age: 168h         interval: 24h         dryrun: false redirect:     disable: false

5.认证选项 

auth:     silly:         realm: silly-realm         service: silly-service     token:         realm: token-realm         service: token-service         issuer: registry-token-issuer         rootcertbundle: /root/certs/bundle     htpasswd:         realm: basic-realm path: /path/to/htpasswd

6.HTTP选项 

http:     addr: localhost:5000     net: tcp     prefix: /my/nested/registry/     host: https://myregistryaddress.org:5000     secret: asecretforlocaldevelopment     relativeurls: false     tls:         certificate: /path/to/x509/public         key: /path/to/x509/private         clientcas:             - /path/to/ca.pem             - /path/to/another/ca.pem         letsencrypt:             cachefile: /path/to/cache-file             email: emailused@letsencrypt.com debug:     addr: localhost:5001 headers:     X-Content-Type-Options: [nosniff] http2:     disabled: false

7.通知选项 

notifications:     endpoints:         - name: alistener             disabled: false                 url: https://my.listener.com/event                 headers: <http.Header>                 timeout: 500                 threshold: 5                 backoff: 1000

8.redis选项 

redis:     addr: localhost:6379     password: asecret     db: 0     dialtimeout: 10ms     readtimeout: 10ms     writetimeout: 10ms     pool:         maxidle: 16         maxactive: 64         idletimeout: 300s

9.健康监控选项 

health:     storagedriver:         enabled: true         interval: 10s         threshold: 3     file:         - file: /path/to/checked/file             interval: 10s     http:         - uri: http://server.to.check/must/return/200             headers:                 Authorization: [Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==]             statuscode: 200             timeout: 3s             interval: 10s             threshold: 3 tcp:     - addr: redis-server.domain.com:6379         timeout: 3s         interval: 10s         threshold: 3

10.代理选项

proxy:     remoteurl: https://registry-1.docker.io     username: [username]     password: [password]
$ docker --registry-mirror=https://myrepo.com:5000 daemon

11.验证选项 

validation:     enabled: true     manifests:         urls:         allow:             - ^https?://([^/]+.)*example.com/         deny:             - ^https?://www.example.com/

 👑👑👑结束语👑👑👑

【云原生 | 45】Docker搭建Registry私有仓库之配置Registry详解_小鹏linux的博客

目录 次元裂缝已打开 AI绘画 起源 人工智能画的画在美术比赛得第一名 原理 关键的CLIP 总结 次元裂缝已打开 #次元裂缝已打开#的一个话题火了~大量新人老玩家共赴无界AI  上面是AI绘画根据真实图片合成的图片与真图的对比,可以看出还原度还是很高的,但是毕竟是AI绘画还是有很多不确定性,就比如下面这个 原谅我不厚道的笑了 ,所以AI绘画每次生成作品就像开盲盒一样,无法稳定输出 其实AI生成漫画脸已经不是新鲜技术了,早在2020年抖音的一款「变身漫画」特效就登上了微博的热搜 AI绘画 起源 计算机是上世纪6......Next article READ