infrastructure/roles/lego/files/node002/registry.serguzim.me

18 lines
312 B
Text
Raw Normal View History

2024-09-26 22:02:36 +00:00
#!/usr/bin/env sh
domain="registry.serguzim.me"
_install() {
install --owner=root --group=root --mode=600 \
"$CERTIFICATES_PATH/$domain.$1" \
"/opt/services/harbor/server.$1"
}
_install crt
_install key
export HARBOR_BUNDLE_DIR=/opt/services/harbor
$HARBOR_BUNDLE_DIR/harbor/install.sh
# vim: ft=sh