Update CLUSTER_LIST to use localhost

This commit is contained in:
Calabro, Brandon
2025-07-21 12:39:53 -05:00
parent 76ce0da4d6
commit fbc0242e1e

View File

@@ -57,5 +57,11 @@ EOF
cd /swg-main
ant update_configs
# Update the cluster_list to use the local host IP address for connections.
/usr/lib/oracle/18.3/client/bin/sqlplus -S ${DB_USER}/${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/FREEPDB1 <<EOT
UPDATE CLUSTER_LIST SET ADDRESS = '127.0.0.1';
COMMIT;
EOT
# This command executes the original CMD from the Dockerfile
exec "$@"