Giter VIP home page Giter VIP logo

Comments (11)

markdesouza avatar markdesouza commented on July 18, 2024 2

ok so:

  1. setting that to http://in.localhost
  2. saving the settings
  3. restarting the container
  4. refreshing the browser

fixed the issue

note: didn't work after simply saving the settings

from dockerfiles.

iamahoooman avatar iamahoooman commented on July 18, 2024

Yep me too, exact same problem

from dockerfiles.

markdesouza avatar markdesouza commented on July 18, 2024

Yep me too, exact same problem

Glad I'm no the only one. Might have to do with the recent pdf generation refactoring they did recently

from dockerfiles.

turbo124 avatar turbo124 commented on July 18, 2024

I've just spun up the latest dockerfile 5.7.11 and am not seeing this issue.

could you try one thing, in the env file add

IS_DOCKER=true

from dockerfiles.

markdesouza avatar markdesouza commented on July 18, 2024

Hi David,
As per the inital report, "IS_DOCKER=true" is already set...

Cheers,
Mark

from dockerfiles.

turbo124 avatar turbo124 commented on July 18, 2024

are you using some other reverse proxy here? or is this a plain vanilla docker-compose file from our repo?

from dockerfiles.

markdesouza avatar markdesouza commented on July 18, 2024

I'm simply using the docker-compose file from our repo and updated the env file.. diff of the env file below:

-APP_URL=http://in.localhost:8003
-APP_KEY=<insert your generated key in here>
-APP_DEBUG=true
+APP_URL=http://in.localhost
+APP_KEY=<REDACTED>
+APP_DEBUG=false
 REQUIRE_HTTPS=false
 PHANTOMJS_PDF_GENERATION=false
 PDF_GENERATOR=snappdf
 TRUSTED_PROXIES='*'
-
-
+LOCAL_DOWNLOAD=false
+IS_DOCKER=true
 QUEUE_CONNECTION=database

One thing I forgot to mention is that I'm running docker on a MacBook. I think docker on macos it creates a VM, so that might explain why the port is not exposed on localhost?

from dockerfiles.

turbo124 avatar turbo124 commented on July 18, 2024

can you set local_download to true also please.

as long as you have the domain in.localhost set in your /etc/hosts file it should resolve as expected.

from dockerfiles.

markdesouza avatar markdesouza commented on July 18, 2024

Nope still sent to the wrong url "http://localhost:8003/client/invoice/"

It appears like the download invoice button is ignoring the APP_URL environment var

from dockerfiles.

turbo124 avatar turbo124 commented on July 18, 2024

@markdesouza

In Settings > Client Portal

What is the URL defined for your client portal?

from dockerfiles.

markdesouza avatar markdesouza commented on July 18, 2024

http://localhost:8003

from dockerfiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.