GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ret2shell/ret2shell-v2proxy: Docker registry API for Ret2Shell. External deployment.

BranchesTags
Open more actions menu

Latest commit

 

History

29 Commits
29 Commits

Folders and files

NameName
Last commit message
Last commit date
.cargo
.cargo
 
 
.github/workflows
.github/workflows
 
 
healthcheck
healthcheck
 
 
src
src
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
config.toml
config.toml
 
 

Repository files navigation

ret2shell-v2proxy

Docker registry API for Ret2Shell. External deployment.

Feature

User who have Game permission to specific game can push/pull ret.sh.cn/{namespace}/{image} where namespace can be game id or bucket. And the user can only pull ret.sh.cn/{image} or ret.sh.cn/library/{image}.

User who have both Game and DevOps permissions can push/pull ret.sh.cn/{image} or ret.sh.cn/library/{image}.

Command docker login is supported.

Deployment

You need to pass config.toml to /etc/ret2shell, and ensure the database and registry can be visited.

Optionally mount /etc/ret2shell/registry.htpasswd alongside it. Each non-empty line must be username:$... in Bcrypt format. These users are independent of the database and only have read-only permission. This may help pull images in Kubernetes clusters or other CI/CD pipelines.

You can use the following command to generate a htpasswd line for a user:

htpasswd -Bn <username>
name: ret2shell

services:

  database:
    image: postgres:16-alpine
    # ...

  platform:
    image: ret2shell:latest
    volumes:
      - ./config:/etc/ret2shell:ro
      # ...
    # ...

  v2proxy:
    image: r2s-v2proxy:latest
    build: .
    depends_on:
      - platform
    environment:
      LISTEN_PORT: 1331
      V2_SERVICE: ret2shell
    # extra_hosts:
    #   - host.docker.internal:host-gateway
    volumes:
      - ./config:/etc/ret2shell:ro
    ports:
      - 1331:1331

License

Copyright (c) Cnily03. All rights reserved.

Licensed under the MIT license.

About

Docker registry API for Ret2Shell. External deployment.

Topics

docker-apiregistry-apiregistry-proxyret2shell

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.