Skip to content

Conversation

@sei-tspencer
Copy link
Contributor

named the dev container "crucible-dev"
added additional launches
fixed scopes that were not correct
replaced aschlack user with ogadmin user using the original admin user guid from the crucible beginnings
added steps to dump and restore the app databases to the README

@sei-tspencer sei-tspencer requested a review from a team as a code owner October 24, 2025 17:36
README.md Outdated
exit

## backup/dump a database
docker exec -it postgres-03939690 /bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be crucible-postgres now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep

.WithEnvironment("KC_DB", "postgres")
.WithEnvironment("KC_DB_URL_HOST", "postgres")
.WithEnvironment("KC_DB_USERNAME", "postgres")
.WithEnvironment("KC_DB_PASSWORD", postgresPassword)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of adding a parameter for the postgres password, we can access the generated one like this (and the host and username while we're at it)

.WithEnvironment("KC_DB_URL_HOST", postgres.Resource.PrimaryEndpoint.Property(EndpointProperty.Host))
.WithEnvironment("KC_DB_USERNAME", postgres.Resource.UserNameReference)
.WithEnvironment("KC_DB_PASSWORD", postgres.Resource.PasswordParameter)

what do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll give it a try.

README.md Outdated
docker exec -it postgres-03939690 /bin/bash
pg_dump -U postgres blueprint > /tmp/blueprint.dump
exit
docker cp postgres-03939690:/tmp/blueprint.dump blueprint.dump
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crucible-postgres here too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep

@sei-aschlackman sei-aschlackman merged commit efcbc65 into main Oct 28, 2025
1 check passed
@sei-aschlackman sei-aschlackman deleted the chore/add-launches branch October 28, 2025 15:44
@sei-aschlackman sei-aschlackman restored the chore/add-launches branch October 28, 2025 17:10
@sei-aschlackman sei-aschlackman deleted the chore/add-launches branch October 28, 2025 20:03
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.

3 participants