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