mirror of
https://github.com/goharbor/harbor.git
synced 2024-06-26 23:05:04 +02:00
9973d99f3e
* remove chart api from swagger Delete the api path for chart in the swagger Signed-off-by: Wang Yan <wangyan@vmware.com> * Remove chart APIs 1. Remove some chart-related steps for Dockerfile for portal container 2. Remove chart APIs for API center Signed-off-by: AllForNothing <sshijun@vmware.com> --------- Signed-off-by: Wang Yan <wangyan@vmware.com> Signed-off-by: AllForNothing <sshijun@vmware.com> Co-authored-by: Wang Yan <wangyan@vmware.com> |
||
---|---|---|
.. | ||
Dockerfile | ||
nginx.conf.example | ||
README.md |
Steps to deploy Harbor UI in a nginx container, it can be used for testing
- Go to docker-build dir
cd ./docker-build
- Copy
nginx.conf.example
tonginx.conf
, and modify nginx.conf file to specify an available back-end server
cp nginx.conf.example nginx.conf
location ~ ^/(api|c|chartrepo)/ { proxy_pass ${an available back-end server addr}; }
- Build harbor-ui image
docker build -f ./Dockerfile -t harbor-ui:test ./../../..
- Run harbor-ui image
docker run -p 8080:8080 harbor-ui:test
- Open your browser on http://localhost:8080