Coder Social home page Coder Social logo

Comments (6)

peter-dough avatar peter-dough commented on June 12, 2024

@goenning Would you be able to assist with getting some 👀 on this?

from fider.

peter-dough avatar peter-dough commented on June 12, 2024

I was able to resolve the issue. Looks like the documentation related to docker needs to have default base url updated to http://localhost instead of https://feedback.yoursite.com.

In summary, the assets are unable to load since the local env is unable to reach https://feedback.yoursite.com hence net::ERR_CONNECTION_REFUSED. The only way a custom base_url works is if fider is actually being hosted where the corresponding dns records are configured/active.

from fider.

askchrisn avatar askchrisn commented on June 12, 2024

@peter-dough I have had the same issue. Running no SSL and changed the default config to http://localhost and I am still having the same issue

Any thoughts?

from fider.

peter-dough avatar peter-dough commented on June 12, 2024

@askchrisn Here is the docker-compose file I'm using which should work. Once its up and running, you can access fider at http://localhost.

version: '2'
services:
  db:
    restart: always
    image: postgres:12
    volumes:
      - /var/fider/pg_data:/var/lib/postgresql/data
    environment:
      POSTGRES_USER: fider
      POSTGRES_PASSWORD: s0m3g00dp4ssw0rd
  app:
    restart: always
    image: getfider/fider:stable
    ports:
      - "80:3000"
    environment:
      # Public Host Name
      BASE_URL: http://localhost
      #HOST_DOMAIN: http://localhost

      #HOST_DOMAIN: https://feedback.yoursite.com
      # Connection string to the PostgreSQL database
      DATABASE_URL: postgres://fider:s0m3g00dp4ssw0rd@db:5432/fider?sslmode=disable

      # Generate a 512-bit secret here https://www.allkeysgenerator.com/Random/Security-Encryption-Key-Generator.aspx
      JWT_SECRET: VERY_STRONG_SECRET_SHOULD_BE_USED_HERE

      # From which account e-mails will be sent
      EMAIL_NOREPLY: [email protected]

      ###
      # EMAIL
      # Either EMAIL_MAILGUN_* or EMAIL_SMTP_* or EMAIL_AWSSES_* is required
      ###

      # EMAIL_MAILGUN_API: key-yourkeygoeshere
      # EMAIL_MAILGUN_DOMAIN: yourdomain.com
      # EMAIL_MAILGUN_REGION: US

      EMAIL_SMTP_HOST: smtp.gmail.com
      EMAIL_SMTP_PORT: 465
      EMAIL_SMTP_USERNAME: [email protected]
      EMAIL_SMTP_PASSWORD: fiderfeedback
      EMAIL_SMTP_ENABLE_STARTTLS: 'false'

      # EMAIL_AWSSES_REGION: us-east-1
      # EMAIL_AWSSES_ACCESS_KEY_ID: youraccesskeygoeshere
      # EMAIL_AWSSES_SECRET_ACCESS_KEY: yoursecretkeygoeshere

from fider.

askchrisn avatar askchrisn commented on June 12, 2024

@peter-dough Thanks! I changed the external port from 80 to 81... Maybe thats why?

from fider.

peter-dough avatar peter-dough commented on June 12, 2024

No problem! Yeah, if the port has changed then you'll need to declare it your browser as well

from fider.

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.