Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit dns search in harbor containers #6057

Merged
merged 1 commit into from
Oct 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions make/docker-compose.chartmuseum.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ services:
restart: always
networks:
- harbor-chartmuseum
dns_search: ""
depends_on:
- redis
volumes:
Expand Down
1 change: 1 addition & 0 deletions make/docker-compose.clair.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ services:
image: goharbor/clair-photon:__clair_version__
restart: always
cpu_quota: 50000
dns_search: ""
depends_on:
- postgresql
volumes:
Expand Down
2 changes: 2 additions & 0 deletions make/docker-compose.notary.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
networks:
- notary-sig
- harbor-notary
dns_search: ""
volumes:
- ./common/config/notary:/etc/notary:z
env_file:
Expand All @@ -39,6 +40,7 @@ services:
notary-sig:
aliases:
- notarysigner
dns_search: ""
volumes:
- ./common/config/notary:/etc/notary:z
env_file:
Expand Down
10 changes: 10 additions & 0 deletions make/docker-compose.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ services:
image: goharbor/harbor-log:__version__
container_name: harbor-log
restart: always
dns_search: ""
volumes:
- /var/log/harbor/:/var/log/docker/:z
- ./common/config/log/:/etc/logrotate.d/:z
Expand All @@ -20,6 +21,7 @@ services:
- ./common/config/registry/:/etc/registry/:z
networks:
- harbor
dns_search: ""
environment:
- GODEBUG=netdns=cgo
depends_on:
Expand All @@ -41,6 +43,7 @@ services:
- ./common/config/registryctl/config.yml:/etc/registryctl/config.yml:z
networks:
- harbor
dns_search: ""
environment:
- GODEBUG=netdns=cgo
depends_on:
Expand All @@ -58,6 +61,7 @@ services:
- /data/database:/var/lib/postgresql/data:z
networks:
- harbor
dns_search: ""
env_file:
- ./common/config/db/env
depends_on:
Expand All @@ -79,6 +83,7 @@ services:
- /data/:/data/:z
networks:
- harbor
dns_search: ""
depends_on:
- log
logging:
Expand All @@ -101,6 +106,7 @@ services:
- /data/psc/:/etc/core/token/:z
networks:
- harbor
dns_search: ""
depends_on:
- log
- adminserver
Expand All @@ -116,6 +122,7 @@ services:
restart: always
networks:
- harbor
dns_search: ""
depends_on:
- log
- core
Expand All @@ -136,6 +143,7 @@ services:
- ./common/config/jobservice/config.yml:/etc/jobservice/config.yml:z
networks:
- harbor
dns_search: ""
depends_on:
- redis
- core
Expand All @@ -153,6 +161,7 @@ services:
- /data/redis:/var/lib/redis
networks:
- harbor
dns_search: ""
depends_on:
- log
logging:
Expand All @@ -168,6 +177,7 @@ services:
- ./common/config/nginx:/etc/nginx:z
networks:
- harbor
dns_search: ""
ports:
- 80:80
- 443:443
Expand Down