Revision 64f6a1f2
Added by Dmitri Dolguikh about 8 years ago
app/models/docker_registry.rb | ||
---|---|---|
1 | 1 |
class DockerRegistry < ActiveRecord::Base |
2 | 2 |
include Authorizable |
3 | 3 |
include Taxonomix |
4 |
include Encryptable |
|
4 | 5 |
|
5 | 6 |
has_many :containers, :foreign_key => "registry_id", :dependent => :destroy |
7 |
encrypts :password |
|
6 | 8 |
|
7 | 9 |
scoped_search :on => :name, :complete_value => true |
8 | 10 |
scoped_search :on => :url |
Also available in: Unified diff
Fixes #8393: added support for basic auth for standalone registries