mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-04-25 05:35:57 +03:00
[GH-ISSUE #92] Using compose from readme - issue connecting to PG #73
Labels
No labels
bug
confirmed next step
duplicate
enhancement
help wanted
in progress
in progress
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pgbackweb#73
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stanthewizzard on GitHub (Feb 7, 2025).
Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/92
Hello
Here is my compose:
task: [migrate-serve] task goose -- up
2025/02/07 15:31:22 goose run: failed to connect to
user=postgres database=pgbackweb: 172.20.0.2:5432 (postgres): failed SASL auth: FATAL: password authentication failed for user "postgres" (SQLSTATE 28P01)task: Failed to run task "goose": exit status 1
task: Failed to run task "migrate-serve": exit status 201
Thanks for help
@stanthewizzard commented on GitHub (Feb 7, 2025):
Answering myself
create reset_password.sql via
nano reset_password.sql
with
ALTER USER postgres WITH PASSWORD 'xxxxxxxxxxxxxxxxxxxxx';then
cat reset_password.sql | docker exec -i pgbackweb_DB psql -U postgresdocker compose downsudo docker compose up -d