jjlancaster / docker-distribution-postgresql

This driver stores metadata for files in PostgreSQL and binary data in a KV storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-distribution-postgresql Build Status codecov.io

This driver stores metadata for files in PostgreSQL and binary data in a KV storage.

Configuration

storage:
    postgres:
        URLs:
          - "postgres://noxiouz@localhost:5432/distribution?sslmode=disable"
        MaxOpenConns: 10
        MaxIdleConns: 5
        type: "mds"
        options:
            host: "mdshost.yandex.net"
            uploadport: 1111
            readport: 80
            authheader: "Basic <basic auth header>"
            namespace: "some-namepace"

KV Backends

  • inmemory - just for tests
  • mds - for Yandex internal purposes
  • elliptics - TBD

Status

The driver is working in production at Yandex

About

This driver stores metadata for files in PostgreSQL and binary data in a KV storage


Languages

Language:Go 100.0%