We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a94637b commit c5dc16bCopy full SHA for c5dc16b
install/endurain-install.sh
@@ -24,7 +24,7 @@ PYTHON_VERSION="3.13" setup_uv
24
NODE_VERSION="24" setup_nodejs
25
PG_VERSION="17" PG_MODULES="postgis" setup_postgresql
26
PG_DB_NAME="enduraindb" PG_DB_USER="endurain" setup_postgresql_db
27
-
+import_local_ip
28
fetch_and_deploy_gh_release "endurain" "joaovitoriasilva/endurain" "tarball" "latest" "/opt/endurain"
29
30
msg_info "Setting up Endurain"
@@ -36,8 +36,7 @@ rm -rf \
36
mkdir -p /opt/endurain_data/{data,logs}
37
SECRET_KEY=$(openssl rand -hex 32)
38
FERNET_KEY=$(openssl rand -base64 32)
39
-IP=$(hostname -I | awk '{print $1}')
40
-ENDURAIN_HOST=http://${IP}:8080
+ENDURAIN_HOST=http://${LOCAL_IP}:8080
41
cat <<EOF >/opt/endurain/.env
42
DB_PASSWORD=${PG_DB_PASS}
43
0 commit comments