Skip to content

Conversation

@jayanth-kumar-morem
Copy link
Collaborator

@jayanth-kumar-morem jayanth-kumar-morem commented Jun 19, 2023

  1. Added pgwatch2 service to the Docker Compose file.
  2. Configured pgwatch2 to use the cybertec/pgwatch2-postgres:latest image.
  3. Exposed port 3000 for the pgwatch2 service.
  4. Set up PW2_ADHOC_CONN_STR environment variable for pgwatch2 to connect to the timescaledb service.
  5. Configured pgwatch2 to restart automatically in case of failure.
  6. Added timescaledb as a dependency for pgwatch2 to ensure timescaledb starts before pgwatch2.

Fixes: #52

CC: @singhalkarun

1. Added pgwatch2 service to the Docker Compose file.
2. Configured pgwatch2 to use the cybertec/pgwatch2-postgres:latest image.
3. Exposed port 3000 for the pgwatch2 service.
4. Set up PW2_ADHOC_CONN_STR environment variable for pgwatch2 to connect to the timescaledb service.
5. Configured pgwatch2 to restart automatically in case of failure.
6. Added timescaledb as a dependency for pgwatch2 to ensure timescaledb starts before pgwatch2.

Fixes: Samagra-Development#52
@singhalkarun
Copy link
Collaborator

singhalkarun commented Jun 19, 2023

Hey @jayanth-kumar-morem this looks good. Let's move the POSTGRES_USER and POSTGRES_PASSWORD to environment (let's also add a sample.env for the same)

@jayanth-kumar-morem
Copy link
Collaborator Author

Yes @singhalkarun , I beleive we should clean this. I'll create an another ticket to clean this as its unrelated cleanup to the current one.

@singhalkarun
Copy link
Collaborator

Yes @singhalkarun , I beleive we should clean this. I'll create an another ticket to clean this as its unrelated cleanup to the current one.

Sure, merging this one.

@singhalkarun singhalkarun merged commit 3896b3f into Samagra-Development:main Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Postgres Cluster Monitoring

2 participants