Skip to content

Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.

TypeScript

fix(install): host env variable

Jake Turner29859290792c
diff --git a/install/install_nomad.sh b/install/install_nomad.sh
index afec69c1..3112f612 100644
--- a/install/install_nomad.sh
+++ b/install/install_nomad.sh
@@ -252,7 +252,6 @@ download_management_compose_file() {
# Inject dynamic env values into the compose file
echo -e "${YELLOW}#${RESET} Configuring docker-compose file env variables...\\n"
- sed -i "s|HOST=replaceme|HOST=${local_ip_address}|g" "$compose_file_path"
sed -i "s|URL=replaceme|URL=http://${local_ip_address}:8080|g" "$compose_file_path"
sed -i "s|APP_KEY=replaceme|APP_KEY=${app_key}|g" "$compose_file_path"
diff --git a/install/management_compose.yaml b/install/management_compose.yaml
index 8bb07119..634c5b60 100644
--- a/install/management_compose.yaml
+++ b/install/management_compose.yaml
@@ -17,7 +17,7 @@ services:
- LOG_LEVEL=debug
- DRIVE_DISK=fs
- APP_KEY=replaceme
- - HOST=replaceme
+ - HOST=0.0.0.0
- URL=replaceme
- DB_HOST=mysql
- DB_PORT=3306