skripte updateovane

This commit is contained in:
2026-05-17 20:43:31 +02:00
parent 5f6251114f
commit ee95be1031
4 changed files with 8 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
$CONTAINER = "ewc2025-mysql" $CONTAINER = "hotel-mysql"
$IMAGE = "mysql:8.4" $IMAGE = "mysql:8.4"
$ROOT_PASSWORD = "ewc2025root" $ROOT_PASSWORD = "hotel2025root"
$DATABASE = "ewc2025" $DATABASE = "hotel_reservations"
$PORT = "13306" $PORT = "13306"
$SQL_DIR = Resolve-Path "$PSScriptRoot\..\sql" $SQL_DIR = Resolve-Path "$PSScriptRoot\..\sql"

View File

@@ -1,10 +1,10 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail set -euo pipefail
CONTAINER="ewc2025-mysql" CONTAINER="hotel-mysql"
IMAGE="mysql:8.4" IMAGE="mysql:8.4"
ROOT_PASSWORD="ewc2025root" ROOT_PASSWORD="hotel2025root"
DATABASE="ewc2025" DATABASE="hotel_reservations"
PORT="13306" PORT="13306"
RUNTIME="docker" RUNTIME="docker"

View File

@@ -1,6 +1,6 @@
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
$CONTAINER = "ewc2025-mysql" $CONTAINER = "hotel-mysql"
$exists = docker ps -a --format '{{.Names}}' | Where-Object { $_ -eq $CONTAINER } $exists = docker ps -a --format '{{.Names}}' | Where-Object { $_ -eq $CONTAINER }

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail set -euo pipefail
CONTAINER="ewc2025-mysql" CONTAINER="hotel-mysql"
RUNTIME="docker" RUNTIME="docker"
if [[ "${1:-}" == "--podman" ]]; then if [[ "${1:-}" == "--podman" ]]; then