Giter VIP home page Giter VIP logo

Comments (15)

johnbumgardner avatar johnbumgardner commented on July 4, 2024 1

With this demo image, we could set up a demo heroku instance to let people test the app before they clone the repo

from fat_free_crm.

lauriejefferson avatar lauriejefferson commented on July 4, 2024

Is this issue still open? I would like to work on it.

from fat_free_crm.

steveyken avatar steveyken commented on July 4, 2024

from fat_free_crm.

lauriejefferson avatar lauriejefferson commented on July 4, 2024

I forked the repo. Can this issue be assigned to me under 'Assignees'? Thanks.

from fat_free_crm.

johnbumgardner avatar johnbumgardner commented on July 4, 2024

I forked the repo. Can this issue be assigned to me under 'Assignees'? Thanks.

done

from fat_free_crm.

lauriejefferson avatar lauriejefferson commented on July 4, 2024

Your Docker Compose file is pulling an image of postgres:9.5, which according to endoflife.date is deprecated. The official Postgres images on Docker Hub start with version 12.15-bullseye. Is your docker-compose.yml file out of date?

from fat_free_crm.

johnbumgardner avatar johnbumgardner commented on July 4, 2024

Your Docker Compose file is pulling an image of postgres:9.5, which according to endoflife.date is deprecated. The official Postgres images on Docker Hub start with version 12.15-bullseye. Is your docker-compose.yml file out of date?

it is; go ahead and bump this version

from fat_free_crm.

lauriejefferson avatar lauriejefferson commented on July 4, 2024

Ruby is also out of date. The Dockerfile is using ruby:2.7, which is deprecated according to endoflife.date. The official Ruby image on Docker Hub starts at 3.0-alpine, docker-hub-ruby. Is the Dockerfile up to date?

from fat_free_crm.

johnbumgardner avatar johnbumgardner commented on July 4, 2024

upgrading to Ruby 3.0 is kind of a bigger job. thats on my todo list after finishing the rails 7 migration. for now 2.7 should be fine

from fat_free_crm.

lauriejefferson avatar lauriejefferson commented on July 4, 2024

I'm having a similar issue as #961 when I run docker-compose. I created the two volumes pgdata and gems and run docker-compose up. Docker can create the /home/app directory, but it hangs on the RUN step and takes a really long time to run the apt-get commands (250s): Here's the error output. Rails doesn't appear to be able to connect to Postgres, from the error on lines 422-425.

from fat_free_crm.

steveyken avatar steveyken commented on July 4, 2024

from fat_free_crm.

steveyken avatar steveyken commented on July 4, 2024

Ref PR #1121

from fat_free_crm.

lauriejefferson avatar lauriejefferson commented on July 4, 2024

Steve, I tried setting the env variables to the values in docker-compose, which gave me a new error "could not translate host name "db" to address: Name or service not known". I then tried setting the host: host.docker.internal in the database.postgres.docker.yml file, and got the original "could not establish a connection" error message. I'll continue once PR #1121 is completed.

from fat_free_crm.

johnbumgardner avatar johnbumgardner commented on July 4, 2024

Steve, I tried setting the env variables to the values in docker-compose, which gave me a new error "could not translate host name "db" to address: Name or service not known". I then tried setting the host: host.docker.internal in the database.postgres.docker.yml file, and got the original "could not establish a connection" error message. I'll continue once PR #1121 is completed.

the issue youre experiencing is probably unrelated to the PR Steve is fixing. try deploying the postgres container using docker compose, then creating a side container and seeing if you can use the CLI to resolve the hostname of the pg container. may require tinkering with the docker compose yml

from fat_free_crm.

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.