solved HTTP->HTTPS issue

This commit is contained in:
Leon van Kammen 2025-08-01 11:41:59 +02:00
parent 589b8d83bd
commit 23c77dd67a
2 changed files with 9 additions and 6 deletions

View file

@ -18,6 +18,10 @@ run(){
test -x ${oci} || { echo "warning: not running manyfold OCI container [install podman/docker/etc]"; exit; } test -x ${oci} || { echo "warning: not running manyfold OCI container [install podman/docker/etc]"; exit; }
echocolor "[$APPNAME]" "$(basename ${oci}) detected..starting OCI container" echocolor "[$APPNAME]" "$(basename ${oci}) detected..starting OCI container"
${oci} rm -f xrforge ${oci} rm -f xrforge
#-e NO_OVERLAYFS=true \
#-e NO_DEFAULTDB=true \
#-e PUBLIC_HOSTNAME=localhost \
#-e PUBLIC_PORT=80 \
debug ${oci} run "$@" -p 8790:3214 --name xrforge \ debug ${oci} run "$@" -p 8790:3214 --name xrforge \
-e SECRET_KEY_BASE=lkjwljlkwejrlkjek34k234l \ -e SECRET_KEY_BASE=lkjwljlkwejrlkjek34k234l \
-e DATABASE_ADAPTER=sqlite3 \ -e DATABASE_ADAPTER=sqlite3 \
@ -25,13 +29,9 @@ run(){
-e MULTIUSER=enabled \ -e MULTIUSER=enabled \
-e FEDERATION=enabled \ -e FEDERATION=enabled \
-e THEME=vapor \ -e THEME=vapor \
-e NO_OVERLAYFS=true \
-e NO_DEFAULTDB=true \
-e PUBLIC_HOSTNAME=localhost \
-e PUBLIC_PORT=80 \
--cap-add SYS_ADMIN --security-opt apparmor:unconfined --device /dev/fuse \ --cap-add SYS_ADMIN --security-opt apparmor:unconfined --device /dev/fuse \
ghcr.io/manyfold3d/manyfold-solo:latest xrforge
#xrforge #ghcr.io/manyfold3d/manyfold-solo:latest
} }
overlayfs(){ overlayfs(){

View file

@ -52,6 +52,9 @@
echo " $ docker load < \$(nix-build nix/docker.nix)" echo " $ docker load < \$(nix-build nix/docker.nix)"
echo " $ docker run xrforge" echo " $ docker run xrforge"
echo "" echo ""
echo " $ # copy image to other server
echo " $ docker save xrforge | bzip2 | ssh user@host docker load"
echo ""
''; '';
}; };