mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
set cgo as the default DNS resovler
This commit is contained in:
parent
5cc51a753d
commit
60f5df1a80
@ -11,6 +11,8 @@ services:
|
||||
volumes:
|
||||
- /data/registry:/storage
|
||||
- ./config/registry/:/etc/registry/
|
||||
environment:
|
||||
- GODEBUG=netdns=cgo
|
||||
ports:
|
||||
- 5001:5001
|
||||
command:
|
||||
|
@ -12,3 +12,4 @@ LDAP_URL=$ldap_url
|
||||
LDAP_BASE_DN=$ldap_basedn
|
||||
SELF_REGISTRATION=$self_registration
|
||||
LOG_LEVEL=debug
|
||||
GODEBUG=netdns=cgo
|
||||
|
Loading…
Reference in New Issue
Block a user