changement du listen temporaire
non documente /a faire : necessite de changer le config.php pour trusted
This commit is contained in:
@@ -11,8 +11,50 @@ setup databse :
|
||||
# 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
|
||||
|
||||
creer l'administrateur
|
||||
|
||||
puis
|
||||
|
||||
./sync_poll.sh
|
||||
|
||||
il reste encore a compiler avec les dependances composer et le build npm vuejs
|
||||
|
||||
```
|
||||
./enter_www_data.sh
|
||||
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash \
|
||||
&& export NVM_DIR="$HOME/.nvm" \
|
||||
&& . "$NVM_DIR/nvm.sh" \
|
||||
&& nvm install 20 \
|
||||
&& nvm alias default 20
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
```
|
||||
|
||||
```
|
||||
cd custom_apps/polls/
|
||||
|
||||
make
|
||||
|
||||
ln -s composer.phar build/tools/composer
|
||||
export PATH=$PATH:$(pwd)/build/tools
|
||||
|
||||
make
|
||||
```
|
||||
|
||||
et a activer l'application polls
|
||||
|
||||
# A Faire
|
||||
|
||||
utiliser la base de donnee postgres et non le SQLLite ?
|
||||
@@ -16,7 +16,8 @@ bind_folder=$(pwd)/$rel_bind_folder
|
||||
|
||||
declare -a podman_args
|
||||
|
||||
podman_args+=(-p 127.0.0.1:8080:80 --name=$container_name)
|
||||
listen_host=192.168.1.20
|
||||
podman_args+=(-p $listen_host:8080:80 --name=$container_name)
|
||||
|
||||
# container 33 www-data => current user.
|
||||
current_uid=$(id -u)
|
||||
|
||||
Reference in New Issue
Block a user