Skip to content

Commit

Permalink
deprecate dns search
Browse files Browse the repository at this point in the history
For details, please refer to goharbor#14146 (comment)
and docker/for-linux#1164.

If anyone encounter the issue mentioned by goharbor#6031, add the dns_search: . to the releated container.

Signed-off-by: Wang Yan <wangyan@vmware.com>
  • Loading branch information
wy65701436 committed Sep 8, 2021
1 parent a854500 commit faf27c5
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ services:
image: goharbor/harbor-log:{{version}}
container_name: harbor-log
restart: always
dns_search: .
cap_drop:
- ALL
cap_add:
Expand Down Expand Up @@ -61,7 +60,6 @@ services:
{% endif %}
networks:
- harbor
dns_search: .
depends_on:
- log
logging:
Expand Down Expand Up @@ -105,7 +103,6 @@ services:
{% endif %}
networks:
- harbor
dns_search: .
depends_on:
- log
logging:
Expand Down Expand Up @@ -134,7 +131,6 @@ services:
aliases:
- harbor-db
{% endif %}
dns_search: .
env_file:
- ./common/config/db/env
depends_on:
Expand Down Expand Up @@ -196,7 +192,6 @@ services:
aliases:
- harbor-core
{% endif %}
dns_search: .
depends_on:
- log
- registry
Expand Down Expand Up @@ -236,7 +231,6 @@ services:
{% endif %}
networks:
- harbor
dns_search: .
depends_on:
- log
logging:
Expand Down Expand Up @@ -275,7 +269,6 @@ services:
{% endif %}
networks:
- harbor
dns_search: .
depends_on:
- core
logging:
Expand Down Expand Up @@ -303,7 +296,6 @@ services:
aliases:
- redis
{% endif %}
dns_search: .
depends_on:
- log
logging:
Expand Down Expand Up @@ -344,7 +336,6 @@ services:
{% if with_notary %}
- harbor-notary
{% endif %}
dns_search: .
ports:
- {{http_port}}:8080
{% if protocol == 'https' %}
Expand Down Expand Up @@ -374,7 +365,6 @@ services:
networks:
- notary-sig
- harbor-notary
dns_search: .
volumes:
- ./common/config/notary:/etc/notary:z
- type: bind
Expand Down Expand Up @@ -415,7 +405,6 @@ services:
notary-sig:
aliases:
- notarysigner
dns_search: .
volumes:
- ./common/config/notary:/etc/notary:z
- type: bind
Expand Down Expand Up @@ -455,7 +444,6 @@ services:
restart: always
cap_drop:
- ALL
dns_search: .
depends_on:
- log
{% if external_redis == False %}
Expand Down Expand Up @@ -503,7 +491,6 @@ services:
- SETUID
networks:
- harbor-chartmuseum
dns_search: .
depends_on:
- log
volumes:
Expand Down Expand Up @@ -542,7 +529,6 @@ services:
restart: always
networks:
- harbor
dns_search: .
depends_on:
- core
{% if external_database == False %}
Expand Down

0 comments on commit faf27c5

Please sign in to comment.