Note: It is recommended to run the console in the same network as your database servers to enable monitoring of the cluster status. In this case, replace localhost with your server's IP address in the PG_CONSOLE_API_URL variable.
2. Open the Console UI
Open the console UI at the following address: http://localhost \
If you have set up the console on a different server, replace 'localhost' with the server's address.
Use secret_token for authorization, or use the value of your token if you have redefined it in the PG_CONSOLE_AUTHORIZATION_TOKEN variable.
Issue: https://github.com/vitabaks/postgresql_cluster/issues/589 Related PR: https://github.com/vitabaks/postgresql_cluster/pull/464
Created with the support of @gslabs-dev
How to run for test
1. Run the Console container
To run the PostgreSQL Cluster Console, execute the following command:
Note: It is recommended to run the console in the same network as your database servers to enable monitoring of the cluster status. In this case, replace
localhost
with your server's IP address in the PG_CONSOLE_API_URL variable.2. Open the Console UI
Open the console UI at the following address:
http://localhost
\ If you have set up the console on a different server, replace 'localhost' with the server's address.Use
secret_token
for authorization, or use the value of your token if you have redefined it in the PG_CONSOLE_AUTHORIZATION_TOKEN variable.