pending updates
This commit is contained in:
@@ -4,20 +4,20 @@ Create a dev env for nextcloud
|
||||
|
||||
setup databse :
|
||||
|
||||
```
|
||||
./setupdatabase.sh
|
||||
|
||||
./setuppodman
|
||||
```
|
||||
|
||||
# on ubuntu VOLUME creation failed ( podman 4.9.3 )
|
||||
# comment out VOLUME var/www/html in 31/apache/Dockerfile
|
||||
On ubuntu VOLUME creation failed ( podman 4.9.3 )
|
||||
Comment out VOLUME var/www/html in 31/apache/Dockerfile
|
||||
|
||||
```
|
||||
podman tag $image_id nextcloud_local
|
||||
|
||||
./clonegit.sh
|
||||
|
||||
./runpodman.sh
|
||||
|
||||
./doit.sh
|
||||
```
|
||||
|
||||
se connecter sur http://127.0.0.1:8080
|
||||
|
||||
@@ -25,7 +25,9 @@ creer l'administrateur
|
||||
|
||||
puis
|
||||
|
||||
```
|
||||
./sync_poll.sh
|
||||
```
|
||||
|
||||
il reste encore a compiler avec les dependances composer et le build npm vuejs
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user