Add harbor
This commit is contained in:
parent
2b6341bff3
commit
47fdf00e6c
7 changed files with 509 additions and 6 deletions
harbor
12
harbor/restart
Executable file
12
harbor/restart
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
. ./.secret.env
|
||||
envsubst < harbor.template.yml > harbor.yml
|
||||
|
||||
docker-compose down -v
|
||||
|
||||
./prepare --with-trivy --with-chartmuseum
|
||||
|
||||
sed -i "s/^.*proxy_set_header X-Forwarded-Proto.*$//g" ./common/config/nginx/nginx.conf
|
||||
|
||||
docker-compose up -d
|
Reference in a new issue