mirror of
https://gitlab.bmcstudios.org/public_projects/swg-server-docker.git
synced 2026-01-16 17:04:26 -05:00
Update CLUSTER_LIST to use localhost
This commit is contained in:
@@ -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 "$@"
|
||||
|
||||
Reference in New Issue
Block a user