Improve certificates

Add msrg.cc domain for xmpp on wiuwiu.de
Add sourcing of service.env
This commit is contained in:
Tobias Reisinger 2024-01-29 00:21:27 +01:00
parent 22af530918
commit 8dfe2dc887
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 35 additions and 9 deletions

View file

@ -2,11 +2,9 @@
domain="registry.serguzim.me"
docker compose run --rm app "$1" "$domain"
_install() {
install --owner=root --group=root --mode=600 \
"/opt/services/_certificates/$domain.$1" \
"$CERTIFICATES_PATH/$domain.$1" \
"/opt/services/harbor/server.$1"
}
@ -14,4 +12,6 @@ _install crt
_install key
export HARBOR_BUNDLE_DIR=/opt/services/harbor
$HARBOR_BUNDLE_DIR/data/install.sh
$HARBOR_BUNDLE_DIR/harbor/install.sh
# vim: ft=sh