diff --git a/.gitignore b/.gitignore index 1ada474..608e0c5 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,6 @@ original-kver.db __pycache__/ static/media/ prod_backup/ +backups/ frontend/node_modules/ /web/ diff --git a/dev-up.sh b/dev-up.sh index 0472a09..64499c5 100755 --- a/dev-up.sh +++ b/dev-up.sh @@ -51,7 +51,10 @@ if [[ -d "$DATA/media" ]]; then fi podman rm -f "$NAME" >/dev/null 2>&1 9>&- || true +# pasta leitet host.containers.internal (169.254.1.2) sonst nicht auf das +# Host-Loopback, ein nur auf 127.0.0.1 lauschendes Postgres wäre unerreichbar. podman run -d --name "$NAME" -p "127.0.0.1:$PORT:8080" \ + --network 'pasta:--map-host-loopback,169.254.1.2' \ -e KVER_DSN="$DSN" \ "${mounts[@]}" \ --security-opt label=disable "$IMAGE" >/dev/null 9>&-