pending updates

This commit is contained in:
philippe lhardy
2025-07-29 09:55:18 +02:00
parent 0760d99a30
commit 52703c2313
3 changed files with 30 additions and 10 deletions

View File

@@ -14,10 +14,11 @@ container_name=$nextcloud_image
rel_bind_folder=bind_folder
bind_folder=$(pwd)/$rel_bind_folder
declare -a podman_args
#lazzy detection base on first local ip
listen_host=$(ip a | grep 192.168.1 |awk '{ gsub("/24","",$2); print $2 ; }')
listen_host=192.168.1.20
podman_args+=(-p $listen_host:8080:80 --name=$container_name)
declare -a podman_args
podman_args+=(-p $listen_host:8080:80 --name=$container_name --replace)
# container 33 www-data => current user.
current_uid=$(id -u)