mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #866] Unable to use postwoman with latest docker image from docker hub #295
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#295
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 @axeII on GitHub (May 12, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/866
Describe the bug
Unable to use postwoman with latest docker image from hub. Latest version after visiting site - keeps loading forever. Please see error log.
To Reproduce
Steps to reproduce the behavior:
docker pull liyasthomas/postwoman:latestdocker run -d --rm -p 4000:3000 liyasthomas/postwoman:latestExpected behaviour
Webpages would load normally with UI
Desktop (please complete the following information):
@liyasthomas commented on GitHub (May 12, 2020):
Hi @axeII , thanks for reporting the issue. From #856 onwards, you'll need an
.envfile inrootdirectory to get the Firebase functionalities working. An example.env.examplefile can be found in repo's root. Edit those env variable with your own keys and rename it to.envand restart the server.This also allows users to create a more independent instance of Postwoman in their containers apart from the public version. The public (production deployment: https://postwoman.io) is kept intact with the previous Firebase account. To use the previous build, kindly visit the web app.
Let me know if you've any queries. Kindly close this issue if you were able to resolve the current behaviour with the mentioned fix.
@tfenster commented on GitHub (May 12, 2020):
@liyasthomas you write
Are the "Firebase functionalities" optional or mandatory? If they are optional, how can I turn them off and what would I miss?
@liyasthomas commented on GitHub (May 12, 2020):
Firebase functionalities are completely optional. These includes sign-in with Google and GitHub, syncing History, Collections, Environments and Notes.
When not using these functionalities, all are synced in
localstorage. Once the user sign-in, everything is synced again.@nikoheikkila commented on GitHub (May 12, 2020):
Just stumbled into this myself, thanks for pinning it. 😉
I find the
.envrequirement a bit problematic since often we want to pass environment variables when starting the container with-eflag fordocker run(or define those in thedocker-compose.ymlfile). Containerized applications should not require a particular file to be present on disk for environment variables.@tfenster commented on GitHub (May 12, 2020):
@liyasthomas thanks for the feedback. As I can't start the Docker container while they are enabled, how can I switch them off?
@liyasthomas commented on GitHub (May 12, 2020):
I think
dotenvintegration is making a lowered traffic. I'm temporarily reverting 😄I need to find some best practices integrating
dotenv. sorry for the delay, new build will be up in a jiffy.@screencomuser commented on GitHub (May 12, 2020):
Hi,
I just stumbled on the same and I'm wondering how to disable the use of Firebase. Since it's optional, how do I disable it?
I tried en empty .env file, but the problem persists. If it's optional, shouldn't it Just Work(™) without one?
It would be helpful to adjust the docs on this :-)
@liyasthomas commented on GitHub (May 12, 2020):
Okay guys. I've made a hotfix to solve evn issues. Please let me know pulling raw container works.
Now let's get back to decoupling Firebase functionalities.
Essential features are solely working with with the auth + sync features. Without Firebase, I afraid this isn't possible. Anyways I'm working on finding a way to turn off Firebase facilities.
env is kept and is optional. If you or your team wants to host a seperate custom version, update env with you keys. By default PW uses production envs.
@tfenster commented on GitHub (May 12, 2020):
yes, works again for me