22 lines
593 B
Bash
Executable file
22 lines
593 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
cd "$SCRIPT_DIR"
|
|
|
|
MARKETPLACE="${MARKETPLACE:-de}"
|
|
LOGIN_WAIT_SECONDS="${LOGIN_WAIT_SECONDS:-300}"
|
|
NOVNC_PORT="${NOVNC_PORT:-6080}"
|
|
DOWNLOAD_DIR="${DOWNLOAD_DIR:-/downloads}"
|
|
|
|
mkdir -p state downloads
|
|
|
|
export MARKETPLACE
|
|
export LOGIN_WAIT_SECONDS
|
|
export NOVNC_PORT
|
|
export DOWNLOAD_DIR
|
|
|
|
echo "Starte noVNC-Configure auf Port ${NOVNC_PORT} ..."
|
|
echo "Oeffne im Browser: http://<SERVER-IP>:${NOVNC_PORT}/vnc.html"
|
|
|
|
docker compose --profile configure-novnc up --build amazon-invoice-configure-novnc
|