Add GoldPi Email-Forwarder test container deploy
This commit is contained in:
parent
91e52aecd0
commit
8a6160817b
8 changed files with 143 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
set -a
|
||||
source ./config.env
|
||||
set +a
|
||||
|
||||
BUNDLE="${1:-}"
|
||||
if [ -z "$BUNDLE" ] || [ ! -f "$BUNDLE" ]; then
|
||||
echo "Usage: $0 <export.tar.gz>" >&2
|
||||
exit 2
|
||||
fi
|
||||
|
||||
tar -xzf "$BUNDLE" -C "$APP_DIR"
|
||||
echo "Imported $BUNDLE into $APP_DIR"
|
||||
Loading…
Add table
Add a link
Reference in a new issue