mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #3414] [bug]: Can not start docker Install and build #1146
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1146
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 @MinhFrostNhat on GitHub (Oct 4, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3414
Is there an existing issue for this?
Current behavior
I have new docker image and I try to run following the document and I found this
Backend Server | Backend Server | PrismaClientInitializationError: Can't reach database server athoppscotch-db:5432Backend Server | Backend Server | Please make sure your database server is running athoppscotch-db:5432.`https://docs.hoppscotch.io/documentation/self-host/community-edition/install-and-build the default Postgres still use in new docker image? Please help me thank you!
Steps to reproduce
https://docs.hoppscotch.io/documentation/self-host/community-edition/install-and-build
https://hub.docker.com/r/hoppscotch/hoppscotch
Environment
Deploy preview
Version
Self-hosted
@annleefores commented on GitHub (Oct 5, 2023):
If you are running the containers on their own, without docker compose, you will need to have an external postgres db as described here
I believe this line in the documentation is intended for docker compose rather than docker container.
@juanitolaguna commented on GitHub (Oct 12, 2023):
@annleefores But what are the correct db credentials for the AIO version then?
@annleefores commented on GitHub (Oct 13, 2023):
@juanitolaguna as far as I know, you need to set up your own PostgreSQL database and use its credentials. There might be some confusion regarding this in the documentation. I have raised an issue to get a clear idea https://github.com/hoppscotch/docs/issues/149#issue-1941481535
@juanitolaguna commented on GitHub (Oct 13, 2023):
@annleefores Yes I thought the db is within the container. Then I realised that i have to add the db container.
So this approach has worked for me.
@mirarifhasan commented on GitHub (May 1, 2024):
@MinhFrostNhat Are you still facing any complications?
@mirarifhasan commented on GitHub (May 7, 2024):
As there haven't been any updates in the past week, I'm assuming this issue is no longer relevant. I'm closing it now. If the issue becomes relevant again, feel free to reopen it.