Replace exp-dash hostname with 192.168.1.156 in docker-compose

This commit is contained in:
UGA Innovation Factory
2025-12-18 19:51:04 -05:00
parent a65db0d2b4
commit a1c53fd0e1

View File

@@ -65,7 +65,7 @@ let
ls -la $src/ || true
# Process docker-compose.yml first and create it in a temp location
# Replace .env paths AND volume mount paths to use writable directory
# Replace .env paths, volume mount paths, and hostnames
if [ -f $src/docker-compose.yml ]; then
${pkgs.gnused}/bin/sed \
-e 's|env_file:.*management-dashboard-web-app/\.env|env_file: /var/lib/usda-vision/.env|g' \
@@ -76,6 +76,7 @@ let
-e 's|\./scheduling-remote|/var/lib/usda-vision/scheduling-remote|g' \
-e 's|\./vision-system-remote|/var/lib/usda-vision/vision-system-remote|g' \
-e 's|\./camera-management-api|/var/lib/usda-vision/camera-management-api|g' \
-e 's|exp-dash|192.168.1.156|g' \
$src/docker-compose.yml > $TMPDIR/docker-compose.yml
fi