mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-10 21:18:04 +02:00
According docker official document, use 'dns_search= .' in the docker compose file if you don't wish to set the search domain. https://docs.docker.com/v17.09/engine/userguide/networking/default_network/configure-dns/ Signed-off-by: wang yan <wangyan@vmware.com>
35 lines
759 B
Smarty
35 lines
759 B
Smarty
version: '2'
|
|
services:
|
|
core:
|
|
networks:
|
|
harbor-chartmuseum:
|
|
aliases:
|
|
- harbor-core
|
|
redis:
|
|
networks:
|
|
harbor-chartmuseum:
|
|
aliases:
|
|
- redis
|
|
chartmuseum:
|
|
container_name: chartmuseum
|
|
image: goharbor/chartmuseum-photon:__chartmuseum_version__
|
|
restart: always
|
|
networks:
|
|
- harbor-chartmuseum
|
|
dns_search: .
|
|
depends_on:
|
|
- redis
|
|
volumes:
|
|
- /data/chart_storage:/chart_storage:z
|
|
- ./common/config/chartserver:/etc/chartserver:z
|
|
logging:
|
|
driver: "syslog"
|
|
options:
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
tag: "chartmuseum"
|
|
env_file:
|
|
./common/config/chartserver/env
|
|
networks:
|
|
harbor-chartmuseum:
|
|
external: false
|