17 lines
349 B
Text
Executable file
17 lines
349 B
Text
Executable file
#!/usr/bin/env sh
|
|
|
|
domain="registry.serguzim.me"
|
|
|
|
docker compose run --rm app "$1" "$domain"
|
|
|
|
_install() {
|
|
install --owner=root --group=root --mode=600 \
|
|
"/opt/services/_certificates/$domain.$1" \
|
|
"/opt/services/harbor/server.$1"
|
|
}
|
|
|
|
_install crt
|
|
_install key
|
|
|
|
export HARBOR_BUNDLE_DIR=/opt/services/harbor
|
|
$HARBOR_BUNDLE_DIR/data/install.sh
|